Searched refs:hip (Results 1 – 1 of 1) sorted by relevance
696 const struct ip *hip; in packet4_ok() local699 hip = &icp->icmp_ip; in packet4_ok()700 hlen = hip->ip_hl << 2; in packet4_ok()704 hicmp = (struct icmp *)((unsigned char *)hip + hlen); in packet4_ok()706 && hip->ip_p == IPPROTO_ICMP in packet4_ok()713 up = (struct udphdr *)((char *)hip + hlen); in packet4_ok()715 && hip->ip_p == IPPROTO_UDP in packet4_ok()775 struct ip6_hdr *hip; in packet6_ok() local779 hip = (struct ip6_hdr *)(icp + 1); in packet6_ok()780 up = (struct udphdr *) (hip + 1); in packet6_ok()[all …]