Home
last modified time | relevance | path

Searched full:ttl (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/freebsd/contrib/netbsd-tests/ipf/input/
H A Df132 # 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF,FO=0 SYN
7 # 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP MF ACK
12 # 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP FO=2 ACK
17 # 1.1.1.1,1024 -> 2.1.1.1,25 TTL=63 TCP DF MF FO=0 SYN
22 # 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF FO=0
27 # 1.1.1.1 -> 2.1.1.1 TTL=63 TCP DF FO=1 SYN
32 # 1.1.1.1 -> 2.1.1.1 TTL=63 UDP DF MF FO=0
36 # 1.1.1.1,53 -> 2.1.1.1,53 TTL=63 UDP MF FO=0
41 # 1.1.1.1,53 -> 2.1.1.1,53 TTL=63 UDP MF FO=0
46 # 1.1.1.1,53 -> 2.1.1.1,54 TTL=63 UDP MF FO=0 (short)
[all …]
H A Df121 # 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF SYN
6 # 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF ACK
11 # 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF MF FO=0 ACK
16 # 1.1.1.1,1025 -> 2.1.1.1,25 TTL=63 TCP DF FO=0
21 # 1.1.1.1 -> 2.1.1.1 TTL=63 TCP DF FO=1 ACK
26 # 1.1.1.1 -> 2.1.1.1 TTL=63 UDP DF MF FO=0
30 # 1.1.1.1,53 -> 2.1.1.1,53 TTL=63 UDP MF FO=0
35 # 1.1.1.1,1 -> 2.1.1.1,1 TTL=63 UDP MF FO=0
40 # 1.1.1.1,53 -> 2.1.1.1,53 TTL=63 UDP MF FO=0
/freebsd/contrib/netbsd-tests/ipf/expected/
H A Di185 block in ttl 0 from any to any
6 block in ttl 1 from any to any
7 block in ttl 2 from any to any
8 block in ttl 3 from any to any
9 block in ttl 4 from any to any
10 block in ttl 5 from any to any
11 block in ttl 6 from any to any
/freebsd/tools/tools/net80211/wesside/dics/
H A Ddics.c104 int check_signal(int s, char* ip, unsigned char* ttl, unsigned short* port) { in check_signal() argument
112 unsigned char ttl; in check_signal() member
144 printf("Didn't get ttl! len=%d level=%d type=%d\n", in check_signal()
153 *ttl = ctl.ttl; in check_signal()
160 char* ip, char* ttl, unsigned short *port) {
177 *ttl = iph->ip_ttl;
292 // sending ttl.. in send_stuff()
313 unsigned char ttl = 0; in main() local
396 ip, &ttl, &port)) { in main()
398 printf("Got signal from %s:%d TTL=%d\n", in main()
[all …]
/freebsd/contrib/unbound/services/cache/
H A Ddns.c64 * updated with a new full TTL.
83 time_t ttl, min_ttl = rep->ttl; in store_rrsets() local
117 /* ref was updated; make sure the message ttl is in store_rrsets()
120 /* if deleted, skip ttl update. */ in store_rrsets()
123 ttl = ((struct packed_rrset_data*) in store_rrsets()
124 rep->rrsets[i]->entry.data)->ttl; in store_rrsets()
125 if(ttl < min_ttl) min_ttl = ttl; in store_rrsets()
130 if(min_ttl < rep->ttl) { in store_rrsets()
131 rep->ttl = min_ttl; in store_rrsets()
132 rep->prefetch_ttl = PREFETCH_TTL_CALC(rep->ttl); in store_rrsets()
[all …]
H A Drrset.c132 if( newd->ttl < timenow && timenow <= cached->ttl) in need_to_update_rrset()
146 * do not update the TTL - let it expire. */ in need_to_update_rrset()
147 if(equal && cached->ttl >= timenow && in need_to_update_rrset()
153 if( cached->ttl < timenow ) in need_to_update_rrset()
158 * the NS RRset, but use the cached TTL for the new data, and in need_to_update_rrset()
159 * update to fetch the latest data. ttl is not expired, because in need_to_update_rrset()
163 newd->ttl = cached->ttl; in need_to_update_rrset()
165 if(newd->rr_ttl[i] > newd->ttl) in need_to_update_rrset()
166 newd->rr_ttl[i] = newd->ttl; in need_to_update_rrset()
298 /* check TTL */ in rrset_cache_lookup()
[all …]
H A Ddns.h55 /** Allow caching a DNS message with a zero TTL. */
81 * @param leeway: TTL value, if not 0, other rrsets are considered expired
82 * that many seconds before actual TTL expiry.
85 * can be updated to full TTL even in prefetch situations.
110 * @param leeway: TTL value, if not 0, other rrsets are considered expired
111 * that many seconds before actual TTL expiry.
114 * can be updated to full TTL even in prefetch situations.
136 * @param timenow: the time now, for checking if TTL on cache entries is OK.
157 * @param now: the time now, for check if TTL on cache entry is ok.
251 * prefetch ttl - postponing the time when it will be prefetched for future
/freebsd/contrib/ldns/
H A Dzone.c185 * $TTL, $ORIGIN
188 ldns_zone_new_frm_fp(ldns_zone **z, FILE *fp, const ldns_rdf *origin, uint32_t ttl, ldns_rr_class c) in ldns_zone_new_frm_fp() argument
190 return ldns_zone_new_frm_fp_l(z, fp, origin, ttl, c, NULL); in ldns_zone_new_frm_fp()
206 /* RFC 1035 Section 5.1, says 'Omitted class and TTL values are default in ldns_zone_new_frm_fp_l()
233 /* If ttl came from $TTL line, then it should be the default. in ldns_zone_new_frm_fp_l()
246 /* No $TTL, so ttl "defaults to the in ldns_zone_new_frm_fp_l()
252 /* When ttl is implicit, try to adhere to the rules as in ldns_zone_new_frm_fp_l()
255 * which hashes the TTL too. in ldns_zone_new_frm_fp_l()
262 /* SIG without explicit ttl get ttl in ldns_zone_new_frm_fp_l()
312 /* the function set the ttl */ in ldns_zone_new_frm_fp_l()
/freebsd/sys/contrib/device-tree/Bindings/display/bridge/
H A Dthine,thc63lvd1024.yaml16 modes, handling up to two LVDS input streams and up to two digital CMOS/TTL
38 CMOS/TTL port and port@3 shall not contain any endpoint. In dual output
39 mode pixels are output from both CMOS/TTL ports and both port@2 and
53 description: First digital CMOS/TTL parallel output
57 description: Second digital CMOS/TTL parallel output
73 Power supply for the TTL output, TTL CLOCKOUT signal, LVDS input, PLL and
/freebsd/contrib/unbound/validator/
H A Dval_kentry.h78 /** the TTL of this entry (absolute time) */
79 time_t ttl; member
171 * @param ttl: what ttl should the key have. relative.
174 * @param now: current time (added to ttl).
178 uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl,
192 * @param now: current time (added to ttl of rrset)
207 * @param ttl: what ttl should the key have. relative.
210 * @param now: current time (added to ttl).
214 uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl,
/freebsd/contrib/unbound/cachedb/
H A Dcachedb.c173 char* key, uint8_t* data, size_t data_len, time_t ATTR_UNUSED(ttl)) in testframe_store() argument
402 /* We don't store the reply if its TTL is 0 unless serve-expired is in prep_data()
406 if(qstate->return_msg->rep->ttl == 0 && in prep_data()
426 * store that, we also store the smallest ttl in the packet+time(0) in prep_data()
428 /* qstate->return_msg->rep->ttl contains that relative shortest ttl */ in prep_data()
430 expiry = timestamp + (uint64_t)qstate->return_msg->rep->ttl; in prep_data()
470 /* Adjust the TTL of the given RRset by 'subtract'. If 'subtract' is
471 * negative, set the TTL to 0. */
477 if(subtract >= 0 && data->ttl > subtract) in packed_rrset_ttl_subtract()
478 data->ttl -= subtract; in packed_rrset_ttl_subtract()
[all …]
/freebsd/usr.sbin/traceroute/
H A Dtraceroute.871 Note, the IP checksum and the TTL of the quoted packet are not expected to
113 .Va net.inet.ip.ttl
211 internet host by launching UDP probe packets with a small TTL (time to live)
213 We start our probes with a TTL of one and increase by one until we get an ICMP
216 .Va net.inet.ip.ttl
223 flag) are sent at each TTL setting and a line is printed showing the TTL,
256 that forwards packets with a zero TTL (a bug in the distributed version of
287 "time exceeded" messages or send them with a TTL too small to reach us.
293 using whatever TTL remains in the original datagram.
294 Since, for gateways, the remaining TTL is zero, the ICMP "time exceeded" is
[all …]
/freebsd/usr.sbin/rwhod/
H A Drwhod.839 .Op Fl m Op Ar ttl
89 .It Fl m Op Ar ttl
101 .Ar ttl
108 .Ar ttl ,
111 .Ar ttl
125 .Ar ttl
130 .Ar ttl
/freebsd/contrib/unbound/util/data/
H A Dpacked_rrset.h56 /** this rrset is SOA and has the negative ttl (from nxdomain or nodata),
57 * this is set on SOA rrsets in the authority section, to keep its TTL separate
60 /** This rrset is considered to have a fixed TTL; its TTL doesn't have to be
239 * name, type, class, ttl, rdlength, rdata.
241 * key.dname, ttl, rr_data[i].
244 * the ttl value to send changes due to time.
250 /** TTL (in seconds like time()) of the rrset.
252 time_t ttl; member
263 /** ttl of every rr. rr_ttl[i] ttl of rr i. */
283 /** ttl, count and rdatas (and rrsig) */
[all …]
H A Dmsgreply.c58 /** MAX TTL default for messages and rrsets */
60 /** MIN TTL default for messages and rrsets */
62 /** MAX Negative TTL, for SOA records in authority section */
64 /** MIN Negative TTL, for SOA records in authority section */
70 /** Reset serve expired TTL after failed update attempt */
72 /** TTL to use for expired records */
74 /** If we serve the original TTL or decrementing TTLs */
100 time_t ttl, time_t prettl, time_t expttl, time_t norecttl, size_t an, in construct_reply_info_base() argument
117 rep->ttl = ttl; in construct_reply_info_base()
181 log_assert(rep->ttl < timenow); in reply_info_can_answer_expired()
[all …]
H A Dmsgreply.h63 /** calculate the prefetch TTL as 90% of original. Calculation
65 #define PREFETCH_TTL_CALC(ttl) ((ttl) - (ttl)/10) argument
149 * TTL of the entire reply (for negative caching).
153 time_t ttl; member
156 * TTL for prefetch. After it has expired, a prefetch is suitable.
157 * Smaller than the TTL, otherwise the prefetch would not happen.
162 * Reply TTL extended with serve expired TTL, to limit time to serve
168 * TTL for an expired entry to be used without attempting recursion
226 * this list can be locked (and id, ttl checked), to see if
256 * @param ttl: TTL of replyinfo
[all …]
/freebsd/share/man/man4/
H A Dip.496 configures the time-to-live (TTL) field in the
108 int ttl = 60; /* max = 255 */
109 setsockopt(s, IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl));
122 may be used to set the minimum acceptable TTL a packet must have when
124 All packets with a lower TTL are silently dropped.
321 .Tn TTL
327 .Tn TTL .
466 option changes the time-to-live (TTL)
470 u_char ttl; /* range: 0 to 255, default = 1 */
471 setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl));
[all …]
/freebsd/sbin/ping/tests/
H A Dtest_ping.py276 ("ttl=[0-9]*", "ttl="),
301 64 bytes from: icmp_seq=0 ttl= time= ms
333 64 bytes from: icmp_seq=0 ttl= time= ms
393 64 bytes from: icmp_seq=0 ttl= time= ms
394 64 bytes from: icmp_seq=1 ttl= time= ms
395 64 bytes from: icmp_seq=2 ttl= time= ms
457 64 bytes from: icmp_seq=0 ttl= time= ms
517 64 bytes from: icmp_seq=0 ttl= time= ms
549 64 bytes from: icmp_seq=0 ttl= time= ms
550 64 bytes from: icmp_seq=1 ttl= time= ms
[all …]
/freebsd/contrib/ldns/ldns/
H A Dzone.h133 * \param[in] ttl default ttl to use
138 ldns_status ldns_zone_new_frm_fp(ldns_zone **z, FILE *fp, const ldns_rdf *origin, uint32_t ttl, ldn…
145 * \param[in] ttl default ttl to use
151 ldns_status ldns_zone_new_frm_fp_l(ldns_zone **z, FILE *fp, const ldns_rdf *origin, uint32_t ttl, l…
/freebsd/lib/libutil/
H A Dlogin_ok.c133 const char **ttl; in login_ttyok() local
137 ttl = login_getcaplist(lc, allowcap, NULL); in login_ttyok()
139 if (ttl != NULL && !login_str2inlist(ttl, tty, grp, 0)) in login_ttyok()
143 ttl = login_getcaplist(lc, denycap, NULL); in login_ttyok()
144 if (ttl != NULL && login_str2inlist(ttl, tty, grp, 0)) in login_ttyok()
/freebsd/tests/sys/common/
H A Dsender.py66 * TTL is decremented
77 assert orig_ip.ttl == fwd_ip.ttl + 1
88 Assumes forwarding router decrements TTL
121 Assumes forwarding router decrements TTL
147 * TTL is decremented
167 Assumes forwarding router decrements TTL
/freebsd/lib/libkvm/
H A Dkvm_getswapinfo.c115 int i, ttl; in kvm_getswapinfo_kvm() local
134 ttl = swinfo.sw_nblks - dmmax; in kvm_getswapinfo_kvm()
137 swap_ary[i].ksw_total = ttl; in kvm_getswapinfo_kvm()
143 tot.ksw_total += ttl; in kvm_getswapinfo_kvm()
166 int ti, ttl; in kvm_getswapinfo_sysctl() local
203 ttl = xsd.xsw_nblks - dmmax; in kvm_getswapinfo_sysctl()
206 swap_ary[unswdev].ksw_total = ttl; in kvm_getswapinfo_sysctl()
212 tot.ksw_total += ttl; in kvm_getswapinfo_sysctl()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/baddof/
H A Dbaddof.c57 static int ttl, valid; in corrupt() local
91 ttl += rv; in corrupt()
93 if (ttl < 10000) { in corrupt()
98 printf("enabled %d probes; resetting device.\n", ttl); in corrupt()
111 ttl = 0; in corrupt()
139 ttl += rv; in corrupt()
/freebsd/sys/netinet6/
H A Dip_fw_nat64.h125 #define NAT64LSN_TCP_SYN_AGE 10 /* State's TTL after SYN received. */
126 #define NAT64LSN_TCP_EST_AGE (2 * 3600) /* TTL for established connection */
127 #define NAT64LSN_TCP_FIN_AGE 180 /* State's TTL after FIN/RST received */
128 #define NAT64LSN_UDP_AGE 120 /* TTL for UDP states */
129 #define NAT64LSN_ICMP_AGE 60 /* TTL for ICMP states */
130 #define NAT64LSN_HOST_AGE 3600 /* TTL for stale host entry */
131 #define NAT64LSN_PG_AGE 900 /* TTL for stale ports groups */
/freebsd/contrib/unbound/edns-subnet/
H A Daddrtree.c86 * @param ttl: Element is valid up to this time. Absolute, seconds
91 time_t ttl) in node_create() argument
99 node->ttl = ttl; in node_create()
362 addrlen_t sourcemask, addrlen_t scope, void *elem, time_t ttl, in addrtree_insert() argument
385 node->ttl = ttl; in addrtree_insert()
397 if (!edge->node->elem || edge->node->ttl >= now) in addrtree_insert()
404 newnode = node_create(tree, elem, scope, ttl); in addrtree_insert()
452 newnode->ttl = ttl; in addrtree_insert()
461 newnode = node_create(tree, elem, scope, ttl); in addrtree_insert()
490 if (node->elem && node->ttl >= now && in addrtree_find()

12345678910>>...20