Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/irdma/
A Dpuda.h50 u8 maclen; member
68 u8 maclen; /* mac length in bytes */ member
A Dpuda.c468 hdr[0] = FIELD_PREP(IRDMA_UDA_QPSQ_MACLEN, info->maclen >> 1) | in irdma_puda_send()
541 info.maclen = buf->maclen; in irdma_puda_send_buf()
1229 txbuf->maclen = buf->maclen; in irdma_ieq_setup_tx_buf()
A Dutils.c1494 iph = (struct iphdr *)(addr + buf->maclen); in irdma_gen1_ieq_update_tcpip_info()
1495 tcph = (struct tcphdr *)(addr + buf->maclen + iphlen); in irdma_gen1_ieq_update_tcpip_info()
1545 buf->maclen = (info->vlan_valid) ? 18 : 14; in irdma_gen1_puda_get_tcpip_info()
1548 buf->iph = mem + buf->maclen; in irdma_gen1_puda_get_tcpip_info()
1560 buf->totallen = pkt_len + buf->maclen; in irdma_gen1_puda_get_tcpip_info()
1572 buf->hdrlen = buf->maclen + iphlen + buf->tcphlen; in irdma_gen1_puda_get_tcpip_info()
A Dcm.c459 sqbuf->maclen = eth_hlen; in irdma_form_uda_cm_frame()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
A Dchcr_ktls.c997 u32 ctrl, iplen, maclen; in chcr_ktls_write_tcp_options() local
1010 maclen = skb_mac_header_len(skb); in chcr_ktls_write_tcp_options()
1054 ip = (struct iphdr *)(buf + maclen); in chcr_ktls_write_tcp_options()
1055 ip->tot_len = htons(pktlen - maclen); in chcr_ktls_write_tcp_options()
1058 ip6 = (struct ipv6hdr *)(buf + maclen); in chcr_ktls_write_tcp_options()
1059 ip6->payload_len = htons(pktlen - maclen - iplen); in chcr_ktls_write_tcp_options()
1063 cntrl1 |= T6_TXPKT_ETHHDR_LEN_V(maclen - ETH_HLEN) | in chcr_ktls_write_tcp_options()
1074 tcp = (struct tcphdr *)(buf + maclen + iplen); in chcr_ktls_write_tcp_options()
1573 u32 ctrl, iplen, maclen, wr_mid = 0, len16; in chcr_ktls_tunnel_pkt() local
1614 maclen = skb_mac_header_len(skb); in chcr_ktls_tunnel_pkt()
[all …]
/linux/drivers/net/ethernet/sun/
A 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/net/packet/
A Daf_packet.c2291 unsigned int maclen = skb_network_offset(skb); in tpacket_rcv() local
2293 (maclen < 16 ? 16 : maclen)) + in tpacket_rcv()
2299 macoff = netoff - maclen; in tpacket_rcv()
/linux/drivers/crypto/hisilicon/sec2/
A Dsec_crypto.c1156 #define GEN_SEC_AEAD_SETKEY_FUNC(name, aalg, calg, maclen, cmode) \ argument
1160 return sec_aead_setkey(tfm, key, keylen, aalg, calg, maclen, cmode);\
/linux/net/core/
A Ddev.c5943 unsigned int maclen = skb->dev->hard_header_len; in gro_list_prepare() local
5962 if (maclen == ETH_HLEN) in gro_list_prepare()
5968 maclen); in gro_list_prepare()

Completed in 59 milliseconds