Lines Matching defs:ip
42 #include <net/ip.h>
244 en_warn(priv, "RFS: ignoring unsupported ip protocol (%d)\n",
367 const struct iphdr *ip;
383 ip = (const struct iphdr *)(skb->data + nhoff);
384 if (ip_is_fragment(ip))
387 if ((ip->protocol != IPPROTO_TCP) && (ip->protocol != IPPROTO_UDP))
389 ports = (const __be16 *)(skb->data + nhoff + 4 * ip->ihl);
391 ip_proto = ip->protocol;
392 src_ip = ip->saddr;
393 dst_ip = ip->daddr;