Lines Matching refs:tcphdr
94 __be32 daddr, __be32 saddr, const struct tcphdr *th);
360 struct tcphdr *th = (struct tcphdr *)(icmp_skb->data + (iph->ihl << 2)); in tcp_v4_err()
543 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check()
548 skb->csum_offset = offsetof(struct tcphdr, check); in __tcp_v4_send_check()
581 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset()
583 struct tcphdr th; in tcp_v4_send_reset()
612 rep.th.doff = sizeof(struct tcphdr) / 4; in tcp_v4_send_reset()
677 arg.csumoffset = offsetof(struct tcphdr, check) / 2; in tcp_v4_send_reset()
714 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_ack()
716 struct tcphdr th; in tcp_v4_send_ack()
725 memset(&rep.th, 0, sizeof(struct tcphdr)); in tcp_v4_send_ack()
768 arg.csumoffset = offsetof(struct tcphdr, check) / 2; in tcp_v4_send_ack()
1040 __be32 daddr, __be32 saddr, const struct tcphdr *th) in tcp_v4_md5_hash_hdr()
1077 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_md5_hash_skb()
1134 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_inbound_md5_hash()
1347 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_hnd_req()
1454 const struct tcphdr *th; in tcp_v4_early_demux()
1460 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct tcphdr))) in tcp_v4_early_demux()
1466 if (th->doff < sizeof(struct tcphdr) / 4) in tcp_v4_early_demux()
1550 const struct tcphdr *th; in tcp_v4_rcv()
1561 if (!pskb_may_pull(skb, sizeof(struct tcphdr))) in tcp_v4_rcv()
1566 if (th->doff < sizeof(struct tcphdr) / 4) in tcp_v4_rcv()