Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/sfc/
Dtx_tso.c161 EFX_WARN_ON_ONCE_PARANOID((PTR_DIFF(tcp_hdr(skb), skb->data) + in efx_tso_check_protocol()
162 (tcp_hdr(skb)->doff << 2u)) > in efx_tso_check_protocol()
179 header_len = st->tcp_off + (tcp_hdr(skb)->doff << 2u); in tso_start()
190 st->seqnum = ntohl(tcp_hdr(skb)->seq); in tso_start()
192 EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->urg); in tso_start()
193 EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->syn); in tso_start()
194 EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->rst); in tso_start()
307 tcp_flags = ((u8 *)tcp_hdr(skb))[TCP_FLAGS_OFFSET] & ~tcp_flags_mask; in tso_start_new_packet()
Dtx_common.c344 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
/drivers/net/ethernet/fungible/funeth/
Dfuneth_tx.c119 seq = ntohl(tcp_hdr(skb)->seq); in fun_tls_tx()
246 th = tcp_hdr(skb); in write_pkt_desc()
/drivers/net/ethernet/sfc/siena/
Dtx_common.c325 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
/drivers/net/ethernet/sun/
Dsunvnet_common.c322 struct tcphdr *ptcp = tcp_hdr(skb); in vnet_fullcsum_ipv4()
355 struct tcphdr *ptcp = tcp_hdr(skb); in vnet_fullcsum_ipv6()
1240 hlen += tcp_hdr(skb)->doff * 4; in vnet_handle_offloads()
/drivers/net/thunderbolt/
Dmain.c1043 tucso = dest + ((void *)&(tcp_hdr(skb)->check) - data); in tbnet_xmit_csum_and_map()
1053 tucso = dest + ((void *)&(tcp_hdr(skb)->check) - data); in tbnet_xmit_csum_and_map()
/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c895 th = tcp_hdr(skb); in qede_gro_ip_csum()
909 th = tcp_hdr(skb); in qede_gro_ipv6_csum()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c716 th = tcp_hdr(skb); in bnx2x_gro_ip_csum()
728 th = tcp_hdr(skb); in bnx2x_gro_ipv6_csum()
3507 pbd->tcp_send_seq = bswab32(tcp_hdr(skb)->seq); in bnx2x_set_pbd_gso()
3508 pbd->tcp_flags = pbd_tcp_flags(tcp_hdr(skb)); in bnx2x_set_pbd_gso()
3639 pbd->tcp_pseudo_csum = bswab16(tcp_hdr(skb)->check); in bnx2x_set_pbd_csum()
Dbnx2x.h782 #define pbd_tcp_flags(tcp_hdr) (ntohl(tcp_flag_word(tcp_hdr))>>16 & 0xff) argument
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c860 seq = ntohl(tcp_hdr(skb)->seq); in mlx5e_ktls_handle_tx_skb()
/drivers/staging/qlge/
Dqlge_main.c2476 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in qlge_tso()
2482 tcp_hdr(skb)->check = in qlge_tso()
2508 check = &(tcp_hdr(skb)->check); in qlge_hw_csum_setup()
2512 (tcp_hdr(skb)->doff << 2)); in qlge_hw_csum_setup()
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c1907 th = tcp_hdr(nskb); in chcr_ktls_sw_fallback()
1929 struct tcphdr *th = tcp_hdr(skb); in chcr_ktls_xmit()
/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c1715 tcp_hdr(skb)->fin = 0; in chtls_recv_data()
1773 tcp_hdr(skb)->fin = 0; in chtls_recv_pdu()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c607 seq = ntohl(tcp_hdr(skb)->seq); in nfp_net_tls_tx()
675 seq = ntohl(tcp_hdr(skb)->seq); in nfp_net_tls_tx_undo()
/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.c1231 tcph = enc ? inner_tcp_hdr(skb) : tcp_hdr(skb); in wx_tso()
1243 tcph = enc ? inner_tcp_hdr(skb) : tcp_hdr(skb); in wx_tso()
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c1094 tcp_hdr(skb)->check = 0; in pch_gbe_tx_queue()
1097 tcp_hdr(skb)->check = in pch_gbe_tx_queue()
/drivers/net/ethernet/google/gve/
Dgve_tx_dqo.c512 tcp = tcp_hdr(skb); in gve_prep_tso()
/drivers/net/ethernet/sgi/
Dioc3-eth.c1029 tcp_hdr(skb)->check = csum; in ioc3_start_xmit()
/drivers/net/ethernet/microsoft/mana/
Dmana_en.c324 tcp_hdr(skb)->check = in mana_start_xmit()
330 tcp_hdr(skb)->check = in mana_start_xmit()
/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c949 tcp_hdr(skb)->check = in ionic_tx_tcp_pseudo_csum()
/drivers/net/ethernet/qualcomm/emac/
Demac-mac.c1280 tcp_hdr(skb)->check = in emac_tso_csum()
/drivers/net/ethernet/atheros/atlx/
Datl1.c2124 tcp_hdr(skb)->check = in atl1_tso()
2139 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in atl1_tso()
/drivers/net/ethernet/ibm/
Dibmveth.c1165 tcp_hdr(skb)->check = in ibmveth_start_xmit()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1296 LSO_TCPHDR_LEN_V(tcp_hdr(skb)->doff)); in t4vf_eth_xmit()
/drivers/net/ethernet/chelsio/cxgb/
Dsge.c1845 hdr->tcp_hdr_words = tcp_hdr(skb)->doff; in t1_start_xmit()

12