• Home
  • Raw
  • Download

Lines Matching refs:tcphdr

88 			       __be32 daddr, __be32 saddr, const struct tcphdr *th);
470 struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); in tcp_v4_err()
633 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check()
637 skb->csum_offset = offsetof(struct tcphdr, check); in __tcp_v4_send_check()
670 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset()
672 struct tcphdr th; in tcp_v4_send_reset()
701 rep.th.doff = sizeof(struct tcphdr) / 4; in tcp_v4_send_reset()
795 arg.csumoffset = offsetof(struct tcphdr, check) / 2; in tcp_v4_send_reset()
855 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_ack()
857 struct tcphdr th; in tcp_v4_send_ack()
869 memset(&rep.th, 0, sizeof(struct tcphdr)); in tcp_v4_send_ack()
912 arg.csumoffset = offsetof(struct tcphdr, check) / 2; in tcp_v4_send_ack()
1311 const struct tcphdr *th, int nbytes) in tcp_v4_md5_hash_headers()
1315 struct tcphdr *_th; in tcp_v4_md5_hash_headers()
1324 _th = (struct tcphdr *)(bp + 1); in tcp_v4_md5_hash_headers()
1335 __be32 daddr, __be32 saddr, const struct tcphdr *th) in tcp_v4_md5_hash_hdr()
1371 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_md5_hash_skb()
1431 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_inbound_md5_hash()
1674 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_cookie_check()
1683 struct tcphdr *th, u32 *cookie) in tcp_v4_get_syncookie()
1777 const struct tcphdr *th; in tcp_v4_early_demux()
1783 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct tcphdr))) in tcp_v4_early_demux()
1789 if (th->doff < sizeof(struct tcphdr) / 4) in tcp_v4_early_demux()
1816 const struct tcphdr *th; in tcp_add_backlog()
1817 struct tcphdr *thtail; in tcp_add_backlog()
1847 th = (const struct tcphdr *)skb->data; in tcp_add_backlog()
1853 thtail = (struct tcphdr *)tail->data; in tcp_add_backlog()
1938 struct tcphdr *th = (struct tcphdr *)skb->data; in tcp_filter()
1951 const struct tcphdr *th) in tcp_v4_fill_cb()
1983 const struct tcphdr *th; in tcp_v4_rcv()
1996 if (!pskb_may_pull(skb, sizeof(struct tcphdr))) in tcp_v4_rcv()
1999 th = (const struct tcphdr *)skb->data; in tcp_v4_rcv()
2001 if (unlikely(th->doff < sizeof(struct tcphdr) / 4)) { in tcp_v4_rcv()
2016 th = (const struct tcphdr *)skb->data; in tcp_v4_rcv()
2063 th = (const struct tcphdr *)skb->data; in tcp_v4_rcv()
2111 th = (const struct tcphdr *)skb->data; in tcp_v4_rcv()