Home
last modified time | relevance | path

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

/xnu-8796.121.2/bsd/netinet/
H A Dip_icmp.h160 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8) macro
163 #define ICMP_ADVLEN(p) (8 + (IP_VHL_HL((p)->icmp_ip.ip_vhl) << 2) + 8) macro
H A Dip_icmp.c579 if (icmplen < ICMP_ADVLENMIN || icmplen < ICMP_ADVLEN(icp) in icmp_input()
582 (m = m_pullup(m, hlen + ICMP_ADVLEN(icp))) == NULL) { in icmp_input()
745 if (icmplen < ICMP_ADVLENMIN || icmplen < ICMP_ADVLEN(icp) || in icmp_input()