Home
last modified time | relevance | path

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

/f-stack/freebsd/netinet/
H A Dip_fastfwd.c324 if (ip->ip_ttl <= IPTTLDEC) { in ip_tryforward()
334 ip->ip_ttl -= IPTTLDEC; in ip_tryforward()
335 if (ip->ip_sum >= (u_int16_t) ~htons(IPTTLDEC << 8)) in ip_tryforward()
336 ip->ip_sum -= ~htons(IPTTLDEC << 8); in ip_tryforward()
338 ip->ip_sum += htons(IPTTLDEC << 8); in ip_tryforward()
H A Dip.h214 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
H A Dip_input.c970 ip->ip_ttl <= IPTTLDEC) { in ip_forward()
1021 ip->ip_ttl -= IPTTLDEC; in ip_forward()
/f-stack/tools/compat/include/netinet/
H A Dip.h214 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64_translate.c1244 if (*V_nat64ipstealth == 0 && ip->ip_ttl <= IPTTLDEC) { in nat64_do_handle_ip4()
1293 ip6.ip6_hlim -= IPTTLDEC; in nat64_do_handle_ip4()