/src/lib/libc/nameser/ |
ns_ttl.c | 108 u_long ttl, tmp; local in function:ns_parse_ttl 111 ttl = 0; 136 ttl += tmp; 145 ttl += tmp; 148 *dst = ttl;
|
/src/sys/netmpls/ |
mpls.h | 53 uint32_t ttl:8; member in struct:mpls_shim::__anonc6503a3f0108 61 uint32_t ttl:8;
|
/src/usr.sbin/mrouted/ |
kern.c | 36 u_char ttl; local in function:k_set_ttl 38 ttl = t; 40 (char *)&ttl, sizeof(ttl)) < 0) 41 logit(LOG_ERR, errno, "setsockopt IP_MULTICAST_TTL %u", ttl);
|
prune.h | 30 u_char gt_ttls[MAXVIFS]; /* ttl vector for forwarding */ 77 u_int ttl : 8; /* traceroute response ttl */ member in struct:tr_query::__anon8ae2e7df0108 81 u_int ttl : 8; /* traceroute response ttl */ member in struct:tr_query::__anon8ae2e7df0208 87 #define tr_rttl q.ttl 103 u_char tr_fttl; /* ttl required to forward on outvif */
|
/src/sys/external/bsd/ipf/netinet/ |
ip_ipsec_pxy.c | 139 int p, off, dlen, ttl; local in function:ipf_p_ipsec_new 190 ttl = IPF_TTLVAL(softi->ipsec_nat_tqe->ifq_ttl); 191 ipn->in_tqehead[0] = ipf_nat_add_tq(softc, ttl); 192 ipn->in_tqehead[1] = ipf_nat_add_tq(softc, ttl);
|
/src/sys/net/npf/ |
npf_ext_normalize.c | 79 /* Minimum IP TTL and maximum TCP MSS. */ 80 np->n_minttl = dnvlist_get_number(params, "min-ttl", 0); 100 * clear "don't fragment" and/or enforce minimum TTL). 108 uint8_t ttl = ip->ip_ttl; local in function:npf_normalize_ip4 130 /* Enforce minimum TTL. */ 131 if (minttl && ttl < minttl) { 132 cksum = npf_fixup16_cksum(cksum, ttl, minttl);
|
/src/sbin/routed/ |
main.c | 653 unsigned char ttl; local in function:get_rip_sock 674 ttl = 1; 676 &ttl, sizeof(ttl)) < 0)
|
/src/sys/arch/sun3/dev/ |
xdvar.h | 47 int ttl; /* time to live */ member in struct:xd_iorq
|
xyvar.h | 47 int ttl; /* time to live */ member in struct:xy_iorq
|
/src/sys/dev/vme/ |
xdvar.h | 48 int ttl; /* time to live */ member in struct:xd_iorq
|
xyvar.h | 47 int ttl; /* time to live */ member in struct:xy_iorq
|
/src/dist/pf/sbin/pfctl/ |
pfctl_osfp.c | 97 int window, w_mod, ttl, df, psize, p_mod, mss, mss_mod, wscale, local in function:pfctl_file_fingerprints 157 GET_INT(ttl, NULL, "ttl", 0, 0xff) || 176 fp.fp_ttl = ttl;
|
/src/usr.bin/nc/ |
netcat.c | 127 int ttl = -1; variable in typeref:typename:int 251 ttl = strtoi(optarg, NULL, 0, 0, 255, &errnum); 253 errc(1, errnum, "bad ttl `%s'", optarg); 1524 if (ttl != -1) { 1526 IP_TTL, &ttl, sizeof(ttl))) 1527 err(1, "set IP TTL"); 1530 IPV6_UNICAST_HOPS, &ttl, sizeof(ttl))) 1537 err(1, "set IP min TTL"); [all...] |
/src/lib/libc/resolv/ |
res_debug.c | 201 size_t rdatalen, ttl; local in function:do_section 205 ttl = ns_rr_ttl(rr); 209 (ttl>>16)&0xff, ns_rr_class(rr), ttl&0xffff);
|
/src/usr.sbin/mtrace/ |
mtrace.c | 79 #define UNICAST_TTL 255 /* TTL for unicast response */ 80 #define MULTICAST_TTL1 64 /* Default TTL for multicast query/response */ 81 #define MULTICAST_TTL_INC 32 /* TTL increment for increase after timeout */ 82 #define MULTICAST_TTL_MAX 192 /* Maximum TTL allowed (protect low-BW links */ 131 int qttl = 0; /* TTL for the query packet */ 132 u_char rttl = 0; /* TTL for the response packet */ 336 u_int ttl; local in function:get_ttl 340 ttl = b->tr_fttl; 344 if (ttl < b->tr_fttl) ttl = b->tr_fttl 1060 u_int ttl = n->tr_fttl; local in function:print_stats [all...] |
/src/usr.sbin/traceroute/ |
traceroute.c | 42 * packets with a small ttl (time to live) then listening for an 44 * with a ttl of one and increase by one until we get an icmp "port 47 * probes (change with -q flag) are sent at each ttl setting and a 48 * line is printed showing the ttl, address of the gateway and 78 * packets with a zero ttl. 106 * with a ttl too small to reach us. 14 - 17 are running the 112 * sends an unreachable message using whatever ttl remains in the 113 * original datagram. Since, for gateways, the remaining ttl is 135 * is using the ttl from our arriving datagram as the ttl in it 283 u_char ttl; \/* ttl packet left with *\/ member in struct:outdata 308 unsigned char ttl:8; member in struct:mpls_header 444 int ttl, probe, i; local in function:main [all...] |
/src/sbin/ping/ |
ping.c | 47 * Multicast options (ttl, if, loop) - Steve Deering, Stanford, August 1988. 48 * ttl, duplicate detection - Cliff Frost, UCB, April 1989 245 u_char ttl = 0; local in function:main 403 errx(EXIT_FAILURE, "ttl out of range: %s", 405 ttl = (u_char)l; /* cannot check >255 otherwise */ 573 opack_ip->ip_ttl = ttl ? ttl : MAXTTL; 587 if (ttl != 0 589 (char *) &ttl, 1) < 0) 1027 int ttl, [all...] |
/src/sbin/ping6/ |
ping6.c | 153 /* FQDN case, 64 bits of nonce + 32 bits ttl */ 1488 int32_t ttl; local in function:pr_pack 1510 ttl = (int32_t)ntohl(*(u_long *)&buf[off+ICMP6ECHOLEN+8]); 1514 printf("TTL=%d:meaningless", 1515 (int)ttl); 1517 if (ttl < 0) { 1518 printf("TTL=%d:invalid", 1519 ttl); 1521 printf("TTL=%d", ttl); 1833 u_int32_t ttl = 0; local in function:pr_nodeaddr [all...] |
/src/include/arpa/ |
nameser.h | 171 uint32_t ttl; member in struct:__ns_rr 184 u_int ttl; member in struct:__ns_rr2 195 #define ns_rr_ttl(rr) ((u_long)(rr).ttl + 0) 472 #define NS_SIG_OTTL 4 /*%< Original TTL */ 667 ns_class rr_class, uint32_t ttl,
|