Lines Matching refs:ip_hdr
95 return secure_tcp_seq(ip_hdr(skb)->daddr, in tcp_v4_init_seq()
96 ip_hdr(skb)->saddr, in tcp_v4_init_seq()
103 return secure_tcp_ts_off(net, ip_hdr(skb)->daddr, ip_hdr(skb)->saddr); in tcp_v4_init_ts_off()
707 &ip_hdr(skb)->saddr, AF_INET); in tcp_v4_send_reset()
717 ip_hdr(skb)->saddr, in tcp_v4_send_reset()
718 th->source, ip_hdr(skb)->daddr, in tcp_v4_send_reset()
726 &ip_hdr(skb)->saddr, AF_INET); in tcp_v4_send_reset()
747 key, ip_hdr(skb)->saddr, in tcp_v4_send_reset()
748 ip_hdr(skb)->daddr, &rep.th); in tcp_v4_send_reset()
751 arg.csum = csum_tcpudp_nofold(ip_hdr(skb)->daddr, in tcp_v4_send_reset()
752 ip_hdr(skb)->saddr, /* XXX */ in tcp_v4_send_reset()
770 arg.tos = ip_hdr(skb)->tos; in tcp_v4_send_reset()
783 ip_hdr(skb)->saddr, ip_hdr(skb)->daddr, in tcp_v4_send_reset()
857 key, ip_hdr(skb)->saddr, in tcp_v4_send_ack()
858 ip_hdr(skb)->daddr, &rep.th); in tcp_v4_send_ack()
862 arg.csum = csum_tcpudp_nofold(ip_hdr(skb)->daddr, in tcp_v4_send_ack()
863 ip_hdr(skb)->saddr, /* XXX */ in tcp_v4_send_ack()
879 ip_hdr(skb)->saddr, ip_hdr(skb)->daddr, in tcp_v4_send_ack()
927 tcp_md5_do_lookup(sk, (union tcp_md5_addr *)&ip_hdr(skb)->saddr, in tcp_v4_reqsk_send_ack()
930 ip_hdr(skb)->tos); in tcp_v4_reqsk_send_ack()
1253 const struct iphdr *iph = ip_hdr(skb); in tcp_v4_md5_hash_skb()
1304 const struct iphdr *iph = ip_hdr(skb); in tcp_v4_inbound_md5_hash()
1355 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in tcp_v4_init_req()
1356 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in tcp_v4_init_req()
1448 newinet->mc_ttl = ip_hdr(skb)->ttl; in tcp_v4_syn_recv_sock()
1449 newinet->rcv_tos = ip_hdr(skb)->tos; in tcp_v4_syn_recv_sock()
1622 iph = ip_hdr(skb); in tcp_v4_early_demux()
1844 iph = ip_hdr(skb); in tcp_v4_rcv()
1882 iph = ip_hdr(skb); in tcp_v4_rcv()
1927 iph = ip_hdr(skb); in tcp_v4_rcv()