Lines Matching refs:ip
25 #include <linux/ip.h>
32 #include <net/ip.h>
168 const struct iphdr *ip = ip_hdr(skb);
172 return ip->ttl == f_ttl;
175 else if (ip->ttl <= f_ttl)
182 if (inet_ifa_match(ip->saddr, ifa)) {
183 ret = (ip->ttl == f_ttl);
193 return ip->ttl == f_ttl;
200 const struct iphdr *ip = ip_hdr(skb);
222 totlen = ntohs(ip->tot_len);
223 df = ntohs(ip->frag_off) & IP_DF;
339 &ip->saddr, ntohs(tcp->source),
340 &ip->daddr, ntohs(tcp->dest),
341 f->ttl - ip->ttl);
353 &ip->saddr, ntohs(tcp->source),
354 &ip->daddr, ntohs(tcp->dest));