Lines Matching refs:tcphdr
94 __be32 daddr, __be32 saddr, const struct tcphdr *th);
358 struct tcphdr *th = (struct tcphdr *)(icmp_skb->data + (iph->ihl << 2)); in tcp_v4_err()
546 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check()
551 skb->csum_offset = offsetof(struct tcphdr, check); in __tcp_v4_send_check()
584 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset()
586 struct tcphdr th; in tcp_v4_send_reset()
615 rep.th.doff = sizeof(struct tcphdr) / 4; in tcp_v4_send_reset()
680 arg.csumoffset = offsetof(struct tcphdr, check) / 2; in tcp_v4_send_reset()
717 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_ack()
719 struct tcphdr th; in tcp_v4_send_ack()
728 memset(&rep.th, 0, sizeof(struct tcphdr)); in tcp_v4_send_ack()
771 arg.csumoffset = offsetof(struct tcphdr, check) / 2; in tcp_v4_send_ack()
1042 __be32 daddr, __be32 saddr, const struct tcphdr *th) in tcp_v4_md5_hash_hdr()
1079 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_md5_hash_skb()
1139 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_inbound_md5_hash()
1358 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_cookie_check()
1441 const struct tcphdr *th; in tcp_v4_early_demux()
1447 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct tcphdr))) in tcp_v4_early_demux()
1453 if (th->doff < sizeof(struct tcphdr) / 4) in tcp_v4_early_demux()
1537 const struct tcphdr *th; in tcp_v4_rcv()
1548 if (!pskb_may_pull(skb, sizeof(struct tcphdr))) in tcp_v4_rcv()
1553 if (th->doff < sizeof(struct tcphdr) / 4) in tcp_v4_rcv()