tcphdr 112 drivers/crypto/chelsio/chtls/chtls_cm.c tp->tcp_header_len = sizeof(struct tcphdr); tcphdr 880 drivers/crypto/chelsio/chtls/chtls_cm.c iphdrsz = sizeof(struct iphdr) + sizeof(struct tcphdr); tcphdr 925 drivers/crypto/chelsio/chtls/chtls_cm.c const struct tcphdr *tcph; tcphdr 969 drivers/crypto/chelsio/chtls/chtls_cm.c tcph = (struct tcphdr *)((u8 *)(req + 1) + tcphdr 1156 drivers/crypto/chelsio/chtls/chtls_cm.c struct tcphdr *tcph; tcphdr 1219 drivers/crypto/chelsio/chtls/chtls_cm.c tcph = (struct tcphdr *)(iph + 1); tcphdr 217 drivers/crypto/chelsio/chtls/chtls_main.c cdev->askb = alloc_skb(sizeof(struct tcphdr), GFP_KERNEL); tcphdr 221 drivers/crypto/chelsio/chtls/chtls_main.c skb_put(cdev->askb, sizeof(struct tcphdr)); tcphdr 253 drivers/infiniband/hw/cxgb4/cm.c sizeof(struct tcphdr); tcphdr 2458 drivers/infiniband/hw/cxgb4/cm.c const struct tcphdr *tcph; tcphdr 2592 drivers/infiniband/hw/cxgb4/cm.c sizeof(struct tcphdr) + tcphdr 4062 drivers/infiniband/hw/cxgb4/cm.c struct tcphdr *tcph; tcphdr 4127 drivers/infiniband/hw/cxgb4/cm.c tcph = (struct tcphdr *)(iph + 1); tcphdr 382 drivers/infiniband/hw/i40iw/i40iw_cm.c struct tcphdr *tcph; tcphdr 431 drivers/infiniband/hw/i40iw/i40iw_cm.c tcph = (struct tcphdr *)buf; tcphdr 461 drivers/infiniband/hw/i40iw/i40iw_cm.c tcph = (struct tcphdr *)buf; tcphdr 697 drivers/infiniband/hw/i40iw/i40iw_cm.c struct tcphdr *tcph, tcphdr 2534 drivers/infiniband/hw/i40iw/i40iw_cm.c static int i40iw_check_syn(struct i40iw_cm_node *cm_node, struct tcphdr *tcph) tcphdr 2550 drivers/infiniband/hw/i40iw/i40iw_cm.c static int i40iw_check_seq(struct i40iw_cm_node *cm_node, struct tcphdr *tcph) tcphdr 2581 drivers/infiniband/hw/i40iw/i40iw_cm.c struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; tcphdr 2587 drivers/infiniband/hw/i40iw/i40iw_cm.c optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); tcphdr 2650 drivers/infiniband/hw/i40iw/i40iw_cm.c struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; tcphdr 2655 drivers/infiniband/hw/i40iw/i40iw_cm.c optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); tcphdr 2724 drivers/infiniband/hw/i40iw/i40iw_cm.c struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; tcphdr 2730 drivers/infiniband/hw/i40iw/i40iw_cm.c optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); tcphdr 2809 drivers/infiniband/hw/i40iw/i40iw_cm.c struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; tcphdr 2842 drivers/infiniband/hw/i40iw/i40iw_cm.c (!i40iw_check_seq(cm_node, (struct tcphdr *)rbuf->tcph))) tcphdr 3129 drivers/infiniband/hw/i40iw/i40iw_cm.c struct tcphdr *tcph; tcphdr 3160 drivers/infiniband/hw/i40iw/i40iw_cm.c tcph = (struct tcphdr *)rbuf->tcph; tcphdr 1405 drivers/infiniband/hw/i40iw/i40iw_utils.c struct tcphdr *tcph = (struct tcphdr *)buf->tcph; tcphdr 1436 drivers/infiniband/hw/i40iw/i40iw_utils.c struct tcphdr *tcph; tcphdr 1444 drivers/infiniband/hw/i40iw/i40iw_utils.c tcph = (struct tcphdr *)(addr + buf->maclen + iphlen); tcphdr 1461 drivers/infiniband/hw/i40iw/i40iw_utils.c struct tcphdr *tcph; tcphdr 1478 drivers/infiniband/hw/i40iw/i40iw_utils.c tcph = (struct tcphdr *)buf->tcph; tcphdr 591 drivers/infiniband/hw/qedr/qedr_iw_cm.c (sizeof(struct iphdr) + sizeof(struct tcphdr)); tcphdr 607 drivers/infiniband/hw/qedr/qedr_iw_cm.c (sizeof(struct ipv6hdr) + sizeof(struct tcphdr)); tcphdr 771 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define SKB_CS_OFF(skb) (offsetof(struct tcphdr, check) - \ tcphdr 519 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c u16 hdrs_len = ETH_HLEN + sizeof(struct tcphdr); tcphdr 700 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct tcphdr *th; tcphdr 712 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct tcphdr *th; tcphdr 1324 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct tcphdr *th; tcphdr 1414 drivers/net/ethernet/broadcom/bnxt/bnxt.c #define BNXT_IPV4_HDR_SIZE (sizeof(struct iphdr) + sizeof(struct tcphdr)) tcphdr 1415 drivers/net/ethernet/broadcom/bnxt/bnxt.c #define BNXT_IPV6_HDR_SIZE (sizeof(struct ipv6hdr) + sizeof(struct tcphdr)) tcphdr 1422 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct tcphdr *th; tcphdr 3513 drivers/net/ethernet/broadcom/cnic.c sizeof(struct tcphdr); tcphdr 3517 drivers/net/ethernet/broadcom/cnic.c sizeof(struct tcphdr); tcphdr 7926 drivers/net/ethernet/broadcom/tg3.c struct tcphdr *tcph = NULL; tcphdr 13484 drivers/net/ethernet/broadcom/tg3.c struct tcphdr *th; tcphdr 13486 drivers/net/ethernet/broadcom/tg3.c th = (struct tcphdr *)&tx_data[val]; tcphdr 2916 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c pktsize = pktsize - sizeof(struct iphdr) - sizeof(struct tcphdr); tcphdr 53 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c struct tcphdr *tcp = (struct tcphdr *) tcphdr 71 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h sizeof(struct tcphdr) + tcphdr 1426 drivers/net/ethernet/emulex/benet/be_main.c struct tcphdr *tcphdr; tcphdr 1464 drivers/net/ethernet/emulex/benet/be_main.c tcphdr = tcp_hdr(skb); tcphdr 1466 drivers/net/ethernet/emulex/benet/be_main.c ntohs(tcphdr->source)); tcphdr 1468 drivers/net/ethernet/emulex/benet/be_main.c ntohs(tcphdr->dest)); tcphdr 1470 drivers/net/ethernet/emulex/benet/be_main.c ntohs(tcphdr->seq)); tcphdr 1472 drivers/net/ethernet/emulex/benet/be_main.c ntohs(tcphdr->ack_seq)); tcphdr 60 drivers/net/ethernet/freescale/enetc/enetc.c case offsetof(struct tcphdr, check): tcphdr 2467 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct tcphdr *th; tcphdr 2514 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c skb->csum_offset = offsetof(struct tcphdr, check); tcphdr 549 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h struct tcphdr *tcp; tcphdr 60 drivers/net/ethernet/huawei/hinic/hinic_tx.c struct tcphdr *tcp; tcphdr 1980 drivers/net/ethernet/ibm/ehea/ehea_main.c offsetof(struct tcphdr, check); tcphdr 1185 drivers/net/ethernet/ibm/ibmveth.c struct tcphdr *tcph; tcphdr 1214 drivers/net/ethernet/ibm/ibmveth.c tcph = (struct tcphdr *)(skb->data + offset); tcphdr 1276 drivers/net/ethernet/ibm/ibmveth.c struct tcphdr *tcph = (struct tcphdr *)(skb->data + iphlen); tcphdr 1290 drivers/net/ethernet/ibm/ibmveth.c offsetof(struct tcphdr, check)); tcphdr 777 drivers/net/ethernet/intel/fm10k/fm10k_main.c hdrlen = (th - skb->data) + (((struct tcphdr *)th)->doff << 2); tcphdr 250 drivers/net/ethernet/intel/i40e/i40e_txrx.c struct tcphdr *tcp; tcphdr 266 drivers/net/ethernet/intel/i40e/i40e_txrx.c tcp = (struct tcphdr *)(raw_packet + IP_HEADER_OFFSET tcphdr 2677 drivers/net/ethernet/intel/i40e/i40e_txrx.c struct tcphdr *th; tcphdr 2724 drivers/net/ethernet/intel/i40e/i40e_txrx.c th = (struct tcphdr *)(hdr.network + hlen); tcphdr 2897 drivers/net/ethernet/intel/i40e/i40e_txrx.c struct tcphdr *tcp; tcphdr 3050 drivers/net/ethernet/intel/i40e/i40e_txrx.c struct tcphdr *tcp; tcphdr 1863 drivers/net/ethernet/intel/iavf/iavf_txrx.c struct tcphdr *tcp; tcphdr 1972 drivers/net/ethernet/intel/iavf/iavf_txrx.c struct tcphdr *tcp; tcphdr 1751 drivers/net/ethernet/intel/ice/ice_txrx.c struct tcphdr *tcp; tcphdr 1901 drivers/net/ethernet/intel/ice/ice_txrx.c struct tcphdr *tcp; tcphdr 5698 drivers/net/ethernet/intel/igb/igb_main.c struct tcphdr *tcp; tcphdr 5796 drivers/net/ethernet/intel/igb/igb_main.c case offsetof(struct tcphdr, check): tcphdr 2007 drivers/net/ethernet/intel/igbvf/netdev.c struct tcphdr *tcp; tcphdr 2094 drivers/net/ethernet/intel/igbvf/netdev.c case offsetof(struct tcphdr, check): tcphdr 859 drivers/net/ethernet/intel/igc/igc_main.c case offsetof(struct tcphdr, check): tcphdr 7964 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct tcphdr *tcp; tcphdr 8074 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c case offsetof(struct tcphdr, check): tcphdr 8365 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct tcphdr *th; tcphdr 8436 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hlen + sizeof(struct tcphdr))) tcphdr 8439 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c th = (struct tcphdr *)(hdr.network + hlen); tcphdr 3752 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c struct tcphdr *tcp; tcphdr 3858 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c case offsetof(struct tcphdr, check): tcphdr 207 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c struct tcphdr *tcph; tcphdr 150 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c struct tcphdr *th; tcphdr 315 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c struct tcphdr *th; tcphdr 711 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c static void mlx5e_lro_update_tcp_hdr(struct mlx5_cqe64 *cqe, struct tcphdr *tcp) tcphdr 731 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c struct tcphdr *tcp; tcphdr 2205 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct tcphdr tcp; tcphdr 4036 drivers/net/ethernet/neterion/s2io.c struct tcphdr *th; tcphdr 4040 drivers/net/ethernet/neterion/s2io.c th = (struct tcphdr *)(((unsigned char *)ip) + tcphdr 8170 drivers/net/ethernet/neterion/s2io.c struct tcphdr **tcp, struct RxD_t *rxdp, tcphdr 8201 drivers/net/ethernet/neterion/s2io.c *tcp = (struct tcphdr *)((unsigned long)*ip + ip_len); tcphdr 8207 drivers/net/ethernet/neterion/s2io.c struct tcphdr *tcp) tcphdr 8218 drivers/net/ethernet/neterion/s2io.c static inline int get_l4_pyld_length(struct iphdr *ip, struct tcphdr *tcp) tcphdr 8224 drivers/net/ethernet/neterion/s2io.c struct iphdr *ip, struct tcphdr *tcp, tcphdr 8254 drivers/net/ethernet/neterion/s2io.c struct tcphdr *tcp = lro->tcph; tcphdr 8281 drivers/net/ethernet/neterion/s2io.c struct tcphdr *tcp, u32 l4_pyld) tcphdr 8303 drivers/net/ethernet/neterion/s2io.c struct tcphdr *tcp, u32 tcp_pyld_len) tcphdr 8365 drivers/net/ethernet/neterion/s2io.c struct tcphdr *tcph; tcphdr 8370 drivers/net/ethernet/neterion/s2io.c ret = check_L2_lro_capable(buffer, &ip, (struct tcphdr **)tcp, tcphdr 8378 drivers/net/ethernet/neterion/s2io.c tcph = (struct tcphdr *)*tcp; tcphdr 677 drivers/net/ethernet/neterion/s2io.h struct tcphdr *tcph; tcphdr 636 drivers/net/ethernet/neterion/vxge/vxge-main.c struct tcphdr *th; tcphdr 641 drivers/net/ethernet/neterion/vxge/vxge-main.c th = (struct tcphdr *)(((unsigned char *)ip) + tcphdr 1579 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c struct tcphdr *th; tcphdr 1622 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c th = (struct tcphdr *)((skb->data + vhdr_len) + (iph->ihl << 2)); tcphdr 1681 drivers/net/ethernet/qlogic/qed/qed_iwarp.c struct tcphdr *tcph; tcphdr 1758 drivers/net/ethernet/qlogic/qed/qed_iwarp.c tcph = (struct tcphdr *)((u8 *)iph + ip_hlen); tcphdr 1491 drivers/net/ethernet/qlogic/qede/qede_filter.c size += sizeof(struct tcphdr); tcphdr 1570 drivers/net/ethernet/qlogic/qede/qede_filter.c ip6->payload_len = cpu_to_be16(sizeof(struct tcphdr)); tcphdr 866 drivers/net/ethernet/qlogic/qede/qede_fp.c struct tcphdr *th; tcphdr 880 drivers/net/ethernet/qlogic/qede/qede_fp.c struct tcphdr *th; tcphdr 1272 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c struct tcphdr *th; tcphdr 1324 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c th = (struct tcphdr *)(skb->data + sizeof(struct ipv6hdr)); tcphdr 1329 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); tcphdr 1794 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c struct tcphdr *th; tcphdr 1846 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c th = (struct tcphdr *)(skb->data + sizeof(struct ipv6hdr)); tcphdr 1852 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); tcphdr 25 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c check = &(((struct tcphdr *)txporthdr)->check); tcphdr 5755 drivers/net/ethernet/realtek/r8169_main.c struct tcphdr *th; tcphdr 2327 drivers/net/ethernet/sfc/ef10.c struct tcphdr *tcp; tcphdr 1414 drivers/net/ethernet/sgi/ioc3-eth.c csoff += offsetof(struct tcphdr, check); tcphdr 62 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c struct tcphdr *thdr = NULL; tcphdr 76 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c size += sizeof(struct tcphdr); tcphdr 150 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c thdr->doff = sizeof(struct tcphdr) / 4; tcphdr 202 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c skb->csum_offset = offsetof(struct tcphdr, check); tcphdr 252 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c struct tcphdr *thdr; tcphdr 285 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c thdr = (struct tcphdr *)((u8 *)ihdr + 4 * ihdr->ihl); tcphdr 321 drivers/net/ethernet/sun/sunvnet_common.c struct tcphdr *ptcp = tcp_hdr(skb); tcphdr 354 drivers/net/ethernet/sun/sunvnet_common.c struct tcphdr *ptcp = tcp_hdr(skb); tcphdr 1305 drivers/net/ethernet/sun/sunvnet_common.c curr->csum_offset = offsetof(struct tcphdr, check); tcphdr 239 drivers/net/slip/slhc.c struct tcphdr *th, *oth; tcphdr 267 drivers/net/slip/slhc.c th = (struct tcphdr *)(icp + nlen); tcphdr 268 drivers/net/slip/slhc.c if (th->doff < sizeof(struct tcphdr) / 4) tcphdr 497 drivers/net/slip/slhc.c struct tcphdr *thp; tcphdr 684 drivers/net/slip/slhc.c memcpy(cs->cs_tcpopt, icp + ihl*4 + sizeof(struct tcphdr), (cs->cs_tcp.doff - 5) * 4); tcphdr 1754 drivers/net/usb/r8152.c struct tcphdr *th; tcphdr 936 drivers/net/vmxnet3/vmxnet3_drv.c struct tcphdr *tcph = tcp_hdr(skb); tcphdr 1233 drivers/net/vmxnet3/vmxnet3_drv.c struct tcphdr *tcp; tcphdr 1238 drivers/net/vmxnet3/vmxnet3_drv.c if (unlikely(sizeof(struct iphdr) + sizeof(struct tcphdr) > maplen)) tcphdr 1263 drivers/net/vmxnet3/vmxnet3_drv.c return sizeof(struct ipv6hdr) + sizeof(struct tcphdr); tcphdr 1271 drivers/net/vmxnet3/vmxnet3_drv.c if (hlen + sizeof(struct tcphdr) > maplen) tcphdr 2172 drivers/net/vxlan.c skb->csum_offset == offsetof(struct tcphdr, check))) tcphdr 2080 drivers/net/wireless/intel/iwlwifi/pcie/tx.c static void iwl_compute_pseudo_hdr_csum(void *iph, struct tcphdr *tcph, tcphdr 2169 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct tcphdr *tcph; tcphdr 143 drivers/staging/wilc1000/wilc_wlan.c const struct tcphdr *tcp_hdr_ptr; tcphdr 764 drivers/target/iscsi/cxgbit/cxgbit_cm.c sizeof(struct tcphdr); tcphdr 1131 drivers/target/iscsi/cxgbit/cxgbit_cm.c const struct tcphdr *tcph; tcphdr 1191 drivers/target/iscsi/cxgbit/cxgbit_cm.c tcph = (struct tcphdr *)((u8 *)(req + 1) + tcphdr 1194 drivers/target/iscsi/cxgbit/cxgbit_cm.c tcph = (struct tcphdr *)((u8 *)(req + 1) + tcphdr 1312 drivers/target/iscsi/cxgbit/cxgbit_cm.c sizeof(struct tcphdr) + (req->tcpopt.tstamp ? 12 : 0); tcphdr 52 include/linux/netfilter_ipv6.h const struct tcphdr *th, u16 *mssp); tcphdr 54 include/linux/netfilter_ipv6.h const struct tcphdr *th, __u32 cookie); tcphdr 183 include/linux/netfilter_ipv6.h const struct tcphdr *th, tcphdr 200 include/linux/netfilter_ipv6.h const struct tcphdr *th, __u32 cookie) tcphdr 24 include/linux/tcp.h static inline struct tcphdr *tcp_hdr(const struct sk_buff *skb) tcphdr 26 include/linux/tcp.h return (struct tcphdr *)skb_transport_header(skb); tcphdr 29 include/linux/tcp.h static inline unsigned int __tcp_hdrlen(const struct tcphdr *th) tcphdr 39 include/linux/tcp.h static inline struct tcphdr *inner_tcp_hdr(const struct sk_buff *skb) tcphdr 41 include/linux/tcp.h return (struct tcphdr *)skb_inner_transport_header(skb); tcphdr 42 include/linux/virtio_net.h thlen = sizeof(struct tcphdr); tcphdr 47 include/linux/virtio_net.h thlen = sizeof(struct tcphdr); tcphdr 66 include/net/ip6_checksum.h struct tcphdr *th = tcp_hdr(skb); tcphdr 71 include/net/ip6_checksum.h skb->csum_offset = offsetof(struct tcphdr, check); tcphdr 13 include/net/netfilter/ipv4/nf_reject.h const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb, tcphdr 14 include/net/netfilter/ipv4/nf_reject.h struct tcphdr *_oth, int hook); tcphdr 19 include/net/netfilter/ipv4/nf_reject.h const struct tcphdr *oth); tcphdr 13 include/net/netfilter/ipv6/nf_reject.h const struct tcphdr *nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb, tcphdr 14 include/net/netfilter/ipv6/nf_reject.h struct tcphdr *otcph, tcphdr 21 include/net/netfilter/ipv6/nf_reject.h const struct tcphdr *oth, unsigned int otcplen); tcphdr 46 include/net/netfilter/nf_synproxy.h const struct tcphdr *th, tcphdr 53 include/net/netfilter/nf_synproxy.h const struct tcphdr *th, tcphdr 58 include/net/netfilter/nf_synproxy.h const struct tcphdr *th, tcphdr 71 include/net/netfilter/nf_synproxy.h const struct tcphdr *th, tcphdr 75 include/net/netfilter/nf_synproxy.h const struct tcphdr *th, tcphdr 133 include/net/slhc_vj.h struct tcphdr cs_tcp; tcphdr 376 include/net/tcp.h const struct tcphdr *th); tcphdr 415 include/net/tcp.h const u8 *tcp_parse_md5sig_option(const struct tcphdr *th); tcphdr 421 include/net/tcp.h struct tcphdr *th, u32 *cookie); tcphdr 423 include/net/tcp.h struct tcphdr *th, u32 *cookie); tcphdr 426 include/net/tcp.h struct sock *sk, struct tcphdr *th); tcphdr 466 include/net/tcp.h int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th, tcphdr 548 include/net/tcp.h u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, tcphdr 558 include/net/tcp.h int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th, tcphdr 563 include/net/tcp.h const struct tcphdr *th, u16 *mssp); tcphdr 363 include/net/vxlan.h offsetof(struct tcphdr, check); tcphdr 254 include/trace/events/tcp.h const struct tcphdr *th = (const struct tcphdr *)skb->data; tcphdr 72 include/uapi/linux/netfilter/nfnetlink_osf.h struct tcphdr tcp; tcphdr 66 include/uapi/linux/tcp.h struct tcphdr hdr; tcphdr 76 net/bridge/netfilter/nft_reject_bridge.c const struct tcphdr *oth; tcphdr 77 net/bridge/netfilter/nft_reject_bridge.c struct tcphdr _oth; tcphdr 86 net/bridge/netfilter/nft_reject_bridge.c nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct tcphdr) + tcphdr 190 net/bridge/netfilter/nft_reject_bridge.c const struct tcphdr *oth; tcphdr 191 net/bridge/netfilter/nft_reject_bridge.c struct tcphdr _oth; tcphdr 202 net/bridge/netfilter/nft_reject_bridge.c nskb = alloc_skb(sizeof(struct ipv6hdr) + sizeof(struct tcphdr) + tcphdr 3355 net/core/dev.c const struct tcphdr *th; tcphdr 3356 net/core/dev.c struct tcphdr _tcphdr; tcphdr 5795 net/core/filter.c struct tcphdr *, th, u32, th_len) tcphdr 5862 net/core/filter.c struct tcphdr *, th, u32, th_len) tcphdr 684 net/core/flow_dissector.c struct tcphdr *th, _th; tcphdr 1619 net/core/flow_dissector.c poff += max_t(u32, sizeof(struct tcphdr), (*doff & 0xF0) >> 2); tcphdr 4714 net/core/skbuff.c err = skb_maybe_pull_tail(skb, off + sizeof(struct tcphdr), tcphdr 4717 net/core/skbuff.c offsetof(struct tcphdr, tcphdr 19 net/core/tso.c struct tcphdr *tcph; tcphdr 35 net/core/tso.c tcph = (struct tcphdr *)(hdr + skb_transport_offset(skb)); tcphdr 47 net/ipv4/netfilter/ipt_ECN.c struct tcphdr _tcph, *tcph; tcphdr 19 net/ipv4/netfilter/ipt_SYNPROXY.c struct tcphdr *th, _th; tcphdr 33 net/ipv4/netfilter/nf_nat_h323.c const struct tcphdr *th; tcphdr 34 net/ipv4/netfilter/nf_nat_h323.c struct tcphdr _tcph; tcphdr 15 net/ipv4/netfilter/nf_reject_ipv4.c const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb, tcphdr 16 net/ipv4/netfilter/nf_reject_ipv4.c struct tcphdr *_oth, int hook) tcphdr 18 net/ipv4/netfilter/nf_reject_ipv4.c const struct tcphdr *oth; tcphdr 28 net/ipv4/netfilter/nf_reject_ipv4.c sizeof(struct tcphdr), _oth); tcphdr 70 net/ipv4/netfilter/nf_reject_ipv4.c const struct tcphdr *oth) tcphdr 73 net/ipv4/netfilter/nf_reject_ipv4.c struct tcphdr *tcph; tcphdr 76 net/ipv4/netfilter/nf_reject_ipv4.c tcph = skb_put_zero(nskb, sizeof(struct tcphdr)); tcphdr 79 net/ipv4/netfilter/nf_reject_ipv4.c tcph->doff = sizeof(struct tcphdr) / 4; tcphdr 91 net/ipv4/netfilter/nf_reject_ipv4.c tcph->check = ~tcp_v4_check(sizeof(struct tcphdr), niph->saddr, tcphdr 95 net/ipv4/netfilter/nf_reject_ipv4.c nskb->csum_offset = offsetof(struct tcphdr, check); tcphdr 105 net/ipv4/netfilter/nf_reject_ipv4.c const struct tcphdr *oth; tcphdr 106 net/ipv4/netfilter/nf_reject_ipv4.c struct tcphdr _oth; tcphdr 115 net/ipv4/netfilter/nf_reject_ipv4.c nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct tcphdr) + tcphdr 107 net/ipv4/netfilter/nf_socket_ipv4.c struct tcphdr _hdr; tcphdr 123 net/ipv4/netfilter/nf_socket_ipv4.c ip_hdrlen(skb) + __tcp_hdrlen((struct tcphdr *)hp) : tcphdr 23 net/ipv4/netfilter/nf_tproxy_ipv4.c struct tcphdr _hdr, *hp; tcphdr 86 net/ipv4/netfilter/nf_tproxy_ipv4.c struct tcphdr _hdr, *hp; tcphdr 89 net/ipv4/netfilter/nf_tproxy_ipv4.c sizeof(struct tcphdr), &_hdr); tcphdr 1295 net/ipv4/route.c unsigned int header_size = sizeof(struct tcphdr) + sizeof(struct iphdr); tcphdr 2983 net/ipv4/route.c struct tcphdr *tcph; tcphdr 2985 net/ipv4/route.c tcph = skb_put_zero(skb, sizeof(struct tcphdr)); tcphdr 2988 net/ipv4/route.c tcph->doff = sizeof(struct tcphdr) / 4; tcphdr 2990 net/ipv4/route.c tcph->check = ~tcp_v4_check(sizeof(struct tcphdr), tcphdr 161 net/ipv4/syncookies.c u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, tcphdr 181 net/ipv4/syncookies.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 190 net/ipv4/syncookies.c int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th, tcphdr 290 net/ipv4/syncookies.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 3742 net/ipv4/tcp.c sizeof(struct tcphdr), tcphdr 3810 net/ipv4/tcp.c const struct tcphdr *tp = tcp_hdr(skb); tcphdr 188 net/ipv4/tcp_input.c if (len >= TCP_MSS_DEFAULT + sizeof(struct tcphdr) || tcphdr 194 net/ipv4/tcp_input.c (len >= TCP_MIN_MSS + sizeof(struct tcphdr) && tcphdr 310 net/ipv4/tcp_input.c static void tcp_ecn_rcv_synack(struct tcp_sock *tp, const struct tcphdr *th) tcphdr 316 net/ipv4/tcp_input.c static void tcp_ecn_rcv_syn(struct tcp_sock *tp, const struct tcphdr *th) tcphdr 322 net/ipv4/tcp_input.c static bool tcp_ecn_rcv_ecn_echo(const struct tcp_sock *tp, const struct tcphdr *th) tcphdr 3777 net/ipv4/tcp_input.c static void smc_parse_options(const struct tcphdr *th, tcphdr 3795 net/ipv4/tcp_input.c static u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss) tcphdr 3798 net/ipv4/tcp_input.c int length = (th->doff * 4) - sizeof(struct tcphdr); tcphdr 3845 net/ipv4/tcp_input.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 3846 net/ipv4/tcp_input.c int length = (th->doff * 4) - sizeof(struct tcphdr); tcphdr 3957 net/ipv4/tcp_input.c static bool tcp_parse_aligned_timestamp(struct tcp_sock *tp, const struct tcphdr *th) tcphdr 3981 net/ipv4/tcp_input.c const struct tcphdr *th, struct tcp_sock *tp) tcphdr 4006 net/ipv4/tcp_input.c const u8 *tcp_parse_md5sig_option(const struct tcphdr *th) tcphdr 4063 net/ipv4/tcp_input.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 5308 net/ipv4/tcp_input.c static void tcp_check_urg(struct sock *sk, const struct tcphdr *th) tcphdr 5374 net/ipv4/tcp_input.c static void tcp_urg(struct sock *sk, struct sk_buff *skb, const struct tcphdr *th) tcphdr 5420 net/ipv4/tcp_input.c const struct tcphdr *th, int syn_inerr) tcphdr 5552 net/ipv4/tcp_input.c const struct tcphdr *th = (const struct tcphdr *)skb->data; tcphdr 5599 net/ipv4/tcp_input.c if (tcp_header_len == sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) { tcphdr 5623 net/ipv4/tcp_input.c (sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) && tcphdr 5658 net/ipv4/tcp_input.c (sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) && tcphdr 5871 net/ipv4/tcp_input.c const struct tcphdr *th) tcphdr 5959 net/ipv4/tcp_input.c sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; tcphdr 5963 net/ipv4/tcp_input.c tp->tcp_header_len = sizeof(struct tcphdr); tcphdr 6041 net/ipv4/tcp_input.c sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; tcphdr 6043 net/ipv4/tcp_input.c tp->tcp_header_len = sizeof(struct tcphdr); tcphdr 6139 net/ipv4/tcp_input.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 6412 net/ipv4/tcp_input.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 6533 net/ipv4/tcp_input.c struct sock *sk, struct tcphdr *th) tcphdr 87 net/ipv4/tcp_ipv4.c __be32 daddr, __be32 saddr, const struct tcphdr *th); tcphdr 427 net/ipv4/tcp_ipv4.c struct tcphdr *th = (struct tcphdr *)(icmp_skb->data + (iph->ihl << 2)); tcphdr 622 net/ipv4/tcp_ipv4.c struct tcphdr *th = tcp_hdr(skb); tcphdr 626 net/ipv4/tcp_ipv4.c skb->csum_offset = offsetof(struct tcphdr, check); tcphdr 653 net/ipv4/tcp_ipv4.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 655 net/ipv4/tcp_ipv4.c struct tcphdr th; tcphdr 686 net/ipv4/tcp_ipv4.c rep.th.doff = sizeof(struct tcphdr) / 4; tcphdr 754 net/ipv4/tcp_ipv4.c arg.csumoffset = offsetof(struct tcphdr, check) / 2; tcphdr 808 net/ipv4/tcp_ipv4.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 810 net/ipv4/tcp_ipv4.c struct tcphdr th; tcphdr 822 net/ipv4/tcp_ipv4.c memset(&rep.th, 0, sizeof(struct tcphdr)); tcphdr 865 net/ipv4/tcp_ipv4.c arg.csumoffset = offsetof(struct tcphdr, check) / 2; tcphdr 1186 net/ipv4/tcp_ipv4.c const struct tcphdr *th, int nbytes) tcphdr 1190 net/ipv4/tcp_ipv4.c struct tcphdr *_th; tcphdr 1199 net/ipv4/tcp_ipv4.c _th = (struct tcphdr *)(bp + 1); tcphdr 1210 net/ipv4/tcp_ipv4.c __be32 daddr, __be32 saddr, const struct tcphdr *th) tcphdr 1246 net/ipv4/tcp_ipv4.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 1305 net/ipv4/tcp_ipv4.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 1517 net/ipv4/tcp_ipv4.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 1526 net/ipv4/tcp_ipv4.c struct tcphdr *th, u32 *cookie) tcphdr 1613 net/ipv4/tcp_ipv4.c const struct tcphdr *th; tcphdr 1619 net/ipv4/tcp_ipv4.c if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct tcphdr))) tcphdr 1625 net/ipv4/tcp_ipv4.c if (th->doff < sizeof(struct tcphdr) / 4) tcphdr 1652 net/ipv4/tcp_ipv4.c const struct tcphdr *th; tcphdr 1653 net/ipv4/tcp_ipv4.c struct tcphdr *thtail; tcphdr 1681 net/ipv4/tcp_ipv4.c th = (const struct tcphdr *)skb->data; tcphdr 1694 net/ipv4/tcp_ipv4.c thtail = (struct tcphdr *)tail->data; tcphdr 1770 net/ipv4/tcp_ipv4.c struct tcphdr *th = (struct tcphdr *)skb->data; tcphdr 1783 net/ipv4/tcp_ipv4.c const struct tcphdr *th) tcphdr 1814 net/ipv4/tcp_ipv4.c const struct tcphdr *th; tcphdr 1825 net/ipv4/tcp_ipv4.c if (!pskb_may_pull(skb, sizeof(struct tcphdr))) tcphdr 1828 net/ipv4/tcp_ipv4.c th = (const struct tcphdr *)skb->data; tcphdr 1830 net/ipv4/tcp_ipv4.c if (unlikely(th->doff < sizeof(struct tcphdr) / 4)) tcphdr 1843 net/ipv4/tcp_ipv4.c th = (const struct tcphdr *)skb->data; tcphdr 1881 net/ipv4/tcp_ipv4.c th = (const struct tcphdr *)skb->data; tcphdr 1926 net/ipv4/tcp_ipv4.c th = (const struct tcphdr *)skb->data; tcphdr 93 net/ipv4/tcp_minisocks.c const struct tcphdr *th) tcphdr 528 net/ipv4/tcp_minisocks.c newtp->tcp_header_len = sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; tcphdr 531 net/ipv4/tcp_minisocks.c newtp->tcp_header_len = sizeof(struct tcphdr); tcphdr 574 net/ipv4/tcp_minisocks.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 580 net/ipv4/tcp_minisocks.c if (th->doff > (sizeof(struct tcphdr)>>2)) { tcphdr 35 net/ipv4/tcp_offload.c if (!pskb_may_pull(skb, sizeof(struct tcphdr))) tcphdr 40 net/ipv4/tcp_offload.c struct tcphdr *th = tcp_hdr(skb); tcphdr 59 net/ipv4/tcp_offload.c struct tcphdr *th; tcphdr 184 net/ipv4/tcp_offload.c struct tcphdr *th; tcphdr 185 net/ipv4/tcp_offload.c struct tcphdr *th2; tcphdr 290 net/ipv4/tcp_offload.c struct tcphdr *th = tcp_hdr(skb); tcphdr 293 net/ipv4/tcp_offload.c skb->csum_offset = offsetof(struct tcphdr, check); tcphdr 322 net/ipv4/tcp_offload.c struct tcphdr *th = tcp_hdr(skb); tcphdr 355 net/ipv4/tcp_output.c tcp_ecn_make_synack(const struct request_sock *req, struct tcphdr *th) tcphdr 365 net/ipv4/tcp_output.c struct tcphdr *th, int tcp_header_len) tcphdr 1028 net/ipv4/tcp_output.c struct tcphdr *th; tcphdr 1077 net/ipv4/tcp_output.c tcp_header_size = tcp_options_size + sizeof(struct tcphdr); tcphdr 1107 net/ipv4/tcp_output.c th = (struct tcphdr *)skb->data; tcphdr 1476 net/ipv4/tcp_output.c mss_now = pmtu - icsk->icsk_af_ops->net_header_len - sizeof(struct tcphdr); tcphdr 1503 net/ipv4/tcp_output.c (tcp_sk(sk)->tcp_header_len - sizeof(struct tcphdr)); tcphdr 1537 net/ipv4/tcp_output.c icsk->icsk_mtup.search_high = tp->rx_opt.mss_clamp + sizeof(struct tcphdr) + tcphdr 1611 net/ipv4/tcp_output.c sizeof(struct tcphdr); tcphdr 2057 net/ipv4/tcp_output.c sizeof(struct tcphdr) + tcphdr 3277 net/ipv4/tcp_output.c struct tcphdr *th; tcphdr 3334 net/ipv4/tcp_output.c th = (struct tcphdr *)skb->data; tcphdr 3335 net/ipv4/tcp_output.c memset(th, 0, sizeof(struct tcphdr)); tcphdr 3398 net/ipv4/tcp_output.c tp->tcp_header_len = sizeof(struct tcphdr); tcphdr 3432 net/ipv4/tcp_output.c tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), tcphdr 83 net/ipv6/ila/ila_common.c if (likely(pskb_may_pull(skb, nhoff + sizeof(struct tcphdr)))) { tcphdr 84 net/ipv6/ila/ila_common.c struct tcphdr *th = (struct tcphdr *) tcphdr 19 net/ipv6/netfilter/ip6t_SYNPROXY.c struct tcphdr *th, _th; tcphdr 15 net/ipv6/netfilter/nf_reject_ipv6.c const struct tcphdr *nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb, tcphdr 16 net/ipv6/netfilter/nf_reject_ipv6.c struct tcphdr *otcph, tcphdr 36 net/ipv6/netfilter/nf_reject_ipv6.c if (proto != IPPROTO_TCP || *otcplen < sizeof(struct tcphdr)) { tcphdr 42 net/ipv6/netfilter/nf_reject_ipv6.c otcph = skb_header_pointer(oldskb, tcphoff, sizeof(struct tcphdr), tcphdr 89 net/ipv6/netfilter/nf_reject_ipv6.c const struct tcphdr *oth, unsigned int otcplen) tcphdr 91 net/ipv6/netfilter/nf_reject_ipv6.c struct tcphdr *tcph; tcphdr 95 net/ipv6/netfilter/nf_reject_ipv6.c tcph = skb_put(nskb, sizeof(struct tcphdr)); tcphdr 97 net/ipv6/netfilter/nf_reject_ipv6.c tcph->doff = sizeof(struct tcphdr)/4; tcphdr 123 net/ipv6/netfilter/nf_reject_ipv6.c sizeof(struct tcphdr), IPPROTO_TCP, tcphdr 125 net/ipv6/netfilter/nf_reject_ipv6.c sizeof(struct tcphdr), 0)); tcphdr 133 net/ipv6/netfilter/nf_reject_ipv6.c struct tcphdr _otcph; tcphdr 134 net/ipv6/netfilter/nf_reject_ipv6.c const struct tcphdr *otcph; tcphdr 171 net/ipv6/netfilter/nf_reject_ipv6.c + sizeof(struct tcphdr) + dst->trailer_len, tcphdr 204 net/ipv6/netfilter/nf_reject_ipv6.c ip6h->payload_len = htons(sizeof(struct tcphdr)); tcphdr 114 net/ipv6/netfilter/nf_socket_ipv6.c struct tcphdr _hdr; tcphdr 128 net/ipv6/netfilter/nf_socket_ipv6.c thoff + __tcp_hdrlen((struct tcphdr *)hp) : tcphdr 46 net/ipv6/netfilter/nf_tproxy_ipv6.c struct tcphdr _hdr, *hp; tcphdr 87 net/ipv6/netfilter/nf_tproxy_ipv6.c struct tcphdr _hdr, *hp; tcphdr 90 net/ipv6/netfilter/nf_tproxy_ipv6.c sizeof(struct tcphdr), &_hdr); tcphdr 3077 net/ipv6/route.c mtu -= sizeof(struct ipv6hdr) + sizeof(struct tcphdr); tcphdr 3088 net/ipv6/route.c if (mtu > IPV6_MAXPLEN - sizeof(struct tcphdr)) tcphdr 93 net/ipv6/syncookies.c const struct tcphdr *th, __u16 *mssp) tcphdr 112 net/ipv6/syncookies.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 117 net/ipv6/syncookies.c int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th, tcphdr 135 net/ipv6/syncookies.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 301 net/ipv6/tcp_ipv6.c tp->rx_opt.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); tcphdr 364 net/ipv6/tcp_ipv6.c const struct tcphdr *th = (struct tcphdr *)(skb->data+offset); tcphdr 596 net/ipv6/tcp_ipv6.c const struct tcphdr *th, int nbytes) tcphdr 600 net/ipv6/tcp_ipv6.c struct tcphdr *_th; tcphdr 609 net/ipv6/tcp_ipv6.c _th = (struct tcphdr *)(bp + 1); tcphdr 621 net/ipv6/tcp_ipv6.c const struct tcphdr *th) tcphdr 659 net/ipv6/tcp_ipv6.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 707 net/ipv6/tcp_ipv6.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 789 net/ipv6/tcp_ipv6.c .mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - tcphdr 810 net/ipv6/tcp_ipv6.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 811 net/ipv6/tcp_ipv6.c struct tcphdr *t1; tcphdr 816 net/ipv6/tcp_ipv6.c unsigned int tot_len = sizeof(struct tcphdr); tcphdr 925 net/ipv6/tcp_ipv6.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 1065 net/ipv6/tcp_ipv6.c const struct tcphdr *th = tcp_hdr(skb); tcphdr 1074 net/ipv6/tcp_ipv6.c struct tcphdr *th, u32 *cookie) tcphdr 1456 net/ipv6/tcp_ipv6.c const struct tcphdr *th) tcphdr 1483 net/ipv6/tcp_ipv6.c const struct tcphdr *th; tcphdr 1498 net/ipv6/tcp_ipv6.c if (!pskb_may_pull(skb, sizeof(struct tcphdr))) tcphdr 1501 net/ipv6/tcp_ipv6.c th = (const struct tcphdr *)skb->data; tcphdr 1503 net/ipv6/tcp_ipv6.c if (unlikely(th->doff < sizeof(struct tcphdr)/4)) tcphdr 1511 net/ipv6/tcp_ipv6.c th = (const struct tcphdr *)skb->data; tcphdr 1548 net/ipv6/tcp_ipv6.c th = (const struct tcphdr *)skb->data; tcphdr 1591 net/ipv6/tcp_ipv6.c th = (const struct tcphdr *)skb->data; tcphdr 1701 net/ipv6/tcp_ipv6.c const struct tcphdr *th; tcphdr 1707 net/ipv6/tcp_ipv6.c if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct tcphdr))) tcphdr 1713 net/ipv6/tcp_ipv6.c if (th->doff < sizeof(struct tcphdr) / 4) tcphdr 32 net/ipv6/tcpv6_offload.c struct tcphdr *th = tcp_hdr(skb); tcphdr 44 net/ipv6/tcpv6_offload.c struct tcphdr *th; tcphdr 54 net/ipv6/tcpv6_offload.c struct tcphdr *th = tcp_hdr(skb); tcphdr 30 net/netfilter/ipset/ip_set_getport.c struct tcphdr _tcph; tcphdr 31 net/netfilter/ipset/ip_set_getport.c const struct tcphdr *th; tcphdr 288 net/netfilter/ipvs/ip_vs_app.c static inline void vs_fix_seq(const struct ip_vs_seq *vseq, struct tcphdr *th) tcphdr 315 net/netfilter/ipvs/ip_vs_app.c vs_fix_ack_seq(const struct ip_vs_seq *vseq, struct tcphdr *th) tcphdr 366 net/netfilter/ipvs/ip_vs_app.c struct tcphdr *th; tcphdr 372 net/netfilter/ipvs/ip_vs_app.c th = (struct tcphdr *)(skb_network_header(skb) + tcp_offset); tcphdr 443 net/netfilter/ipvs/ip_vs_app.c struct tcphdr *th; tcphdr 449 net/netfilter/ipvs/ip_vs_app.c th = (struct tcphdr *)(skb_network_header(skb) + tcp_offset); tcphdr 1085 net/netfilter/ipvs/ip_vs_core.c struct tcphdr _tcph, *th; tcphdr 1098 net/netfilter/ipvs/ip_vs_core.c struct tcphdr _tcph, *th; tcphdr 68 net/netfilter/ipvs/ip_vs_ftp.c struct tcphdr *th = (struct tcphdr *)((char *)skb->data + ipvsh->len); tcphdr 70 net/netfilter/ipvs/ip_vs_ftp.c if ((th->doff << 2) < sizeof(struct tcphdr)) tcphdr 41 net/netfilter/ipvs/ip_vs_proto_tcp.c struct tcphdr _tcph, *th; tcphdr 105 net/netfilter/ipvs/ip_vs_proto_tcp.c tcp_fast_csum_update(int af, struct tcphdr *tcph, tcphdr 126 net/netfilter/ipvs/ip_vs_proto_tcp.c tcp_partial_csum_update(int af, struct tcphdr *tcph, tcphdr 150 net/netfilter/ipvs/ip_vs_proto_tcp.c struct tcphdr *tcph; tcphdr 228 net/netfilter/ipvs/ip_vs_proto_tcp.c struct tcphdr *tcph; tcphdr 498 net/netfilter/ipvs/ip_vs_proto_tcp.c static inline int tcp_state_idx(struct tcphdr *th) tcphdr 513 net/netfilter/ipvs/ip_vs_proto_tcp.c int direction, struct tcphdr *th) tcphdr 590 net/netfilter/ipvs/ip_vs_proto_tcp.c struct tcphdr _tcph, *th; tcphdr 379 net/netfilter/nf_conntrack_ftp.c const struct tcphdr *th; tcphdr 380 net/netfilter/nf_conntrack_ftp.c struct tcphdr _tcph; tcphdr 124 net/netfilter/nf_conntrack_h323_main.c const struct tcphdr *th; tcphdr 125 net/netfilter/nf_conntrack_h323_main.c struct tcphdr _tcph; tcphdr 111 net/netfilter/nf_conntrack_irc.c const struct tcphdr *th; tcphdr 112 net/netfilter/nf_conntrack_irc.c struct tcphdr _tcph; tcphdr 521 net/netfilter/nf_conntrack_pptp.c const struct tcphdr *tcph; tcphdr 522 net/netfilter/nf_conntrack_pptp.c struct tcphdr _tcph; tcphdr 283 net/netfilter/nf_conntrack_proto_tcp.c static unsigned int get_conntrack_index(const struct tcphdr *tcph) tcphdr 324 net/netfilter/nf_conntrack_proto_tcp.c const struct tcphdr *tcph) tcphdr 343 net/netfilter/nf_conntrack_proto_tcp.c const struct tcphdr *tcph, tcphdr 346 net/netfilter/nf_conntrack_proto_tcp.c unsigned char buff[(15 * 4) - sizeof(struct tcphdr)]; tcphdr 348 net/netfilter/nf_conntrack_proto_tcp.c int length = (tcph->doff*4) - sizeof(struct tcphdr); tcphdr 353 net/netfilter/nf_conntrack_proto_tcp.c ptr = skb_header_pointer(skb, dataoff + sizeof(struct tcphdr), tcphdr 399 net/netfilter/nf_conntrack_proto_tcp.c const struct tcphdr *tcph, __u32 *sack) tcphdr 401 net/netfilter/nf_conntrack_proto_tcp.c unsigned char buff[(15 * 4) - sizeof(struct tcphdr)]; tcphdr 403 net/netfilter/nf_conntrack_proto_tcp.c int length = (tcph->doff*4) - sizeof(struct tcphdr); tcphdr 409 net/netfilter/nf_conntrack_proto_tcp.c ptr = skb_header_pointer(skb, dataoff + sizeof(struct tcphdr), tcphdr 467 net/netfilter/nf_conntrack_proto_tcp.c const struct tcphdr *tcph) tcphdr 722 net/netfilter/nf_conntrack_proto_tcp.c static bool tcp_error(const struct tcphdr *th, tcphdr 731 net/netfilter/nf_conntrack_proto_tcp.c if (th->doff*4 < sizeof(struct tcphdr) || tcplen < th->doff*4) { tcphdr 760 net/netfilter/nf_conntrack_proto_tcp.c const struct tcphdr *th) tcphdr 849 net/netfilter/nf_conntrack_proto_tcp.c const struct tcphdr *th; tcphdr 850 net/netfilter/nf_conntrack_proto_tcp.c struct tcphdr _tcph; tcphdr 68 net/netfilter/nf_conntrack_sane.c const struct tcphdr *th; tcphdr 69 net/netfilter/nf_conntrack_sane.c struct tcphdr _tcph; tcphdr 64 net/netfilter/nf_conntrack_seqadj.c const struct tcphdr *th; tcphdr 69 net/netfilter/nf_conntrack_seqadj.c th = (struct tcphdr *)(skb_network_header(skb) + ip_hdrlen(skb)); tcphdr 76 net/netfilter/nf_conntrack_seqadj.c struct tcphdr *tcph, tcphdr 122 net/netfilter/nf_conntrack_seqadj.c struct tcphdr *tcph = (void *)skb->data + protoff; tcphdr 126 net/netfilter/nf_conntrack_seqadj.c optoff = protoff + sizeof(struct tcphdr); tcphdr 169 net/netfilter/nf_conntrack_seqadj.c struct tcphdr *tcph; tcphdr 1530 net/netfilter/nf_conntrack_sip.c struct tcphdr *th, _tcph; tcphdr 350 net/netfilter/nf_flow_table_core.c struct tcphdr *tcph; tcphdr 22 net/netfilter/nf_flow_table_ip.c struct tcphdr *tcph; tcphdr 42 net/netfilter/nf_flow_table_ip.c struct tcphdr *tcph; tcphdr 309 net/netfilter/nf_flow_table_ip.c struct tcphdr *tcph; tcphdr 57 net/netfilter/nf_log_common.c struct tcphdr _tcph; tcphdr 58 net/netfilter/nf_log_common.c const struct tcphdr *th; tcphdr 107 net/netfilter/nf_log_common.c if ((logflags & NF_LOG_TCPOPT) && th->doff*4 > sizeof(struct tcphdr)) { tcphdr 108 net/netfilter/nf_log_common.c u_int8_t _opt[60 - sizeof(struct tcphdr)]; tcphdr 111 net/netfilter/nf_log_common.c unsigned int optsize = th->doff*4 - sizeof(struct tcphdr); tcphdr 113 net/netfilter/nf_log_common.c op = skb_header_pointer(skb, offset + sizeof(struct tcphdr), tcphdr 95 net/netfilter/nf_nat_helper.c struct tcphdr *tcph; tcphdr 146 net/netfilter/nf_nat_proto.c struct tcphdr *hdr; tcphdr 153 net/netfilter/nf_nat_proto.c if (skb->len >= hdroff + sizeof(struct tcphdr)) tcphdr 154 net/netfilter/nf_nat_proto.c hdrsize = sizeof(struct tcphdr); tcphdr 159 net/netfilter/nf_nat_proto.c hdr = (struct tcphdr *)(skb->data + hdroff); tcphdr 42 net/netfilter/nf_nat_sip.c struct tcphdr *th; tcphdr 46 net/netfilter/nf_nat_sip.c th = (struct tcphdr *)(skb->data + protoff); tcphdr 308 net/netfilter/nf_nat_sip.c const struct tcphdr *th; tcphdr 313 net/netfilter/nf_nat_sip.c th = (struct tcphdr *)(skb->data + protoff); tcphdr 29 net/netfilter/nf_synproxy_core.c const struct tcphdr *th, struct synproxy_options *opts) tcphdr 110 net/netfilter/nf_synproxy_core.c synproxy_build_options(struct tcphdr *th, const struct synproxy_options *opts) tcphdr 181 net/netfilter/nf_synproxy_core.c struct tcphdr *th, struct nf_conn *ct, tcphdr 191 net/netfilter/nf_synproxy_core.c optoff = protoff + sizeof(struct tcphdr); tcphdr 439 net/netfilter/nf_synproxy_core.c struct iphdr *niph, struct tcphdr *nth, tcphdr 445 net/netfilter/nf_synproxy_core.c nskb->csum_offset = offsetof(struct tcphdr, check); tcphdr 466 net/netfilter/nf_synproxy_core.c const struct sk_buff *skb, const struct tcphdr *th, tcphdr 471 net/netfilter/nf_synproxy_core.c struct tcphdr *nth; tcphdr 509 net/netfilter/nf_synproxy_core.c const struct sk_buff *skb, const struct tcphdr *th, tcphdr 515 net/netfilter/nf_synproxy_core.c struct tcphdr *nth; tcphdr 555 net/netfilter/nf_synproxy_core.c const struct sk_buff *skb, const struct tcphdr *th, tcphdr 560 net/netfilter/nf_synproxy_core.c struct tcphdr *nth; tcphdr 593 net/netfilter/nf_synproxy_core.c const struct sk_buff *skb, const struct tcphdr *th, tcphdr 598 net/netfilter/nf_synproxy_core.c struct tcphdr *nth; tcphdr 632 net/netfilter/nf_synproxy_core.c const struct sk_buff *skb, const struct tcphdr *th, tcphdr 667 net/netfilter/nf_synproxy_core.c struct tcphdr *th, _th; tcphdr 834 net/netfilter/nf_synproxy_core.c struct ipv6hdr *niph, struct tcphdr *nth, tcphdr 844 net/netfilter/nf_synproxy_core.c nskb->csum_offset = offsetof(struct tcphdr, check); tcphdr 880 net/netfilter/nf_synproxy_core.c const struct tcphdr *th, tcphdr 885 net/netfilter/nf_synproxy_core.c struct tcphdr *nth; tcphdr 924 net/netfilter/nf_synproxy_core.c const struct tcphdr *th, tcphdr 930 net/netfilter/nf_synproxy_core.c struct tcphdr *nth; tcphdr 970 net/netfilter/nf_synproxy_core.c const struct tcphdr *th, tcphdr 975 net/netfilter/nf_synproxy_core.c struct tcphdr *nth; tcphdr 1009 net/netfilter/nf_synproxy_core.c const struct tcphdr *th, tcphdr 1014 net/netfilter/nf_synproxy_core.c struct tcphdr *nth; tcphdr 1050 net/netfilter/nf_synproxy_core.c const struct tcphdr *th, tcphdr 1085 net/netfilter/nf_synproxy_core.c struct tcphdr *th, _th; tcphdr 165 net/netfilter/nfnetlink_osf.c static const struct tcphdr *nf_osf_hdr_ctx_init(struct nf_osf_hdr_ctx *ctx, tcphdr 169 net/netfilter/nfnetlink_osf.c struct tcphdr *_tcph) tcphdr 171 net/netfilter/nfnetlink_osf.c const struct tcphdr *tcp; tcphdr 173 net/netfilter/nfnetlink_osf.c tcp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(struct tcphdr), _tcph); tcphdr 184 net/netfilter/nfnetlink_osf.c if (tcp->doff * 4 > sizeof(struct tcphdr)) { tcphdr 185 net/netfilter/nfnetlink_osf.c ctx->optsize = tcp->doff * 4 - sizeof(struct tcphdr); tcphdr 188 net/netfilter/nfnetlink_osf.c sizeof(struct tcphdr), ctx->optsize, opts); tcphdr 207 net/netfilter/nfnetlink_osf.c const struct tcphdr *tcp; tcphdr 208 net/netfilter/nfnetlink_osf.c struct tcphdr _tcph; tcphdr 268 net/netfilter/nfnetlink_osf.c const struct tcphdr *tcp; tcphdr 269 net/netfilter/nfnetlink_osf.c struct tcphdr _tcph; tcphdr 163 net/netfilter/nft_exthdr.c struct tcphdr *tcph; tcphdr 183 net/netfilter/nft_exthdr.c u8 buff[sizeof(struct tcphdr) + MAX_TCP_OPTION_SPACE]; tcphdr 187 net/netfilter/nft_exthdr.c struct tcphdr *tcph; tcphdr 226 net/netfilter/nft_exthdr.c u8 buff[sizeof(struct tcphdr) + MAX_TCP_OPTION_SPACE]; tcphdr 229 net/netfilter/nft_exthdr.c struct tcphdr *tcph; tcphdr 76 net/netfilter/nft_flow_offload.c struct tcphdr _tcph, *tcph = NULL; tcphdr 27 net/netfilter/nft_osf.c const struct tcphdr *tcp; tcphdr 29 net/netfilter/nft_osf.c struct tcphdr _tcph; tcphdr 32 net/netfilter/nft_osf.c sizeof(struct tcphdr), &_tcph); tcphdr 284 net/netfilter/nft_payload.c case offsetof(struct tcphdr, source): tcphdr 291 net/netfilter/nft_payload.c case offsetof(struct tcphdr, dest): tcphdr 419 net/netfilter/nft_payload.c *l4csum_offset = offsetof(struct tcphdr, check); tcphdr 33 net/netfilter/nft_rt.c minlen = sizeof(struct iphdr) + sizeof(struct tcphdr); tcphdr 37 net/netfilter/nft_rt.c minlen = sizeof(struct ipv6hdr) + sizeof(struct tcphdr); tcphdr 24 net/netfilter/nft_synproxy.c const struct tcphdr *tcp, tcphdr 47 net/netfilter/nft_synproxy.c const struct tcphdr *tcp, tcphdr 48 net/netfilter/nft_synproxy.c struct tcphdr *_tcph, tcphdr 78 net/netfilter/nft_synproxy.c const struct tcphdr *tcp, tcphdr 79 net/netfilter/nft_synproxy.c struct tcphdr *_tcph, tcphdr 113 net/netfilter/nft_synproxy.c const struct tcphdr *tcp; tcphdr 114 net/netfilter/nft_synproxy.c struct tcphdr _tcph; tcphdr 127 net/netfilter/nft_synproxy.c sizeof(struct tcphdr), tcphdr 78 net/netfilter/xt_TCPMSS.c struct tcphdr *tcph; tcphdr 93 net/netfilter/xt_TCPMSS.c if (len < (int)sizeof(struct tcphdr)) tcphdr 96 net/netfilter/xt_TCPMSS.c tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff); tcphdr 99 net/netfilter/xt_TCPMSS.c if (len < tcp_hdrlen || tcp_hdrlen < sizeof(struct tcphdr)) tcphdr 117 net/netfilter/xt_TCPMSS.c for (i = sizeof(struct tcphdr); i <= tcp_hdrlen - TCPOLEN_MSS; i += optlen(opt, i)) { tcphdr 159 net/netfilter/xt_TCPMSS.c tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff); tcphdr 176 net/netfilter/xt_TCPMSS.c opt = (u_int8_t *)tcph + sizeof(struct tcphdr); tcphdr 177 net/netfilter/xt_TCPMSS.c memmove(opt + TCPOLEN_MSS, opt, len - sizeof(struct tcphdr)); tcphdr 205 net/netfilter/xt_TCPMSS.c sizeof(*iph) + sizeof(struct tcphdr)); tcphdr 234 net/netfilter/xt_TCPMSS.c sizeof(*ipv6h) + sizeof(struct tcphdr)); tcphdr 34 net/netfilter/xt_TCPOPTSTRIP.c struct tcphdr *tcph, _th; tcphdr 49 net/netfilter/xt_TCPOPTSTRIP.c if (tcp_hdrlen < sizeof(struct tcphdr)) tcphdr 56 net/netfilter/xt_TCPOPTSTRIP.c tcph = (struct tcphdr *)(skb_network_header(skb) + tcphoff); tcphdr 63 net/netfilter/xt_TCPOPTSTRIP.c for (i = sizeof(struct tcphdr); i < tcp_hdrlen - 1; i += optl) { tcphdr 30 net/netfilter/xt_ecn.c struct tcphdr _tcph; tcphdr 31 net/netfilter/xt_ecn.c const struct tcphdr *th; tcphdr 28 net/netfilter/xt_tcpmss.c const struct tcphdr *th; tcphdr 29 net/netfilter/xt_tcpmss.c struct tcphdr _tcph; tcphdr 41 net/netfilter/xt_tcpudp.c u_int8_t _opt[60 - sizeof(struct tcphdr)]; tcphdr 50 net/netfilter/xt_tcpudp.c op = skb_header_pointer(skb, protoff + sizeof(struct tcphdr), tcphdr 68 net/netfilter/xt_tcpudp.c const struct tcphdr *th; tcphdr 69 net/netfilter/xt_tcpudp.c struct tcphdr _tcph; tcphdr 354 net/openvswitch/actions.c if (likely(transport_len >= sizeof(struct tcphdr))) tcphdr 386 net/openvswitch/actions.c if (likely(transport_len >= sizeof(struct tcphdr))) tcphdr 684 net/openvswitch/actions.c struct tcphdr *th; tcphdr 689 net/openvswitch/actions.c sizeof(struct tcphdr)); tcphdr 213 net/openvswitch/flow.c if (unlikely(!pskb_may_pull(skb, th_ofs + sizeof(struct tcphdr)))) tcphdr 217 net/openvswitch/flow.c if (unlikely(tcp_len < sizeof(struct tcphdr) || tcphdr 575 net/openvswitch/flow.c struct tcphdr *tcp = tcp_hdr(skb); tcphdr 691 net/openvswitch/flow.c struct tcphdr *tcp = tcp_hdr(skb); tcphdr 210 net/sched/act_csum.c struct tcphdr *tcph; tcphdr 234 net/sched/act_csum.c struct tcphdr *tcph; tcphdr 172 net/sched/act_nat.c struct tcphdr *tcph; tcphdr 865 net/sched/sch_cake.c static struct tcphdr *cake_get_tcphdr(const struct sk_buff *skb, tcphdr 870 net/sched/sch_cake.c const struct tcphdr *tcph; tcphdr 873 net/sched/sch_cake.c struct tcphdr _tcph; tcphdr 917 net/sched/sch_cake.c static const void *cake_get_tcpopt(const struct tcphdr *tcph, tcphdr 921 net/sched/sch_cake.c int length = __tcp_hdrlen(tcph) - sizeof(struct tcphdr); tcphdr 957 net/sched/sch_cake.c static int cake_tcph_sack_compare(const struct tcphdr *tcph_a, tcphdr 958 net/sched/sch_cake.c const struct tcphdr *tcph_b) tcphdr 1027 net/sched/sch_cake.c static void cake_tcph_get_tstamp(const struct tcphdr *tcph, tcphdr 1041 net/sched/sch_cake.c static bool cake_tcph_may_drop(const struct tcphdr *tcph, tcphdr 1045 net/sched/sch_cake.c int length = __tcp_hdrlen(tcph) - sizeof(struct tcphdr); tcphdr 1119 net/sched/sch_cake.c const struct tcphdr *tcph, *tcph_check; tcphdr 1328 net/sched/sch_cake.c const struct tcphdr *th; tcphdr 1329 net/sched/sch_cake.c struct tcphdr _tcphdr; tcphdr 169 net/tls/tls_device_fallback.c struct tcphdr *th = tcp_hdr(skb); tcphdr 182 net/tls/tls_device_fallback.c skb->csum_offset = offsetof(struct tcphdr, check); tcphdr 24 samples/bpf/parse_varlen.c struct tcphdr *tcp = data + tp_off; tcphdr 31 samples/bpf/tcbpf1_kern.c #define TCP_CSUM_OFF (ETH_HLEN + sizeof(struct iphdr) + offsetof(struct tcphdr, check)) tcphdr 45 samples/bpf/tcbpf1_kern.c #define TCP_DPORT_OFF (ETH_HLEN + sizeof(struct iphdr) + offsetof(struct tcphdr, dest)) tcphdr 88 samples/bpf/test_lwt_bpf.c #define TCP_CSUM_OFF offsetof(struct tcphdr, check) tcphdr 48 samples/bpf/xdp_tx_iptunnel_kern.c struct tcphdr *th; tcphdr 53 samples/bpf/xdp_tx_iptunnel_kern.c th = (struct tcphdr *)trans_data; tcphdr 60 security/lsm_audit.c struct tcphdr *th = tcp_hdr(skb); tcphdr 134 security/lsm_audit.c struct tcphdr _tcph, *th; tcphdr 4199 security/selinux/hooks.c struct tcphdr _tcph, *th; tcphdr 4301 security/selinux/hooks.c struct tcphdr _tcph, *th; tcphdr 3785 security/smack/smack_lsm.c struct tcphdr _tcph, *th; tcphdr 41 tools/testing/selftests/bpf/prog_tests/flow_dissector.c struct tcphdr tcp; tcphdr 48 tools/testing/selftests/bpf/prog_tests/flow_dissector.c struct tcphdr tcp; tcphdr 56 tools/testing/selftests/bpf/prog_tests/flow_dissector.c struct tcphdr tcp; tcphdr 62 tools/testing/selftests/bpf/prog_tests/flow_dissector.c struct tcphdr tcp; tcphdr 74 tools/testing/selftests/bpf/prog_tests/flow_dissector.c struct tcphdr tcp; tcphdr 84 tools/testing/selftests/bpf/prog_tests/flow_dissector.c struct tcphdr tcp; tcphdr 158 tools/testing/selftests/bpf/progs/bpf_flow.c struct tcphdr *tcp, _tcp; tcphdr 305 tools/testing/selftests/bpf/progs/test_l4lb.c struct tcphdr *tcp; tcphdr 305 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c struct tcphdr *tcp; tcphdr 26 tools/testing/selftests/bpf/progs/test_pkt_access.c struct tcphdr *tcp = NULL; tcphdr 40 tools/testing/selftests/bpf/progs/test_pkt_access.c tcp = (struct tcphdr *)((void *)(iph) + ihl_len); tcphdr 48 tools/testing/selftests/bpf/progs/test_pkt_access.c tcp = (struct tcphdr *)((void *)(ip6h) + ihl_len); tcphdr 108 tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c struct tcphdr *th = data; tcphdr 65 tools/testing/selftests/bpf/progs/test_tc_edt.c static inline int handle_tcp(struct __sk_buff *skb, struct tcphdr *tcp) tcphdr 97 tools/testing/selftests/bpf/progs/test_tc_edt.c return handle_tcp(skb, (struct tcphdr *)(((void *)iph) + ihl)); tcphdr 78 tools/testing/selftests/bpf/progs/test_tc_tunnel.c struct tcphdr tcph; tcphdr 223 tools/testing/selftests/bpf/progs/test_tc_tunnel.c struct tcphdr tcph; tcphdr 28 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c struct tcphdr *tcph) tcphdr 53 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c struct tcphdr *tcph; tcphdr 56 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c char header[sizeof(struct ipv6hdr) + sizeof(struct tcphdr)]; tcphdr 57 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c struct tcphdr *thdr; tcphdr 99 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c sizeof(struct tcphdr))); tcphdr 103 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c thdr = (struct tcphdr *)(header + offset); tcphdr 531 tools/testing/selftests/bpf/progs/test_tunnel_kern.c struct tcphdr *tcp = data + sizeof(*iph); tcphdr 588 tools/testing/selftests/bpf/progs/test_tunnel_kern.c struct tcphdr *tcp = data + sizeof(*iph); tcphdr 637 tools/testing/selftests/bpf/progs/test_tunnel_kern.c struct tcphdr *tcp = data + sizeof(*iph); tcphdr 51 tools/testing/selftests/bpf/progs/test_xdp.c struct tcphdr *th; tcphdr 56 tools/testing/selftests/bpf/progs/test_xdp.c th = (struct tcphdr *)trans_data; tcphdr 47 tools/testing/selftests/bpf/progs/test_xdp_loop.c struct tcphdr *th; tcphdr 52 tools/testing/selftests/bpf/progs/test_xdp_loop.c th = (struct tcphdr *)trans_data; tcphdr 260 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct tcphdr *tcp; tcphdr 83 tools/testing/selftests/bpf/test_progs.h struct tcphdr tcp; tcphdr 91 tools/testing/selftests/bpf/test_progs.h struct tcphdr tcp; tcphdr 704 tools/testing/selftests/net/msg_zerocopy.c sizeof(struct tcphdr) - tcphdr 144 tools/testing/selftests/net/so_txtime.c sizeof(struct tcphdr) + 1];