Searched refs:ICMP_ADVLEN (Results 1 – 2 of 2) sorted by relevance
160 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8) macro163 #define ICMP_ADVLEN(p) (8 + (IP_VHL_HL((p)->icmp_ip.ip_vhl) << 2) + 8) macro
579 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()