Home
last modified time | relevance | path

Searched refs:IPTTLDEC (Results 1 – 6 of 6) sorted by relevance

/src/sys/netinet/
H A Dip_fastfwd.c356 if (ip->ip_ttl <= IPTTLDEC) { in ip_tryforward()
369 ip->ip_ttl -= IPTTLDEC; in ip_tryforward()
371 if (ip->ip_sum >= (u_int16_t) ~htons(IPTTLDEC << 8)) in ip_tryforward()
372 ip->ip_sum -= ~htons(IPTTLDEC << 8); in ip_tryforward()
374 ip->ip_sum += htons(IPTTLDEC << 8); in ip_tryforward()
H A Dip.h211 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
H A Dip_input.c952 ip->ip_ttl <= IPTTLDEC) { in ip_forward()
1015 ip->ip_ttl -= IPTTLDEC; in ip_forward()
/src/contrib/tcpdump/
H A Dip.h160 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
/src/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c1239 if (*V_nat64ipstealth == 0 && ip->ip_ttl <= IPTTLDEC) { in nat64_do_handle_ip4()
1288 ip6.ip6_hlim -= IPTTLDEC; in nat64_do_handle_ip4()
/src/sys/netpfil/pf/
H A Dpf.c9876 if (ip->ip_ttl <= IPTTLDEC) { in pf_route()
9884 ip->ip_ttl -= IPTTLDEC; in pf_route()