/linux-4.4.14/net/ipv4/ |
D | tcp_offload.c | 40 struct tcphdr *th = tcp_hdr(skb); in tcp4_gso_segment() 69 th = tcp_hdr(skb); in tcp_gso_segment() 125 th = tcp_hdr(skb); in tcp_gso_segment() 148 th = tcp_hdr(skb); in tcp_gso_segment() 222 th2 = tcp_hdr(p); in tcp_gro_receive() 256 th2 = tcp_hdr(p); in tcp_gro_receive() 276 struct tcphdr *th = tcp_hdr(skb); in tcp_gro_complete() 307 struct tcphdr *th = tcp_hdr(skb); in tcp4_gro_complete()
|
D | tcp_ipv4.c | 104 tcp_hdr(skb)->dest, in tcp_v4_init_sequence() 105 tcp_hdr(skb)->source); in tcp_v4_init_sequence() 546 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check() 584 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset() 717 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_ack() 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() 1390 tcp_rcv_established(sk, skb, tcp_hdr(skb), skb->len); in tcp_v4_do_rcv() 1451 th = tcp_hdr(skb); in tcp_v4_early_demux() [all …]
|
D | syncookies.c | 198 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence() 301 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_check()
|
D | tcp_minisocks.c | 527 newtp->snd_wnd = (ntohs(tcp_hdr(skb)->window) << in tcp_create_openreq_child() 577 const struct tcphdr *th = tcp_hdr(skb); in tcp_check_req()
|
D | tcp_input.c | 160 !(tcp_flag_word(tcp_hdr(skb)) & TCP_REMNANT))) { in tcp_measure_rcv_mss() 218 if (tcp_hdr(skb)->cwr) in tcp_ecn_accept_cwr() 3360 u32 nwin = ntohs(tcp_hdr(skb)->window); in tcp_ack_update_window() 3362 if (likely(!tcp_hdr(skb)->syn)) in tcp_ack_update_window() 3405 !tcp_hdr(skb)->syn) in tcp_oow_rate_limited() 3592 if (tcp_ecn_rcv_ecn_echo(tp, tcp_hdr(skb))) { in tcp_ack() 3702 const struct tcphdr *th = tcp_hdr(skb); in tcp_parse_options() 3916 const struct tcphdr *th = tcp_hdr(skb); in tcp_disordered_ack() 4544 __skb_pull(skb, tcp_hdr(skb)->doff * 4); in tcp_data_queue() 5749 const struct tcphdr *th = tcp_hdr(skb); in tcp_rcv_state_process() [all …]
|
D | tcp_fastopen.c | 163 tp->snd_wnd = ntohs(tcp_hdr(skb)->window); in tcp_fastopen_create_child()
|
D | tcp_output.c | 381 tcp_hdr(skb)->cwr = 1; in tcp_ecn_send() 389 tcp_hdr(skb)->ece = 1; in tcp_ecn_send() 960 th = tcp_hdr(skb); in tcp_transmit_skb() 3002 th = tcp_hdr(skb); in tcp_make_synack()
|
D | ip_output.c | 1580 tcp_hdr(skb)->source, tcp_hdr(skb)->dest); in ip_send_unicast_reply()
|
D | tcp.c | 3022 const struct tcphdr *tp = tcp_hdr(skb); in tcp_md5_hash_skb_data()
|
/linux-4.4.14/net/ipv6/ |
D | tcpv6_offload.c | 35 struct tcphdr *th = tcp_hdr(skb); in tcp6_gro_complete() 54 struct tcphdr *th = tcp_hdr(skb); in tcp6_gso_segment()
|
D | tcp_ipv6.c | 109 tcp_hdr(skb)->dest, in tcp_v6_init_sequence() 110 tcp_hdr(skb)->source); in tcp_v6_init_sequence() 589 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb() 638 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_inbound_md5_hash() 741 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_response() 837 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_reset() 947 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_cookie_check() 1238 tcp_rcv_established(sk, skb, tcp_hdr(skb), skb->len); in tcp_v6_do_rcv() 1366 th = tcp_hdr(skb); in tcp_v6_rcv() 1376 th = tcp_hdr(skb); in tcp_v6_rcv() [all …]
|
D | syncookies.c | 120 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_init_sequence() 143 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_check()
|
/linux-4.4.14/include/linux/ |
D | tcp.h | 27 static inline struct tcphdr *tcp_hdr(const struct sk_buff *skb) in tcp_hdr() function 34 return tcp_hdr(skb)->doff * 4; in tcp_hdrlen() 49 return (tcp_hdr(skb)->doff - 5) * 4; in tcp_optlen()
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | tx.c | 869 EFX_BUG_ON_PARANOID((PTR_DIFF(tcp_hdr(skb), skb->data) in efx_tso_check_protocol() 870 + (tcp_hdr(skb)->doff << 2u)) > in efx_tso_check_protocol() 1022 header_len = st->tcp_off + (tcp_hdr(skb)->doff << 2u); in tso_start() 1033 st->seqnum = ntohl(tcp_hdr(skb)->seq); in tso_start() 1035 EFX_BUG_ON_PARANOID(tcp_hdr(skb)->urg); in tso_start() 1036 EFX_BUG_ON_PARANOID(tcp_hdr(skb)->syn); in tso_start() 1037 EFX_BUG_ON_PARANOID(tcp_hdr(skb)->rst); in tso_start() 1204 u8 tcp_flags = ((u8 *)tcp_hdr(skb))[13] & ~tcp_flags_clear; in tso_start_new_packet()
|
/linux-4.4.14/include/net/ |
D | ip6_checksum.h | 71 struct tcphdr *th = tcp_hdr(skb); in __tcp_v6_send_check()
|
/linux-4.4.14/net/core/ |
D | tso.c | 69 tso->tcp_seq = ntohl(tcp_hdr(skb)->seq); in tso_start()
|
D | skbuff.c | 3842 return err ? ERR_PTR(err) : &tcp_hdr(skb)->check; in skb_checksum_setup_ip()
|
/linux-4.4.14/net/openvswitch/ |
D | flow.c | 536 struct tcphdr *tcp = tcp_hdr(skb); in key_extract() 655 struct tcphdr *tcp = tcp_hdr(skb); in key_extract()
|
D | actions.c | 298 inet_proto_csum_replace4(&tcp_hdr(skb)->check, skb, in update_ip_l4_checksum() 330 inet_proto_csum_replace16(&tcp_hdr(skb)->check, skb, in update_ipv6_checksum() 573 th = tcp_hdr(skb); in set_tcp()
|
/linux-4.4.14/security/ |
D | lsm_audit.c | 63 struct tcphdr *th = tcp_hdr(skb); in ipv4_skb_to_auditdata()
|
/linux-4.4.14/drivers/net/hyperv/ |
D | netvsc_drv.c | 601 tcp_hdr(skb)->check = in netvsc_start_xmit() 608 tcp_hdr(skb)->check = in netvsc_start_xmit()
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_l3_main.c | 2785 struct tcphdr *tcph = tcp_hdr(skb); in qeth_tso_fill_header() 2819 unsigned long tcpd = (unsigned long)tcp_hdr(skb) + in qeth_l3_tso_elements() 2820 tcp_hdr(skb)->doff * 4; in qeth_l3_tso_elements() 2966 len = ((unsigned long)tcp_hdr(new_skb) + in qeth_l3_hard_start_xmit() 2967 tcp_hdr(new_skb)->doff * 4) - in qeth_l3_hard_start_xmit()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 1466 tcph = skb->encapsulation ? inner_tcp_hdr(skb) : tcp_hdr(skb); in i40e_tso() 1472 tcph = skb->encapsulation ? inner_tcp_hdr(skb) : tcp_hdr(skb); in i40e_tso()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 710 th = tcp_hdr(skb); in bnx2x_gro_ip_csum() 722 th = tcp_hdr(skb); in bnx2x_gro_ipv6_csum() 3534 pbd->tcp_send_seq = bswab32(tcp_hdr(skb)->seq); in bnx2x_set_pbd_gso() 3535 pbd->tcp_flags = pbd_tcp_flags(tcp_hdr(skb)); in bnx2x_set_pbd_gso() 3668 pbd->tcp_pseudo_csum = bswab16(tcp_hdr(skb)->check); in bnx2x_set_pbd_csum()
|
D | bnx2x.h | 887 #define pbd_tcp_flags(tcp_hdr) (ntohl(tcp_flag_word(tcp_hdr))>>16 & 0xff) argument
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | sunvnet.c | 331 struct tcphdr *ptcp = tcp_hdr(skb); in vnet_fullcsum() 1164 hlen += tcp_hdr(skb)->doff * 4; in vnet_handle_offloads()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes_nic.c | 391 tcph = tcp_hdr(skb); in nes_nic_send() 568 curr_tcp_seq = ntohl(tcp_hdr(skb)->seq); in nes_netdev_start_xmit()
|
D | nes_cm.c | 864 new_send->seq_num = ntohl(tcp_hdr(skb)->seq); in schedule_nes_timer() 2350 struct tcphdr *tcph = tcp_hdr(skb); in process_packet()
|
D | nes_hw.c | 1656 *tcph = tcp_hdr(skb); in nes_lro_get_skb_hdr()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 1239 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in ixgb_tso() 1246 tucso = (void *)&(tcp_hdr(skb)->check) - (void *)skb->data; in ixgb_tso()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_main.c | 2597 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in ql_tso() 2603 tcp_hdr(skb)->check = in ql_tso() 2628 check = &(tcp_hdr(skb)->check); in ql_hw_csum_setup() 2632 (tcp_hdr(skb)->doff << 2)); in ql_hw_csum_setup()
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1939 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in igbvf_tso() 1945 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in igbvf_tso()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 2217 tcph = skb->encapsulation ? inner_tcp_hdr(skb) : tcp_hdr(skb); in i40e_tso() 2223 tcph = skb->encapsulation ? inner_tcp_hdr(skb) : tcp_hdr(skb); in i40e_tso()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 2013 tcp_hdr(skb)->check = ~csum_tcpudp_magic( in atl1c_tso_csum() 2037 tcp_hdr(skb)->check = ~csum_ipv6_magic( in atl1c_tso_csum()
|
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 1179 tcp_hdr(skb)->check = 0; in pch_gbe_tx_queue() 1182 tcp_hdr(skb)->check = in pch_gbe_tx_queue()
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
D | enic_main.c | 530 tcp_hdr(skb)->check = ~csum_tcpudp_magic(ip_hdr(skb)->saddr, in enic_queue_wq_skb_tso() 533 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in enic_queue_wq_skb_tso()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2724 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in e1000_tso() 2732 tcp_hdr(skb)->check = in e1000_tso() 2741 tucso = (void *)&(tcp_hdr(skb)->check) - (void *)skb->data; in e1000_tso()
|
/linux-4.4.14/drivers/net/ethernet/ |
D | jme.c | 2105 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in jme_tx_tso() 2112 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ip6h->saddr, in jme_tx_tso()
|
/linux-4.4.14/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 1452 tcp_hdr(skb)->check = csum; in ioc3_start_xmit()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 3305 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in ixgbevf_tso() 3315 tcp_hdr(skb)->check = in ixgbevf_tso()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atlx/ |
D | atl1.c | 2142 tcp_hdr(skb)->check = in atl1_tso() 2157 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in atl1_tso()
|
/linux-4.4.14/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 1131 tcp_hdr(skb)->check = in ibmveth_start_xmit()
|
/linux-4.4.14/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 279 *tcph = tcp_hdr(skb); in get_skb_hdr()
|
/linux-4.4.14/drivers/net/ethernet/tile/ |
D | tilegx.c | 1755 th = tcp_hdr(skb); in tso_headers_prepare()
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 2519 tcp_hdr(skb)->check = in bnad_tso_prepare() 2527 tcp_hdr(skb)->check = in bnad_tso_prepare()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1300 LSO_TCPHDR_LEN_V(tcp_hdr(skb)->doff)); in t4vf_eth_xmit()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1809 hdr->tcp_hdr_words = tcp_hdr(skb)->doff; in t1_start_xmit()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 5362 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, in e1000_tso() 5368 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in e1000_tso() 5376 tucso = (void *)&(tcp_hdr(skb)->check) - (void *)skb->data; in e1000_tso()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1670 tcp_hdr(skb)->check = ~csum_tcpudp_magic( in atl1e_tso_csum()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 6961 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in ixgbe_tso() 6971 tcp_hdr(skb)->check = in ixgbe_tso() 7387 th = tcp_hdr(skb); in ixgbe_atr()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 879 th = tcp_hdr(skb); in bnxt_gro_skb() 890 th = tcp_hdr(skb); in bnxt_gro_skb()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 1166 V_LSO_TCPHDR_WORDS(tcp_hdr(skb)->doff); in write_tx_pkt_wr()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1235 LSO_TCPHDR_LEN_V(tcp_hdr(skb)->doff)); in t4_eth_xmit()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 4669 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in igb_tso() 4679 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in igb_tso()
|
/linux-4.4.14/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 912 struct tcphdr *tcph = tcp_hdr(skb); in vmxnet3_prepare_tso()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | gianfar.c | 2265 fcb->phcs = (__force __be16)(tcp_hdr(skb)->check); in gfar_tx_checksum()
|
/linux-4.4.14/drivers/net/usb/ |
D | r8152.c | 1436 th = tcp_hdr(skb); in msdn_giant_send_check()
|
/linux-4.4.14/drivers/net/ethernet/realtek/ |
D | r8169.c | 6988 th = tcp_hdr(skb); in msdn_giant_send_check()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | tg3.c | 7969 tcph = tcp_hdr(skb); in tg3_start_xmit()
|