Searched refs:IPTTLDEC (Results 1 – 5 of 5) sorted by relevance
277 if (ip->ip_ttl <= IPTTLDEC) { in ip_tryforward()287 ip->ip_ttl -= IPTTLDEC; in ip_tryforward()288 if (ip->ip_sum >= (u_int16_t) ~htons(IPTTLDEC << 8)) in ip_tryforward()289 ip->ip_sum -= ~htons(IPTTLDEC << 8); in ip_tryforward()291 ip->ip_sum += htons(IPTTLDEC << 8); in ip_tryforward()
214 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
966 ip->ip_ttl <= IPTTLDEC) { in ip_forward()1023 ip->ip_ttl -= IPTTLDEC; in ip_forward()
161 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
1185 if (ip->ip_ttl <= IPTTLDEC) { in nat64_do_handle_ip4()1234 ip6.ip6_hlim -= IPTTLDEC; in nat64_do_handle_ip4()