Searched refs:IPTTLDEC (Results 1 – 4 of 4) sorted by relevance
395 if (ip->ip_ttl <= IPTTLDEC) { in ip_fastforward()405 ip->ip_ttl -= IPTTLDEC; in ip_fastforward()406 if (ip->ip_sum >= (u_int16_t) ~htons(IPTTLDEC << 8)) in ip_fastforward()407 ip->ip_sum -= ~htons(IPTTLDEC << 8); in ip_fastforward()409 ip->ip_sum += htons(IPTTLDEC << 8); in ip_fastforward()
206 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
1360 if (ip->ip_ttl <= IPTTLDEC) { in ip_forward()1418 ip->ip_ttl -= IPTTLDEC; in ip_forward()
159 #define IPTTLDEC 1 /* subtracted when forwarding */ macro