Home
last modified time | relevance | path

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

/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()
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c998 u32 ctrl, iplen, maclen; in chcr_ktls_write_tcp_options() local
1011 maclen = skb_mac_header_len(skb); in chcr_ktls_write_tcp_options()
1055 ip = (struct iphdr *)(buf + maclen); in chcr_ktls_write_tcp_options()
1056 ip->tot_len = htons(pktlen - maclen); in chcr_ktls_write_tcp_options()
1059 ip6 = (struct ipv6hdr *)(buf + maclen); in chcr_ktls_write_tcp_options()
1060 ip6->payload_len = htons(pktlen - maclen - iplen); in chcr_ktls_write_tcp_options()
1064 cntrl1 |= T6_TXPKT_ETHHDR_LEN_V(maclen - ETH_HLEN) | in chcr_ktls_write_tcp_options()
1075 tcp = (struct tcphdr *)(buf + maclen + iplen); in chcr_ktls_write_tcp_options()
1575 u32 ctrl, iplen, maclen, wr_mid = 0, len16; in chcr_ktls_tunnel_pkt() local
1616 maclen = skb_mac_header_len(skb); in chcr_ktls_tunnel_pkt()
[all …]
/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()
/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c921 #define GEN_SEC_AEAD_SETKEY_FUNC(name, aalg, calg, maclen, cmode) \ argument
925 return sec_aead_setkey(tfm, key, keylen, aalg, calg, maclen, cmode);\