tcphdr 52 include/linux/inet_lro.h struct tcphdr *tcph; tcphdr 65 include/linux/tcp.h struct tcphdr hdr; tcphdr 181 include/linux/tcp.h static inline struct tcphdr *tcp_hdr(const struct sk_buff *skb) tcphdr 183 include/linux/tcp.h return (struct tcphdr *)skb_transport_header(skb); tcphdr 132 include/net/slhc_vj.h struct tcphdr cs_tcp; tcphdr 105 net/ipv4/inet_lro.c struct tcphdr *tcph = lro_desc->tcph; tcphdr 338 net/ipv4/inet_lro.c struct tcphdr *tcph; tcphdr 441 net/ipv4/inet_lro.c struct tcphdr *tcph; tcphdr 50 net/ipv4/netfilter/ipt_ECN.c struct tcphdr _tcph, *tcph; tcphdr 100 net/ipv4/netfilter/ipt_LOG.c struct tcphdr _tcph; tcphdr 101 net/ipv4/netfilter/ipt_LOG.c const struct tcphdr *th; tcphdr 150 net/ipv4/netfilter/ipt_LOG.c && th->doff * 4 > sizeof(struct tcphdr)) { tcphdr 151 net/ipv4/netfilter/ipt_LOG.c unsigned char _opt[4 * 15 - sizeof(struct tcphdr)]; tcphdr 155 net/ipv4/netfilter/ipt_LOG.c optsize = th->doff * 4 - sizeof(struct tcphdr); tcphdr 40 net/ipv4/netfilter/ipt_REJECT.c const struct tcphdr *oth; tcphdr 41 net/ipv4/netfilter/ipt_REJECT.c struct tcphdr _otcph, *tcph; tcphdr 62 net/ipv4/netfilter/ipt_REJECT.c nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct tcphdr) + tcphdr 81 net/ipv4/netfilter/ipt_REJECT.c tcph = (struct tcphdr *)skb_put(nskb, sizeof(struct tcphdr)); tcphdr 85 net/ipv4/netfilter/ipt_REJECT.c tcph->doff = sizeof(struct tcphdr) / 4; tcphdr 97 net/ipv4/netfilter/ipt_REJECT.c tcph->check = tcp_v4_check(sizeof(struct tcphdr), tcphdr 100 net/ipv4/netfilter/ipt_REJECT.c sizeof(struct tcphdr), 0)); tcphdr 35 net/ipv4/netfilter/ipt_ecn.c struct tcphdr _tcph; tcphdr 36 net/ipv4/netfilter/ipt_ecn.c const struct tcphdr *th; tcphdr 35 net/ipv4/netfilter/nf_nat_h323.c const struct tcphdr *th; tcphdr 36 net/ipv4/netfilter/nf_nat_h323.c struct tcphdr _tcph; tcphdr 145 net/ipv4/netfilter/nf_nat_helper.c struct tcphdr *tcph; tcphdr 173 net/ipv4/netfilter/nf_nat_helper.c skb->csum_offset = offsetof(struct tcphdr, check); tcphdr 336 net/ipv4/netfilter/nf_nat_helper.c optoff = ip_hdrlen(skb) + sizeof(struct tcphdr); tcphdr 377 net/ipv4/netfilter/nf_nat_helper.c struct tcphdr *tcph; tcphdr 40 net/ipv4/netfilter/nf_nat_proto_tcp.c struct tcphdr *hdr; tcphdr 49 net/ipv4/netfilter/nf_nat_proto_tcp.c if (skb->len >= hdroff + sizeof(struct tcphdr)) tcphdr 50 net/ipv4/netfilter/nf_nat_proto_tcp.c hdrsize = sizeof(struct tcphdr); tcphdr 56 net/ipv4/netfilter/nf_nat_proto_tcp.c hdr = (struct tcphdr *)(skb->data + hdroff); tcphdr 166 net/ipv4/syncookies.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 198 net/ipv4/syncookies.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 259 net/ipv4/syncookies.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 2381 net/ipv4/tcp.c struct tcphdr *th; tcphdr 2603 net/ipv4/tcp.c sg_init_one(&sg, th, sizeof(struct tcphdr)); tcphdr 2604 net/ipv4/tcp.c err = crypto_hash_update(&hp->md5_desc, &sg, sizeof(struct tcphdr)); tcphdr 2615 net/ipv4/tcp.c const struct tcphdr *tp = tcp_hdr(skb); tcphdr 142 net/ipv4/tcp_input.c if (len >= TCP_MIN_RCVMSS + sizeof(struct tcphdr) || tcphdr 148 net/ipv4/tcp_input.c (len >= TCP_MIN_MSS + sizeof(struct tcphdr) && tcphdr 3369 net/ipv4/tcp_input.c struct tcphdr *th = tcp_hdr(skb); tcphdr 3370 net/ipv4/tcp_input.c int length = (th->doff * 4) - sizeof(struct tcphdr); tcphdr 3480 net/ipv4/tcp_input.c if (th->doff == sizeof(struct tcphdr) >> 2) { tcphdr 3484 net/ipv4/tcp_input.c th->doff == (sizeof(struct tcphdr)>>2)+(TCPOLEN_TSTAMP_ALIGNED>>2)) { tcphdr 3577 net/ipv4/tcp_input.c struct tcphdr *th = tcp_hdr(skb); tcphdr 3981 net/ipv4/tcp_input.c struct tcphdr *th = tcp_hdr(skb); tcphdr 4845 net/ipv4/tcp_input.c if (tcp_header_len == sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) { tcphdr 4869 net/ipv4/tcp_input.c (sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) && tcphdr 4909 net/ipv4/tcp_input.c (sizeof(struct tcphdr) + tcphdr 4932 net/ipv4/tcp_input.c (sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) && tcphdr 5098 net/ipv4/tcp_input.c sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; tcphdr 5102 net/ipv4/tcp_input.c tp->tcp_header_len = sizeof(struct tcphdr); tcphdr 5203 net/ipv4/tcp_input.c sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; tcphdr 5205 net/ipv4/tcp_input.c tp->tcp_header_len = sizeof(struct tcphdr); tcphdr 337 net/ipv4/tcp_ipv4.c struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); tcphdr 486 net/ipv4/tcp_ipv4.c struct tcphdr *th = tcp_hdr(skb); tcphdr 492 net/ipv4/tcp_ipv4.c skb->csum_offset = offsetof(struct tcphdr, check); tcphdr 504 net/ipv4/tcp_ipv4.c struct tcphdr *th; tcphdr 515 net/ipv4/tcp_ipv4.c skb->csum_offset = offsetof(struct tcphdr, check); tcphdr 535 net/ipv4/tcp_ipv4.c struct tcphdr *th = tcp_hdr(skb); tcphdr 537 net/ipv4/tcp_ipv4.c struct tcphdr th; tcphdr 559 net/ipv4/tcp_ipv4.c rep.th.doff = sizeof(struct tcphdr) / 4; tcphdr 593 net/ipv4/tcp_ipv4.c arg.csumoffset = offsetof(struct tcphdr, check) / 2; tcphdr 613 net/ipv4/tcp_ipv4.c struct tcphdr *th = tcp_hdr(skb); tcphdr 615 net/ipv4/tcp_ipv4.c struct tcphdr th; tcphdr 625 net/ipv4/tcp_ipv4.c memset(&rep.th, 0, sizeof(struct tcphdr)); tcphdr 668 net/ipv4/tcp_ipv4.c arg.csumoffset = offsetof(struct tcphdr, check) / 2; tcphdr 724 net/ipv4/tcp_ipv4.c struct tcphdr *th = tcp_hdr(skb); tcphdr 1053 net/ipv4/tcp_ipv4.c struct tcphdr *th = tcp_hdr(skb); tcphdr 1112 net/ipv4/tcp_ipv4.c struct tcphdr *th = tcp_hdr(skb); tcphdr 1411 net/ipv4/tcp_ipv4.c struct tcphdr *th = tcp_hdr(skb); tcphdr 1542 net/ipv4/tcp_ipv4.c struct tcphdr *th; tcphdr 1553 net/ipv4/tcp_ipv4.c if (!pskb_may_pull(skb, sizeof(struct tcphdr))) tcphdr 1558 net/ipv4/tcp_ipv4.c if (th->doff < sizeof(struct tcphdr) / 4) tcphdr 469 net/ipv4/tcp_minisocks.c newtp->tcp_header_len = sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; tcphdr 472 net/ipv4/tcp_minisocks.c newtp->tcp_header_len = sizeof(struct tcphdr); tcphdr 498 net/ipv4/tcp_minisocks.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 505 net/ipv4/tcp_minisocks.c if (th->doff > (sizeof(struct tcphdr)>>2)) { tcphdr 595 net/ipv4/tcp_output.c struct tcphdr *th; tcphdr 625 net/ipv4/tcp_output.c tcp_header_size = tcp_options_size + sizeof(struct tcphdr); tcphdr 920 net/ipv4/tcp_output.c mss_now = pmtu - icsk->icsk_af_ops->net_header_len - sizeof(struct tcphdr); tcphdr 934 net/ipv4/tcp_output.c mss_now -= tp->tcp_header_len - sizeof(struct tcphdr); tcphdr 960 net/ipv4/tcp_output.c icsk->icsk_mtup.search_high = tp->rx_opt.mss_clamp + sizeof(struct tcphdr) + tcphdr 1048 net/ipv4/tcp_output.c sizeof(struct tcphdr); tcphdr 2235 net/ipv4/tcp_output.c struct tcphdr *th; tcphdr 2274 net/ipv4/tcp_output.c sizeof(struct tcphdr); tcphdr 2280 net/ipv4/tcp_output.c memset(th, 0, sizeof(struct tcphdr)); tcphdr 2328 net/ipv4/tcp_output.c tp->tcp_header_len = sizeof(struct tcphdr) + tcphdr 2352 net/ipv4/tcp_output.c tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), tcphdr 205 net/ipv6/netfilter/ip6t_LOG.c struct tcphdr _tcph; tcphdr 206 net/ipv6/netfilter/ip6t_LOG.c const struct tcphdr *th; tcphdr 253 net/ipv6/netfilter/ip6t_LOG.c && th->doff * 4 > sizeof(struct tcphdr)) { tcphdr 254 net/ipv6/netfilter/ip6t_LOG.c u_int8_t _opt[60 - sizeof(struct tcphdr)]; tcphdr 258 net/ipv6/netfilter/ip6t_LOG.c - sizeof(struct tcphdr); tcphdr 261 net/ipv6/netfilter/ip6t_LOG.c ptr + sizeof(struct tcphdr), tcphdr 41 net/ipv6/netfilter/ip6t_REJECT.c struct tcphdr otcph, *tcph; tcphdr 67 net/ipv6/netfilter/ip6t_REJECT.c if (proto != IPPROTO_TCP || otcplen < sizeof(struct tcphdr)) { tcphdr 74 net/ipv6/netfilter/ip6t_REJECT.c if (skb_copy_bits(oldskb, tcphoff, &otcph, sizeof(struct tcphdr))) tcphdr 105 net/ipv6/netfilter/ip6t_REJECT.c + sizeof(struct tcphdr) + dst->trailer_len, tcphdr 128 net/ipv6/netfilter/ip6t_REJECT.c tcph = (struct tcphdr *)skb_put(nskb, sizeof(struct tcphdr)); tcphdr 130 net/ipv6/netfilter/ip6t_REJECT.c tcph->doff = sizeof(struct tcphdr)/4; tcphdr 156 net/ipv6/netfilter/ip6t_REJECT.c sizeof(struct tcphdr), IPPROTO_TCP, tcphdr 158 net/ipv6/netfilter/ip6t_REJECT.c sizeof(struct tcphdr), 0)); tcphdr 911 net/ipv6/route.c mtu -= sizeof(struct ipv6hdr) + sizeof(struct tcphdr); tcphdr 922 net/ipv6/route.c if (mtu > IPV6_MAXPLEN - sizeof(struct tcphdr)) tcphdr 130 net/ipv6/syncookies.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 150 net/ipv6/syncookies.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 166 net/ipv6/syncookies.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 287 net/ipv6/tcp_ipv6.c tp->rx_opt.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); tcphdr 321 net/ipv6/tcp_ipv6.c const struct tcphdr *th = (struct tcphdr *)(skb->data+offset); tcphdr 500 net/ipv6/tcp_ipv6.c struct tcphdr *th = tcp_hdr(skb); tcphdr 799 net/ipv6/tcp_ipv6.c struct tcphdr *th = tcp_hdr(skb); tcphdr 847 net/ipv6/tcp_ipv6.c struct tcphdr *th = tcp_hdr(skb); tcphdr 912 net/ipv6/tcp_ipv6.c struct tcphdr *th = tcp_hdr(skb); tcphdr 917 net/ipv6/tcp_ipv6.c skb->csum_offset = offsetof(struct tcphdr, check); tcphdr 928 net/ipv6/tcp_ipv6.c struct tcphdr *th; tcphdr 940 net/ipv6/tcp_ipv6.c skb->csum_offset = offsetof(struct tcphdr, check); tcphdr 948 net/ipv6/tcp_ipv6.c struct tcphdr *th = tcp_hdr(skb), *t1; tcphdr 953 net/ipv6/tcp_ipv6.c unsigned int tot_len = sizeof(struct tcphdr); tcphdr 970 net/ipv6/tcp_ipv6.c t1 = (struct tcphdr *) skb_push(buff, tot_len); tcphdr 1037 net/ipv6/tcp_ipv6.c struct tcphdr *th = tcp_hdr(skb); tcphdr 1090 net/ipv6/tcp_ipv6.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 1166 net/ipv6/tcp_ipv6.c tmp_opt.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); tcphdr 1586 net/ipv6/tcp_ipv6.c struct tcphdr *th; tcphdr 1599 net/ipv6/tcp_ipv6.c if (!pskb_may_pull(skb, sizeof(struct tcphdr))) tcphdr 1604 net/ipv6/tcp_ipv6.c if (th->doff < sizeof(struct tcphdr)/4) tcphdr 330 net/netfilter/ipvs/ip_vs_app.c struct tcphdr *th; tcphdr 336 net/netfilter/ipvs/ip_vs_app.c th = (struct tcphdr *)(skb_network_header(skb) + tcp_offset); tcphdr 405 net/netfilter/ipvs/ip_vs_app.c struct tcphdr *th; tcphdr 411 net/netfilter/ipvs/ip_vs_app.c th = (struct tcphdr *)(skb_network_header(skb) + tcp_offset); tcphdr 859 net/netfilter/ipvs/ip_vs_core.c struct tcphdr _tcph, *th; tcphdr 140 net/netfilter/ipvs/ip_vs_ftp.c struct tcphdr *th; tcphdr 170 net/netfilter/ipvs/ip_vs_ftp.c th = (struct tcphdr *)&(((char *)iph)[iph->ihl*4]); tcphdr 252 net/netfilter/ipvs/ip_vs_ftp.c struct tcphdr *th; tcphdr 282 net/netfilter/ipvs/ip_vs_ftp.c th = (struct tcphdr *)&(((char *)iph)[iph->ihl*4]); tcphdr 78 net/netfilter/ipvs/ip_vs_proto_tcp.c struct tcphdr _tcph, *th; tcphdr 163 net/netfilter/ipvs/ip_vs_proto_tcp.c struct tcphdr *tcph; tcphdr 233 net/netfilter/ipvs/ip_vs_proto_tcp.c struct tcphdr *tcph; tcphdr 571 net/netfilter/ipvs/ip_vs_proto_tcp.c struct tcphdr _tcph, *th; tcphdr 354 net/netfilter/nf_conntrack_ftp.c const struct tcphdr *th; tcphdr 355 net/netfilter/nf_conntrack_ftp.c struct tcphdr _tcph; tcphdr 117 net/netfilter/nf_conntrack_h323_main.c const struct tcphdr *th; tcphdr 118 net/netfilter/nf_conntrack_h323_main.c struct tcphdr _tcph; tcphdr 107 net/netfilter/nf_conntrack_irc.c const struct tcphdr *th; tcphdr 108 net/netfilter/nf_conntrack_irc.c struct tcphdr _tcph; tcphdr 506 net/netfilter/nf_conntrack_pptp.c const struct tcphdr *tcph; tcphdr 507 net/netfilter/nf_conntrack_pptp.c struct tcphdr _tcph; tcphdr 264 net/netfilter/nf_conntrack_proto_tcp.c const struct tcphdr *hp; tcphdr 265 net/netfilter/nf_conntrack_proto_tcp.c struct tcphdr _hdr; tcphdr 370 net/netfilter/nf_conntrack_proto_tcp.c unsigned char buff[(15 * 4) - sizeof(struct tcphdr)]; tcphdr 372 net/netfilter/nf_conntrack_proto_tcp.c int length = (tcph->doff*4) - sizeof(struct tcphdr); tcphdr 377 net/netfilter/nf_conntrack_proto_tcp.c ptr = skb_header_pointer(skb, dataoff + sizeof(struct tcphdr), tcphdr 424 net/netfilter/nf_conntrack_proto_tcp.c unsigned char buff[(15 * 4) - sizeof(struct tcphdr)]; tcphdr 426 net/netfilter/nf_conntrack_proto_tcp.c int length = (tcph->doff*4) - sizeof(struct tcphdr); tcphdr 432 net/netfilter/nf_conntrack_proto_tcp.c ptr = skb_header_pointer(skb, dataoff + sizeof(struct tcphdr), tcphdr 701 net/netfilter/nf_conntrack_proto_tcp.c const struct tcphdr *tcph = (const void *)skb->data + dataoff; tcphdr 757 net/netfilter/nf_conntrack_proto_tcp.c const struct tcphdr *th; tcphdr 758 net/netfilter/nf_conntrack_proto_tcp.c struct tcphdr _tcph; tcphdr 772 net/netfilter/nf_conntrack_proto_tcp.c if (th->doff*4 < sizeof(struct tcphdr) || tcplen < th->doff*4) { tcphdr 816 net/netfilter/nf_conntrack_proto_tcp.c const struct tcphdr *th; tcphdr 817 net/netfilter/nf_conntrack_proto_tcp.c struct tcphdr _tcph; tcphdr 1007 net/netfilter/nf_conntrack_proto_tcp.c const struct tcphdr *th; tcphdr 1008 net/netfilter/nf_conntrack_proto_tcp.c struct tcphdr _tcph; tcphdr 65 net/netfilter/nf_conntrack_sane.c const struct tcphdr *th; tcphdr 66 net/netfilter/nf_conntrack_sane.c struct tcphdr _tcph; tcphdr 51 net/netfilter/xt_TCPMSS.c struct tcphdr *tcph; tcphdr 61 net/netfilter/xt_TCPMSS.c tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff); tcphdr 94 net/netfilter/xt_TCPMSS.c for (i = sizeof(struct tcphdr); i < tcph->doff*4; i += optlen(opt, i)) { tcphdr 126 net/netfilter/xt_TCPMSS.c tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff); tcphdr 131 net/netfilter/xt_TCPMSS.c opt = (u_int8_t *)tcph + sizeof(struct tcphdr); tcphdr 132 net/netfilter/xt_TCPMSS.c memmove(opt + TCPOLEN_MSS, opt, tcplen - sizeof(struct tcphdr)); tcphdr 186 net/netfilter/xt_TCPMSS.c sizeof(*iph) + sizeof(struct tcphdr)); tcphdr 214 net/netfilter/xt_TCPMSS.c sizeof(*ipv6h) + sizeof(struct tcphdr)); tcphdr 38 net/netfilter/xt_TCPOPTSTRIP.c struct tcphdr *tcph; tcphdr 45 net/netfilter/xt_TCPOPTSTRIP.c tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff); tcphdr 52 net/netfilter/xt_TCPOPTSTRIP.c for (i = sizeof(struct tcphdr); i < tcp_hdrlen(skb); i += optl) { tcphdr 81 net/netfilter/xt_TCPOPTSTRIP.c sizeof(struct iphdr) + sizeof(struct tcphdr)); tcphdr 98 net/netfilter/xt_TCPOPTSTRIP.c sizeof(*ipv6h) + sizeof(struct tcphdr)); tcphdr 31 net/netfilter/xt_tcpmss.c const struct tcphdr *th; tcphdr 32 net/netfilter/xt_tcpmss.c struct tcphdr _tcph; tcphdr 46 net/netfilter/xt_tcpudp.c u_int8_t _opt[60 - sizeof(struct tcphdr)]; tcphdr 55 net/netfilter/xt_tcpudp.c op = skb_header_pointer(skb, protoff + sizeof(struct tcphdr), tcphdr 73 net/netfilter/xt_tcpudp.c const struct tcphdr *th; tcphdr 74 net/netfilter/xt_tcpudp.c struct tcphdr _tcph; tcphdr 170 net/sched/act_nat.c struct tcphdr *tcph; tcphdr 3422 security/selinux/hooks.c struct tcphdr _tcph, *th; tcphdr 3506 security/selinux/hooks.c struct tcphdr _tcph, *th;