Searched refs:IPTTLDEC (Results 1 – 4 of 4) sorted by relevance
286 if (m->m_pkthdr.len > rt->rt_ifp->if_mtu || ip->ip_ttl <= IPTTLDEC) in ipflow_fastforward()305 ip->ip_ttl -= IPTTLDEC; in ipflow_fastforward()306 if (ip->ip_sum >= (u_int16_t) ~htons(IPTTLDEC << 8)) in ipflow_fastforward()307 ip->ip_sum -= ~htons(IPTTLDEC << 8); in ipflow_fastforward()309 ip->ip_sum += htons(IPTTLDEC << 8); in ipflow_fastforward()
234 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
1358 if (ip->ip_ttl <= IPTTLDEC) { in ip_forward()1384 ip->ip_ttl -= IPTTLDEC; in ip_forward()
159 #define IPTTLDEC 1 /* subtracted when forwarding */ macro