Lines Matching defs:iph
477 const struct iphdr *iph = (const struct iphdr *)skb->data;
478 struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2));
489 iph->daddr, th->dest, iph->saddr,
524 if (unlikely(iph->ttl < READ_ONCE(inet_sk(sk)->min_ttl))) {
1450 const struct iphdr *iph = ip_hdr(skb);
1451 saddr = iph->saddr;
1452 daddr = iph->daddr;
1682 u16 tcp_v4_get_syncookie(struct sock *sk, struct iphdr *iph,
1690 *cookie = __cookie_v4_init_sequence(iph, th, &mss);
1780 const struct iphdr *iph;
1790 iph = ip_hdr(skb);
1797 iph->saddr, th->source,
1798 iph->daddr, ntohs(th->dest),
1957 static void tcp_v4_fill_cb(struct sk_buff *skb, const struct iphdr *iph,
1973 TCP_SKB_CB(skb)->ip_dsfield = ipv4_get_dsfield(iph);
1989 const struct iphdr *iph;
2023 iph = ip_hdr(skb);
2045 &iph->saddr, &iph->daddr,
2076 iph = ip_hdr(skb);
2077 tcp_v4_fill_cb(skb, iph, th);
2111 if (unlikely(iph->ttl < READ_ONCE(inet_sk(sk)->min_ttl))) {
2123 drop_reason = tcp_inbound_md5_hash(sk, skb, &iph->saddr,
2124 &iph->daddr, AF_INET, dif, sdif);
2135 iph = ip_hdr(skb);
2136 tcp_v4_fill_cb(skb, iph, th);
2169 tcp_v4_fill_cb(skb, iph, th);
2201 tcp_v4_fill_cb(skb, iph, th);
2212 iph->saddr, th->source,
2213 iph->daddr, th->dest,