Home
last modified time | relevance | path

Searched refs:maclen (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
H A Di40iw_puda.h73 u8 maclen; member
91 u8 maclen; /* mac length in bytes */ member
H A 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()
H A Di40iw_puda.c395 /* maclen is in words */ in i40iw_puda_send()
396 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()
H A Di40iw_cm.c419 sqbuf->maclen = eth_hlen; in i40iw_form_cm_frame()
3137 /* if vlan, then maclen = 18 else 14 */ in i40iw_receive_ilq()
/kernel/linux/linux-5.10/include/linux/
H A Dif_vlan.h641 int maclen; in vlan_get_protocol_and_depth() local
643 type = __vlan_get_protocol(skb, type, &maclen); in vlan_get_protocol_and_depth()
646 if (!pskb_may_pull(skb, maclen)) in vlan_get_protocol_and_depth()
649 *depth = maclen; in vlan_get_protocol_and_depth()
/kernel/linux/linux-6.6/include/linux/
H A Dif_vlan.h644 int maclen; in vlan_get_protocol_and_depth() local
646 type = __vlan_get_protocol(skb, type, &maclen); in vlan_get_protocol_and_depth()
649 if (!pskb_may_pull(skb, maclen)) in vlan_get_protocol_and_depth()
652 *depth = maclen; in vlan_get_protocol_and_depth()
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Dpuda.h50 u8 maclen; member
68 u8 maclen; /* mac length in bytes */ member
H A Dpuda.c449 /* maclen is in words */ in irdma_puda_send()
467 hdr[0] = FIELD_PREP(IRDMA_UDA_QPSQ_MACLEN, info->maclen >> 1) | in irdma_puda_send()
540 info.maclen = buf->maclen; in irdma_puda_send_buf()
1225 txbuf->maclen = buf->maclen; in irdma_ieq_setup_tx_buf()
H A Dutils.c1525 iph = (struct iphdr *)(addr + buf->maclen); in irdma_gen1_ieq_update_tcpip_info()
1526 tcph = (struct tcphdr *)(addr + buf->maclen + iphlen); in irdma_gen1_ieq_update_tcpip_info()
1575 buf->maclen = (info->vlan_valid) ? 18 : 14; in irdma_gen1_puda_get_tcpip_info()
1578 buf->iph = mem + buf->maclen; in irdma_gen1_puda_get_tcpip_info()
1590 buf->totallen = pkt_len + buf->maclen; in irdma_gen1_puda_get_tcpip_info()
1602 buf->hdrlen = buf->maclen + iphlen + buf->tcphlen; in irdma_gen1_puda_get_tcpip_info()
H A Dcm.c459 sqbuf->maclen = eth_hlen; in irdma_form_uda_cm_frame()
3149 /* if vlan, then maclen = 18 else 14 */ in irdma_receive_ilq()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c1003 u32 ctrl, iplen, maclen; in chcr_ktls_write_tcp_options() local
1016 maclen = skb_mac_header_len(skb); in chcr_ktls_write_tcp_options()
1060 ip = (struct iphdr *)(buf + maclen); in chcr_ktls_write_tcp_options()
1061 ip->tot_len = htons(pktlen - maclen); in chcr_ktls_write_tcp_options()
1064 ip6 = (struct ipv6hdr *)(buf + maclen); in chcr_ktls_write_tcp_options()
1065 ip6->payload_len = htons(pktlen - maclen - iplen); in chcr_ktls_write_tcp_options()
1069 cntrl1 |= T6_TXPKT_ETHHDR_LEN_V(maclen - ETH_HLEN) | in chcr_ktls_write_tcp_options()
1080 tcp = (struct tcphdr *)(buf + maclen + iplen); in chcr_ktls_write_tcp_options()
1580 u32 ctrl, iplen, maclen, wr_mid = 0, len16; in chcr_ktls_tunnel_pkt() local
1621 maclen in chcr_ktls_tunnel_pkt()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H 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 in chcr_ktls_tunnel_pkt()
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dgro.c328 unsigned int maclen = skb->dev->hard_header_len; in gro_list_prepare() local
345 if (maclen == ETH_HLEN) in gro_list_prepare()
351 maclen); in gro_list_prepare()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
H 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() local
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/
H A Dsunvnet_common.c1228 int maclen, datalen; in vnet_handle_offloads() local
1267 maclen = skb_network_header(skb) - skb_mac_header(skb); in vnet_handle_offloads()
1268 skb_pull(skb, maclen); in vnet_handle_offloads()
1282 skb_push(skb, maclen); in vnet_handle_offloads()
1297 skb_push(curr, maclen); in vnet_handle_offloads()
1300 maclen); in vnet_handle_offloads() local
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c921 #define GEN_SEC_AEAD_SETKEY_FUNC(name, aalg, calg, maclen, cmode) \
925 return sec_aead_setkey(tfm, key, keylen, aalg, calg, maclen, cmode);\
/kernel/linux/linux-5.10/net/packet/
H A Daf_packet.c2269 unsigned int maclen = skb_network_offset(skb); in tpacket_rcv() local
2271 (maclen < 16 ? 16 : maclen)) + in tpacket_rcv()
2277 macoff = netoff - maclen; in tpacket_rcv()
/kernel/linux/linux-6.6/net/packet/
H A Daf_packet.c2309 unsigned int maclen = skb_network_offset(skb); in tpacket_rcv() local
2311 (maclen < 16 ? 16 : maclen)) + in tpacket_rcv()
2316 macoff = netoff - maclen; in tpacket_rcv()
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c1204 #define GEN_SEC_AEAD_SETKEY_FUNC(name, aalg, calg, maclen, cmode) \
1208 return sec_aead_setkey(tfm, key, keylen, aalg, calg, maclen, cmode);\
/kernel/linux/linux-5.10/net/core/
H A Ddev.c5875 unsigned int maclen = skb->dev->hard_header_len; in gro_list_prepare() local
5897 if (maclen == ETH_HLEN) in gro_list_prepare()
5903 maclen); in gro_list_prepare()

Completed in 60 milliseconds