Lines Matching refs:tcphdr

88 			       __be32 daddr, __be32 saddr, const struct tcphdr *th);
468 struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); in tcp_v4_err()
631 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check()
635 skb->csum_offset = offsetof(struct tcphdr, check); in __tcp_v4_send_check()
662 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset()
664 struct tcphdr th; in tcp_v4_send_reset()
695 rep.th.doff = sizeof(struct tcphdr) / 4; in tcp_v4_send_reset()
778 arg.csumoffset = offsetof(struct tcphdr, check) / 2; in tcp_v4_send_reset()
832 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_ack()
834 struct tcphdr th; in tcp_v4_send_ack()
846 memset(&rep.th, 0, sizeof(struct tcphdr)); in tcp_v4_send_ack()
889 arg.csumoffset = offsetof(struct tcphdr, check) / 2; in tcp_v4_send_ack()
1281 const struct tcphdr *th, int nbytes) in tcp_v4_md5_hash_headers()
1285 struct tcphdr *_th; in tcp_v4_md5_hash_headers()
1294 _th = (struct tcphdr *)(bp + 1); in tcp_v4_md5_hash_headers()
1305 __be32 daddr, __be32 saddr, const struct tcphdr *th) in tcp_v4_md5_hash_hdr()
1341 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_md5_hash_skb()
1401 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_inbound_md5_hash()
1639 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_cookie_check()
1648 struct tcphdr *th, u32 *cookie) in tcp_v4_get_syncookie()
1738 const struct tcphdr *th; in tcp_v4_early_demux()
1744 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct tcphdr))) in tcp_v4_early_demux()
1750 if (th->doff < sizeof(struct tcphdr) / 4) in tcp_v4_early_demux()
1777 const struct tcphdr *th; in tcp_add_backlog()
1778 struct tcphdr *thtail; in tcp_add_backlog()
1807 th = (const struct tcphdr *)skb->data; in tcp_add_backlog()
1813 thtail = (struct tcphdr *)tail->data; in tcp_add_backlog()
1897 struct tcphdr *th = (struct tcphdr *)skb->data; in tcp_filter()
1910 const struct tcphdr *th) in tcp_v4_fill_cb()
1942 const struct tcphdr *th; in tcp_v4_rcv()
1953 if (!pskb_may_pull(skb, sizeof(struct tcphdr))) in tcp_v4_rcv()
1956 th = (const struct tcphdr *)skb->data; in tcp_v4_rcv()
1958 if (unlikely(th->doff < sizeof(struct tcphdr) / 4)) in tcp_v4_rcv()
1971 th = (const struct tcphdr *)skb->data; in tcp_v4_rcv()
2010 th = (const struct tcphdr *)skb->data; in tcp_v4_rcv()
2056 th = (const struct tcphdr *)skb->data; in tcp_v4_rcv()