Home
last modified time | relevance | path

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

/netbsd-src/sys/netinet/
H A Dip_flow.c286 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()
H A Dip.h234 #define IPTTLDEC 1 /* subtracted when forwarding */ macro
H A Dip_input.c1358 if (ip->ip_ttl <= IPTTLDEC) { in ip_forward()
1384 ip->ip_ttl -= IPTTLDEC; in ip_forward()
/netbsd-src/external/mpl/dhcp/dist/includes/netinet/
H A Dip.h159 #define IPTTLDEC 1 /* subtracted when forwarding */ macro