Home
last modified time | relevance | path

Searched refs:maclen (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_puda.h73 u8 maclen; member
91 u8 maclen; /* mac length in bytes */ member
Di40iw_utils.c1402 iph = (struct iphdr *)(addr + buf->maclen); in i40iw_ieq_update_tcpip_info()
1403 tcph = (struct tcphdr *)(addr + buf->maclen + iphlen); in i40iw_ieq_update_tcpip_info()
1430 buf->maclen = (info->vlan_valid) ? 18 : 14; in i40iw_puda_get_tcpip_info()
1433 buf->iph = mem + buf->maclen; in i40iw_puda_get_tcpip_info()
1446 buf->totallen = pkt_len + buf->maclen; in i40iw_puda_get_tcpip_info()
1457 buf->hdrlen = buf->maclen + iphlen + buf->tcphlen; in i40iw_puda_get_tcpip_info()
Di40iw_puda.c396 header[0] = LS_64((info->maclen >> 1), I40IW_UDA_QPSQ_MACLEN) | in i40iw_puda_send()
455 info.maclen = buf->maclen; in i40iw_puda_send_buf()
1040 txbuf->maclen = buf->maclen; in i40iw_ieq_setup_tx_buf()
Di40iw_cm.c419 sqbuf->maclen = eth_hlen; in i40iw_form_cm_frame()
/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c989 u32 ctrl, iplen, maclen; in chcr_ktls_write_tcp_options() local
1002 maclen = skb_mac_header_len(skb); in chcr_ktls_write_tcp_options()
1046 ip = (struct iphdr *)(buf + maclen); in chcr_ktls_write_tcp_options()
1047 ip->tot_len = htons(pktlen - maclen); in chcr_ktls_write_tcp_options()
1050 ip6 = (struct ipv6hdr *)(buf + maclen); in chcr_ktls_write_tcp_options()
1051 ip6->payload_len = htons(pktlen - maclen - iplen); in chcr_ktls_write_tcp_options()
1055 cntrl1 |= T6_TXPKT_ETHHDR_LEN_V(maclen - ETH_HLEN) | in chcr_ktls_write_tcp_options()
1066 tcp = (struct tcphdr *)(buf + maclen + iplen); in chcr_ktls_write_tcp_options()
1566 u32 ctrl, iplen, maclen, wr_mid = 0, len16; in chcr_ktls_tunnel_pkt() local
1607 maclen = skb_mac_header_len(skb); in chcr_ktls_tunnel_pkt()
[all …]
/Linux-v5.10/drivers/net/ethernet/sun/
Dsunvnet_common.c1227 int maclen, datalen; in vnet_handle_offloads() local
1266 maclen = skb_network_header(skb) - skb_mac_header(skb); in vnet_handle_offloads()
1267 skb_pull(skb, maclen); in vnet_handle_offloads()
1281 skb_push(skb, maclen); in vnet_handle_offloads()
1296 skb_push(curr, maclen); in vnet_handle_offloads()
1299 maclen); in vnet_handle_offloads()
/Linux-v5.10/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c923 #define GEN_SEC_AEAD_SETKEY_FUNC(name, aalg, calg, maclen, cmode) \ argument
927 return sec_aead_setkey(tfm, key, keylen, aalg, calg, maclen, cmode);\
/Linux-v5.10/net/packet/
Daf_packet.c2236 unsigned int maclen = skb_network_offset(skb); in tpacket_rcv() local
2238 (maclen < 16 ? 16 : maclen)) + in tpacket_rcv()
2244 macoff = netoff - maclen; in tpacket_rcv()
/Linux-v5.10/net/core/
Ddev.c5810 unsigned int maclen = skb->dev->hard_header_len; in gro_list_prepare() local
5832 if (maclen == ETH_HLEN) in gro_list_prepare()
5838 maclen); in gro_list_prepare()