/drivers/net/ethernet/sfc/ |
D | tx_tso.c | 164 EFX_WARN_ON_ONCE_PARANOID((PTR_DIFF(tcp_hdr(skb), skb->data) + in efx_tso_check_protocol() 165 (tcp_hdr(skb)->doff << 2u)) > in efx_tso_check_protocol() 182 header_len = st->tcp_off + (tcp_hdr(skb)->doff << 2u); in tso_start() 193 st->seqnum = ntohl(tcp_hdr(skb)->seq); in tso_start() 195 EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->urg); in tso_start() 196 EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->syn); in tso_start() 197 EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->rst); in tso_start() 310 tcp_flags = ((u8 *)tcp_hdr(skb))[TCP_FLAGS_OFFSET] & ~tcp_flags_mask; in tso_start_new_packet()
|
D | tx.c | 377 (tcp_hdr(skb)->doff << 2u); in efx_tx_map_data()
|
/drivers/net/ethernet/sun/ |
D | sunvnet_common.c | 320 struct tcphdr *ptcp = tcp_hdr(skb); in vnet_fullcsum_ipv4() 353 struct tcphdr *ptcp = tcp_hdr(skb); in vnet_fullcsum_ipv6() 1238 hlen += tcp_hdr(skb)->doff * 4; in vnet_handle_offloads()
|
/drivers/net/ethernet/qualcomm/emac/ |
D | emac-mac.c | 1294 tcp_hdr(skb)->check = in emac_tso_csum() 1309 tcp_hdr(skb)->check = in emac_tso_csum()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_fp.c | 813 th = tcp_hdr(skb); in qede_gro_ip_csum() 827 th = tcp_hdr(skb); in qede_gro_ipv6_csum()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 704 th = tcp_hdr(skb); in bnx2x_gro_ip_csum() 716 th = tcp_hdr(skb); in bnx2x_gro_ipv6_csum() 3485 pbd->tcp_send_seq = bswab32(tcp_hdr(skb)->seq); in bnx2x_set_pbd_gso() 3486 pbd->tcp_flags = pbd_tcp_flags(tcp_hdr(skb)); in bnx2x_set_pbd_gso() 3619 pbd->tcp_pseudo_csum = bswab16(tcp_hdr(skb)->check); in bnx2x_set_pbd_csum()
|
D | bnx2x.h | 772 #define pbd_tcp_flags(tcp_hdr) (ntohl(tcp_flag_word(tcp_hdr))>>16 & 0xff) argument
|
/drivers/net/ethernet/atheros/alx/ |
D | main.c | 1418 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, in alx_tso() 1423 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in alx_tso()
|
/drivers/net/hyperv/ |
D | netvsc_drv.c | 634 tcp_hdr(skb)->check = in netvsc_start_xmit() 641 tcp_hdr(skb)->check = in netvsc_start_xmit()
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 1241 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in ixgb_tso() 1248 tucso = (void *)&(tcp_hdr(skb)->check) - (void *)skb->data; in ixgb_tso()
|
/drivers/infiniband/hw/nes/ |
D | nes_nic.c | 391 tcph = tcp_hdr(skb); in nes_nic_send() 563 curr_tcp_seq = ntohl(tcp_hdr(skb)->seq); in nes_netdev_start_xmit()
|
D | nes_cm.c | 744 new_send->seq_num = ntohl(tcp_hdr(skb)->seq); in schedule_nes_timer() 2213 struct tcphdr *tcph = tcp_hdr(skb); in process_packet()
|
/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_main.c | 2589 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in ql_tso() 2595 tcp_hdr(skb)->check = in ql_tso() 2620 check = &(tcp_hdr(skb)->check); in ql_hw_csum_setup() 2624 (tcp_hdr(skb)->doff << 2)); in ql_hw_csum_setup()
|
/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()
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 2016 tcp_hdr(skb)->check = ~csum_tcpudp_magic( in atl1c_tso_csum() 2040 tcp_hdr(skb)->check = ~csum_ipv6_magic( in atl1c_tso_csum()
|
/drivers/net/ethernet/cisco/enic/ |
D | enic_main.c | 656 tcp_hdr(skb)->check = ~csum_tcpudp_magic(ip_hdr(skb)->saddr, in enic_preload_tcp_csum() 659 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in enic_preload_tcp_csum()
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2739 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in e1000_tso() 2747 tcp_hdr(skb)->check = in e1000_tso() 2756 tucso = (void *)&(tcp_hdr(skb)->check) - (void *)skb->data; in e1000_tso()
|
/drivers/net/ethernet/ |
D | jme.c | 2094 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in jme_tx_tso() 2101 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ip6h->saddr, in jme_tx_tso()
|
/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 1447 tcp_hdr(skb)->check = csum; in ioc3_start_xmit()
|
/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()
|
/drivers/s390/net/ |
D | qeth_l3_main.c | 2572 struct tcphdr *tcph = tcp_hdr(skb); in qeth_tso_fill_header() 2620 addr_t start = (addr_t)tcp_hdr(skb) + tcp_hdrlen(skb); in qeth_l3_get_elements_no_tso()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tx.c | 183 tcp_hdr(skb)->check = 0; in iwl_mvm_tx_csum()
|
/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 1145 tcp_hdr(skb)->check = in ibmveth_start_xmit()
|
/drivers/net/ethernet/tile/ |
D | tilegx.c | 1759 th = tcp_hdr(skb); in tso_headers_prepare()
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 2512 tcp_hdr(skb)->check = in bnad_tso_prepare() 2520 tcp_hdr(skb)->check = in bnad_tso_prepare()
|