Lines Matching refs:iph
357 const struct iphdr *iph = (const struct iphdr *)icmp_skb->data; in tcp_v4_err() local
358 struct tcphdr *th = (struct tcphdr *)(icmp_skb->data + (iph->ihl << 2)); in tcp_v4_err()
372 sk = __inet_lookup_established(net, &tcp_hashinfo, iph->daddr, in tcp_v4_err()
373 th->dest, iph->saddr, ntohs(th->source), in tcp_v4_err()
405 if (unlikely(iph->ttl < inet_sk(sk)->min_ttl)) { in tcp_v4_err()
1086 const struct iphdr *iph = ip_hdr(skb); in tcp_v4_md5_hash_skb() local
1087 saddr = iph->saddr; in tcp_v4_md5_hash_skb()
1088 daddr = iph->daddr; in tcp_v4_md5_hash_skb()
1138 const struct iphdr *iph = ip_hdr(skb); in tcp_v4_inbound_md5_hash() local
1143 hash_expected = tcp_md5_do_lookup(sk, (union tcp_md5_addr *)&iph->saddr, in tcp_v4_inbound_md5_hash()
1170 &iph->saddr, ntohs(th->source), in tcp_v4_inbound_md5_hash()
1171 &iph->daddr, ntohs(th->dest), in tcp_v4_inbound_md5_hash()
1440 const struct iphdr *iph; in tcp_v4_early_demux() local
1450 iph = ip_hdr(skb); in tcp_v4_early_demux()
1457 iph->saddr, th->source, in tcp_v4_early_demux()
1458 iph->daddr, ntohs(th->dest), in tcp_v4_early_demux()
1536 const struct iphdr *iph; in tcp_v4_rcv() local
1567 iph = ip_hdr(skb); in tcp_v4_rcv()
1581 TCP_SKB_CB(skb)->ip_dsfield = ipv4_get_dsfield(iph); in tcp_v4_rcv()
1622 if (unlikely(iph->ttl < inet_sk(sk)->min_ttl)) { in tcp_v4_rcv()
1702 iph->saddr, th->source, in tcp_v4_rcv()
1703 iph->daddr, th->dest, in tcp_v4_rcv()