Lines Matching refs:ip
38 #include <netinet/ip.h>
84 struct ip ip;
92 const struct ip *ip;
101 ip = m_common_hash_gethdr(m, off, sizeof(*ip), &buf);
102 if (ip == NULL)
105 p = fnv_32_buf(&ip->ip_src, sizeof(struct in_addr), p);
106 p = fnv_32_buf(&ip->ip_dst, sizeof(struct in_addr), p);
112 switch (ip->ip_p) {
116 iphlen = ip->ip_hl << 2;
117 if (iphlen < sizeof(*ip))