Home
last modified time | relevance | path

Searched refs:tcp_hdr (Results 1 – 25 of 41) sorted by relevance

12

/drivers/net/ethernet/sfc/
Dtx_tso.c164 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()
Dtx.c377 (tcp_hdr(skb)->doff << 2u); in efx_tx_map_data()
/drivers/net/ethernet/sun/
Dsunvnet_common.c320 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/
Demac-mac.c1294 tcp_hdr(skb)->check = in emac_tso_csum()
1309 tcp_hdr(skb)->check = in emac_tso_csum()
/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c813 th = tcp_hdr(skb); in qede_gro_ip_csum()
827 th = tcp_hdr(skb); in qede_gro_ipv6_csum()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c704 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()
Dbnx2x.h772 #define pbd_tcp_flags(tcp_hdr) (ntohl(tcp_flag_word(tcp_hdr))>>16 & 0xff) argument
/drivers/net/ethernet/atheros/alx/
Dmain.c1418 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/
Dnetvsc_drv.c634 tcp_hdr(skb)->check = in netvsc_start_xmit()
641 tcp_hdr(skb)->check = in netvsc_start_xmit()
/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c1241 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/
Dnes_nic.c391 tcph = tcp_hdr(skb); in nes_nic_send()
563 curr_tcp_seq = ntohl(tcp_hdr(skb)->seq); in nes_netdev_start_xmit()
Dnes_cm.c744 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/
Dqlge_main.c2589 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/
Dpch_gbe_main.c1179 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/
Datl1c_main.c2016 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/
Denic_main.c656 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/
De1000_main.c2739 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/
Djme.c2094 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/
Dioc3-eth.c1447 tcp_hdr(skb)->check = csum; in ioc3_start_xmit()
/drivers/net/ethernet/atheros/atlx/
Datl1.c2142 tcp_hdr(skb)->check = in atl1_tso()
2157 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in atl1_tso()
/drivers/s390/net/
Dqeth_l3_main.c2572 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/
Dtx.c183 tcp_hdr(skb)->check = 0; in iwl_mvm_tx_csum()
/drivers/net/ethernet/ibm/
Dibmveth.c1145 tcp_hdr(skb)->check = in ibmveth_start_xmit()
/drivers/net/ethernet/tile/
Dtilegx.c1759 th = tcp_hdr(skb); in tso_headers_prepare()
/drivers/net/ethernet/brocade/bna/
Dbnad.c2512 tcp_hdr(skb)->check = in bnad_tso_prepare()
2520 tcp_hdr(skb)->check = in bnad_tso_prepare()

12