Lines Matching defs:iph
475 const struct iphdr *iph = (const struct iphdr *)skb->data;
476 struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2));
487 sk = __inet_lookup_established(net, &tcp_hashinfo, iph->daddr,
488 th->dest, iph->saddr, ntohs(th->source),
521 if (unlikely(iph->ttl < inet_sk(sk)->min_ttl)) {
1363 const struct iphdr *iph = ip_hdr(skb);
1364 saddr = iph->saddr;
1365 daddr = iph->daddr;
1415 const struct iphdr *iph = ip_hdr(skb);
1426 addr = (union tcp_md5_addr *)&iph->saddr;
1454 &iph->saddr, ntohs(th->source),
1455 &iph->daddr, ntohs(th->dest),
1662 u16 tcp_v4_get_syncookie(struct sock *sk, struct iphdr *iph,
1670 *cookie = __cookie_v4_init_sequence(iph, th, &mss);
1752 const struct iphdr *iph;
1762 iph = ip_hdr(skb);
1769 iph->saddr, th->source,
1770 iph->daddr, ntohs(th->dest),
1925 static void tcp_v4_fill_cb(struct sk_buff *skb, const struct iphdr *iph,
1941 TCP_SKB_CB(skb)->ip_dsfield = ipv4_get_dsfield(iph);
1957 const struct iphdr *iph;
1988 iph = ip_hdr(skb);
2027 iph = ip_hdr(skb);
2028 tcp_v4_fill_cb(skb, iph, th);
2057 if (unlikely(iph->ttl < inet_sk(sk)->min_ttl)) {
2073 iph = ip_hdr(skb);
2074 tcp_v4_fill_cb(skb, iph, th);
2111 tcp_v4_fill_cb(skb, iph, th);
2139 tcp_v4_fill_cb(skb, iph, th);
2150 iph->saddr, th->source,
2151 iph->daddr, th->dest,