Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/netinet/
HDip_fastfwd.c354 if (ip->ip_ttl <= IPTTLDEC) { in ip_tryforward()
364 ip->ip_ttl -= IPTTLDEC; in ip_tryforward()
365 if (ip->ip_sum >= (u_int16_t) ~htons(IPTTLDEC << 8)) in ip_tryforward()
366 ip->ip_sum -= ~htons(IPTTLDEC << 8); in ip_tryforward()
368 ip->ip_sum += htons(IPTTLDEC << 8); in ip_tryforward()
HDip.h213 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
HDip_input.c944 ip->ip_ttl <= IPTTLDEC) { in ip_forward()
995 ip->ip_ttl -= IPTTLDEC; in ip_forward()
/freebsd-14-stable/contrib/tcpdump/
HDip.h160 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
/freebsd-14-stable/sys/netpfil/ipfw/nat64/
HDnat64_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()