Searched refs:IPTTLDEC (Results 1 - 5 of 5) sorted by path

/freebsd-11-stable/contrib/tcpdump/
H A Dip.h161 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
/freebsd-11-stable/sys/netinet/
H A Dip_fastfwd.c275 if (ip->ip_ttl <= IPTTLDEC) {
285 ip->ip_ttl -= IPTTLDEC;
286 if (ip->ip_sum >= (u_int16_t) ~htons(IPTTLDEC << 8))
287 ip->ip_sum -= ~htons(IPTTLDEC << 8);
289 ip->ip_sum += htons(IPTTLDEC << 8);
H A Dip.h212 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
H A Dip_input.c969 ip->ip_ttl <= IPTTLDEC) {
1026 ip->ip_ttl -= IPTTLDEC;
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c1185 if (ip->ip_ttl <= IPTTLDEC) {
1234 ip6.ip6_hlim -= IPTTLDEC;

Completed in 129 milliseconds