Lines Matching refs:iph

359 	const struct iphdr *iph = (const struct iphdr *)icmp_skb->data;  in tcp_v4_err()  local
360 struct tcphdr *th = (struct tcphdr *)(icmp_skb->data + (iph->ihl << 2)); in tcp_v4_err()
374 sk = __inet_lookup_established(net, &tcp_hashinfo, iph->daddr, in tcp_v4_err()
375 th->dest, iph->saddr, ntohs(th->source), in tcp_v4_err()
402 if (unlikely(iph->ttl < inet_sk(sk)->min_ttl)) { in tcp_v4_err()
1084 const struct iphdr *iph = ip_hdr(skb); in tcp_v4_md5_hash_skb() local
1085 saddr = iph->saddr; in tcp_v4_md5_hash_skb()
1086 daddr = iph->daddr; in tcp_v4_md5_hash_skb()
1133 const struct iphdr *iph = ip_hdr(skb); in tcp_v4_inbound_md5_hash() local
1138 hash_expected = tcp_md5_do_lookup(sk, (union tcp_md5_addr *)&iph->saddr, in tcp_v4_inbound_md5_hash()
1165 &iph->saddr, ntohs(th->source), in tcp_v4_inbound_md5_hash()
1166 &iph->daddr, ntohs(th->dest), in tcp_v4_inbound_md5_hash()
1348 const struct iphdr *iph = ip_hdr(skb); in tcp_v4_hnd_req() local
1352 req = inet_csk_search_req(sk, th->source, iph->saddr, iph->daddr); in tcp_v4_hnd_req()
1360 nsk = inet_lookup_established(sock_net(sk), &tcp_hashinfo, iph->saddr, in tcp_v4_hnd_req()
1361 th->source, iph->daddr, th->dest, inet_iif(skb)); in tcp_v4_hnd_req()
1453 const struct iphdr *iph; in tcp_v4_early_demux() local
1463 iph = ip_hdr(skb); in tcp_v4_early_demux()
1470 iph->saddr, th->source, in tcp_v4_early_demux()
1471 iph->daddr, ntohs(th->dest), in tcp_v4_early_demux()
1549 const struct iphdr *iph; in tcp_v4_rcv() local
1580 iph = ip_hdr(skb); in tcp_v4_rcv()
1594 TCP_SKB_CB(skb)->ip_dsfield = ipv4_get_dsfield(iph); in tcp_v4_rcv()
1605 if (unlikely(iph->ttl < inet_sk(sk)->min_ttl)) { in tcp_v4_rcv()
1689 iph->saddr, th->source, in tcp_v4_rcv()
1690 iph->daddr, th->dest, in tcp_v4_rcv()