Home
last modified time | relevance | path

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

/xnu-10063.101.15/bsd/netinet/
H A Dip_input.c2378 #define GETIP(m) ((struct ip *)((m)->m_pkthdr.pkt_hdr)) in ip_reass() macro
2386 ecn0 = GETIP(fp->ipq_frags)->ip_tos & IPTOS_ECN_MASK; in ip_reass()
2392 GETIP(fp->ipq_frags)->ip_tos |= IPTOS_ECN_CE; in ip_reass()
2403 if (GETIP(q)->ip_off > ip->ip_off) { in ip_reass()
2418 i = GETIP(p)->ip_off + GETIP(p)->ip_len - ip->ip_off; in ip_reass()
2439 for (; q != NULL && ip->ip_off + ip->ip_len > GETIP(q)->ip_off; in ip_reass()
2441 i = (ip->ip_off + ip->ip_len) - GETIP(q)->ip_off; in ip_reass()
2442 if (i < GETIP(q)->ip_len) { in ip_reass()
2443 GETIP(q)->ip_len -= i; in ip_reass()
2444 GETIP(q)->ip_off += i; in ip_reass()
[all …]