/openbmc/pam-ipmi/src/pam_ipmisave/ |
H A D | pam_ipmisave.c | 150 unsigned char *mac, unsigned int *maclen) in encrypt_decrypt_data() argument 178 if (!((calmaclen == *maclen) && in encrypt_decrypt_data() 182 calmaclen, *maclen); in encrypt_decrypt_data() 222 mac, maclen)) { in encrypt_decrypt_data() 295 unsigned int maclen = 0; in update_pass_special_file() local 534 &maclen) != 0) { in update_pass_special_file() 548 pwmp.macsize = maclen; in update_pass_special_file() 568 if (fwrite(mac, 1, maclen, pwfile) != maclen) { in update_pass_special_file()
|
/openbmc/linux/include/linux/ |
H A D | if_vlan.h | 654 int maclen; in vlan_get_protocol_and_depth() local 656 type = __vlan_get_protocol(skb, type, &maclen); in vlan_get_protocol_and_depth() 659 if (!pskb_may_pull(skb, maclen)) in vlan_get_protocol_and_depth() 662 *depth = maclen; in vlan_get_protocol_and_depth()
|
/openbmc/linux/include/net/ |
H A D | ip_tunnels.h | 368 int nhlen = 0, maclen = inner_proto_inherit ? 0 : ETH_HLEN; in skb_vlan_inet_prepare() local 375 type = __vlan_get_protocol(skb, type, &maclen); in skb_vlan_inet_prepare() 390 if (!pskb_may_pull(skb, maclen + nhlen)) in skb_vlan_inet_prepare() 393 skb_set_network_header(skb, maclen); in skb_vlan_inet_prepare()
|
/openbmc/linux/drivers/infiniband/hw/irdma/ |
H A D | puda.h | 50 u8 maclen; member 68 u8 maclen; /* mac length in bytes */ member
|
H A D | puda.c | 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 D | utils.c | 1525 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 D | cm.c | 459 sqbuf->maclen = eth_hlen; in irdma_form_uda_cm_frame()
|
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A 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 …]
|
/openbmc/linux/net/core/ |
H A D | gro.c | 324 unsigned int maclen = skb->dev->hard_header_len; in gro_list_prepare() local 341 if (maclen == ETH_HLEN) in gro_list_prepare() 347 maclen); in gro_list_prepare()
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunvnet_common.c | 1228 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()
|
/openbmc/linux/net/packet/ |
H A D | af_packet.c | 2356 unsigned int maclen = skb_network_offset(skb); in tpacket_rcv() local 2358 (maclen < 16 ? 16 : maclen)) + in tpacket_rcv() 2363 macoff = netoff - maclen; in tpacket_rcv()
|