Searched refs:maclen (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.15/drivers/infiniband/hw/irdma/ |
D | puda.h | 50 u8 maclen; member 68 u8 maclen; /* mac length in bytes */ member
|
D | puda.c | 468 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()
|
D | utils.c | 1505 iph = (struct iphdr *)(addr + buf->maclen); in irdma_gen1_ieq_update_tcpip_info() 1506 tcph = (struct tcphdr *)(addr + buf->maclen + iphlen); in irdma_gen1_ieq_update_tcpip_info() 1556 buf->maclen = (info->vlan_valid) ? 18 : 14; in irdma_gen1_puda_get_tcpip_info() 1559 buf->iph = mem + buf->maclen; in irdma_gen1_puda_get_tcpip_info() 1571 buf->totallen = pkt_len + buf->maclen; in irdma_gen1_puda_get_tcpip_info() 1583 buf->hdrlen = buf->maclen + iphlen + buf->tcphlen; in irdma_gen1_puda_get_tcpip_info()
|
D | cm.c | 459 sqbuf->maclen = eth_hlen; in irdma_form_uda_cm_frame()
|
/Linux-v5.15/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 997 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-v5.15/drivers/net/ethernet/sun/ |
D | sunvnet_common.c | 1227 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.15/net/packet/ |
D | af_packet.c | 2256 unsigned int maclen = skb_network_offset(skb); in tpacket_rcv() local 2258 (maclen < 16 ? 16 : maclen)) + in tpacket_rcv() 2264 macoff = netoff - maclen; in tpacket_rcv()
|
/Linux-v5.15/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 1156 #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-v5.15/net/core/ |
D | dev.c | 5922 unsigned int maclen = skb->dev->hard_header_len; in gro_list_prepare() local 5941 if (maclen == ETH_HLEN) in gro_list_prepare() 5947 maclen); in gro_list_prepare()
|