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

/darwin-on-arm/xnu/bsd/netinet/
H A Dip_icmp.h155 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8) macro
158 #define ICMP_ADVLEN(p) (8 + (IP_VHL_HL((p)->icmp_ip.ip_vhl) << 2) + 8) macro
H A Dip_icmp.c447 if (icmplen < ICMP_ADVLENMIN || icmplen < ICMP_ADVLEN(icp) ||
585 if (icmplen < ICMP_ADVLENMIN || icmplen < ICMP_ADVLEN(icp) ||

Completed in 72 milliseconds