| /freebsd/contrib/netbsd-tests/ipf/input/ |
| H A D | f13 | 2 # 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 D | f12 | 1 # 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 D | i18 | 5 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/usr.sbin/traceroute/tests/ |
| H A D | traceroute_test.sh | 208 …-o match:"IP \\(tos 0x0, ttl 1, .*, proto ICMP.*\\).* ${LINK_TRSRC_TRSRC} > ${LINK_TRDST_TRDST}: I… 209 …-o match:"IP \\(tos 0x0, ttl 2, .*, proto ICMP.*\\).* ${LINK_TRSRC_TRSRC} > ${LINK_TRDST_TRDST}: I… 246 …-o match:"IP \\(tos 0x0, ttl 1, .*, proto UDP .*\\).* ${LINK_TRSRC_TRSRC}.[0-9]+ > ${LINK_TRDST_TR… 247 …-o match:"IP \\(tos 0x0, ttl 2, .*, proto UDP .*\\).* ${LINK_TRSRC_TRSRC}.[0-9]+ > ${LINK_TRDST_TR… 264 …-o match:"IP \\(tos 0x0, ttl 1, .*, proto UDP .*\\).* ${LINK_TRSRC_TRSRC}.[0-9]+ > ${LINK_TRDST_TR… 265 …-o match:"IP \\(tos 0x0, ttl 2, .*, proto UDP .*\\).* ${LINK_TRSRC_TRSRC}.[0-9]+ > ${LINK_TRDST_TR… 300 …-o match:"IP \\(tos 0x0, ttl 1, .*, proto SCTP.*\\).* ${LINK_TRSRC_TRSRC}.[0-9]+ > ${LINK_TRDST_TR… 301 …-o match:"IP \\(tos 0x0, ttl 2, .*, proto SCTP.*\\).* ${LINK_TRSRC_TRSRC}.[0-9]+ > ${LINK_TRDST_TR… 315 …-o match:"IP \\(tos 0x0, ttl 1, .*, proto SCTP.*\\).* ${LINK_TRSRC_TRSRC}.[0-9]+ > ${LINK_TRDST_TR… 316 …-o match:"IP \\(tos 0x0, ttl 2, .*, proto SCTP.*\\).* ${LINK_TRSRC_TRSRC}.[0-9]+ > ${LINK_TRDST_TR… [all …]
|
| /freebsd/tools/tools/net80211/wesside/dics/ |
| H A D | dics.c | 104 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 D | dns.c | 64 * 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() 161 time_t ttl = rep->ttl; dns_cache_store_msg() local [all...] |
| H A D | rrset.c | 134 if( newd->ttl < timenow && timenow <= cached->ttl) in need_to_update_rrset() 148 * do not update the TTL - let it expire. */ in need_to_update_rrset() 149 if(equal && cached->ttl >= timenow && in need_to_update_rrset() 155 if( cached->ttl < timenow ) in need_to_update_rrset() 160 * the NS RRset, but use the cached TTL for the new data, and in need_to_update_rrset() 161 * update to fetch the latest data. ttl is not expired, because in need_to_update_rrset() 165 newd->ttl = cached->ttl; in need_to_update_rrset() 167 if(newd->rr_ttl[i] > newd->ttl) in need_to_update_rrset() 168 newd->rr_ttl[i] = newd->ttl; in need_to_update_rrset() 300 /* check TTL */ in rrset_cache_lookup() [all …]
|
| H A D | dns.h | 55 /** 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. 113 * @param leeway: TTL value, if not 0, other rrsets are considered expired 114 * that many seconds before actual TTL expiry. 117 * can be updated to full TTL even in prefetch situations. 139 * @param timenow: the time now, for checking if TTL on cache entries is OK. 160 * @param now: the time now, for check if TTL on cache entry is ok. 254 * prefetch ttl [all...] |
| /freebsd/contrib/ldns/ |
| H A D | zone.c | 185 * $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 D | thine,thc63lvd1024.yaml | 16 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 D | val_kentry.h | 78 /** 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 D | cachedb.c | 174 char* key, uint8_t* data, size_t data_len, time_t ATTR_UNUSED(ttl)) in testframe_store() 404 /* We don't store the reply if its TTL is 0 unless serve-expired is in prep_data() 408 if(qstate->return_msg->rep->ttl == 0 && in prep_data() 428 * store that, we also store the smallest ttl in the packet+time(0) in prep_data() 430 /* qstate->return_msg->rep->ttl contains that relative shortest ttl */ in prep_data() 432 expiry = timestamp + (uint64_t)qstate->return_msg->rep->ttl; in prep_data() 472 /* Adjust the TTL of the given RRset by 'subtract'. If 'subtract' is 473 * negative, set the TTL to 0. */ in packed_rrset_ttl_subtract() 479 if(subtract >= 0 && data->ttl > subtrac in packed_rrset_ttl_subtract() 173 testframe_store(struct module_env * env,struct cachedb_env * cachedb_env,char * key,uint8_t * data,size_t data_len,time_t ATTR_UNUSED (ttl)) testframe_store() argument 509 packed_rrset_ttl_set(struct packed_rrset_data * data,time_t ttl) packed_rrset_ttl_set() argument 522 set_msg_ttl(struct dns_msg * msg,time_t ttl) set_msg_ttl() argument [all...] |
| /freebsd/usr.sbin/traceroute/ |
| H A D | traceroute.8 | 74 Note, the IP checksum and the TTL of the quoted packet are not expected to 116 .Va net.inet.ip.ttl 266 internet host by launching UDP probe packets with a small TTL (time to live) 268 We start our probes with a TTL of one and increase by one until we get an ICMP 271 .Va net.inet.ip.ttl 278 flag) are sent at each TTL setting and a line is printed showing the TTL, 311 that forwards packets with a zero TTL (a bug in the distributed version of 342 "time exceeded" messages or send them with a TTL too small to reach us. 348 using whatever TTL remains in the original datagram. 349 Since, for gateways, the remaining TTL is zero, the ICMP "time exceeded" is [all …]
|
| /freebsd/contrib/unbound/util/data/ |
| H A D | packed_rrset.h | 56 /** 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 D | msgreply.c | 58 /** 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 …]
|
| /freebsd/usr.sbin/rwhod/ |
| H A D | rwhod.8 | 39 .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/share/man/man4/ |
| H A D | ip.4 | 96 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 D | test_ping.py | 276 ("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 D | zone.h | 133 * \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 D | login_ok.c | 133 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 D | sender.py | 66 * 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 D | kvm_getswapinfo.c | 115 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 D | baddof.c | 57 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 D | ip_fw_nat64.h | 129 #define NAT64LSN_TCP_SYN_AGE 10 /* State's TTL after SYN received. */ 130 #define NAT64LSN_TCP_EST_AGE (2 * 3600) /* TTL for established connection */ 131 #define NAT64LSN_TCP_FIN_AGE 180 /* State's TTL after FIN/RST received */ 132 #define NAT64LSN_UDP_AGE 120 /* TTL for UDP states */ 133 #define NAT64LSN_ICMP_AGE 60 /* TTL for ICMP states */ 134 #define NAT64LSN_HOST_AGE 3600 /* TTL for stale host entry */ 135 #define NAT64LSN_PG_AGE 900 /* TTL for stale ports groups */
|
| /freebsd/contrib/unbound/edns-subnet/ |
| H A D | addrtree.c | 86 * @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()
|