Searched refs:eth_hdr (Results 1 - 7 of 7) sorted by relevance

/freebsd-current/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac_mac.c940 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_offset); local
969 ether_addr_copy(hdr.addr3, eth_hdr->h_source);
972 ether_addr_copy(hdr.addr3, eth_hdr->h_dest);
975 ether_addr_copy(hdr.addr3, eth_hdr->h_dest);
976 ether_addr_copy(hdr.addr4, eth_hdr->h_source);
983 if (eth_hdr->h_proto == cpu_to_be16(ETH_P_AARP) ||
984 eth_hdr->h_proto == cpu_to_be16(ETH_P_IPX))
986 else if (be16_to_cpu(eth_hdr->h_proto) >= ETH_P_802_3_MIN)
/freebsd-current/sys/dev/ice/
H A Dice_protocol_type.h306 struct ice_ether_hdr eth_hdr; member in union:ice_prot_hdr
H A Dice_switch.c1225 u8 *eth_hdr; local
1238 eth_hdr = s_rule->hdr_data;
1241 ice_memcpy(eth_hdr, dummy_eth_header, eth_hdr_sz, ICE_NONDMA_TO_NONDMA);
1306 off = (_FORCE_ __be16 *)(eth_hdr + ICE_ETH_ETHTYPE_OFFSET);
1333 ice_memcpy(eth_hdr + ICE_ETH_DA_OFFSET, daddr, ETH_ALEN,
1337 off = (_FORCE_ __be16 *)(eth_hdr + ICE_ETH_VLAN_TCI_OFFSET);
1339 off = (_FORCE_ __be16 *)(eth_hdr + ICE_ETH_ETHTYPE_OFFSET);
/freebsd-current/contrib/wpa/src/pae/
H A Dieee802_1x_kay.c3067 struct ieee8023_hdr *eth_hdr; local
3080 eth_hdr = (struct ieee8023_hdr *) buf;
3081 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1);
3086 MAC2STR(eth_hdr->dest), MAC2STR(eth_hdr->src),
3087 be_to_host16(eth_hdr->ethertype));
3090 if (os_memcmp(eth_hdr->dest, pae_group_addr, ETH_ALEN) != 0) {
3402 struct ieee8023_hdr *eth_hdr; local
3409 if (len < sizeof(*eth_hdr) + sizeof(*eapol_hdr)) {
3415 eth_hdr
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmac.c269 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_gap); local
304 ether_addr_copy(hdr.addr3, eth_hdr->h_source);
307 ether_addr_copy(hdr.addr3, eth_hdr->h_dest);
310 ether_addr_copy(hdr.addr3, eth_hdr->h_dest);
311 ether_addr_copy(hdr.addr4, eth_hdr->h_source);
318 if (eth_hdr->h_proto == cpu_to_be16(ETH_P_AARP) ||
319 eth_hdr->h_proto == cpu_to_be16(ETH_P_IPX))
321 else if (be16_to_cpu(eth_hdr->h_proto) >= ETH_P_802_3_MIN)
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmac.c255 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_gap); local
290 ether_addr_copy(hdr.addr3, eth_hdr->h_source);
293 ether_addr_copy(hdr.addr3, eth_hdr->h_dest);
296 ether_addr_copy(hdr.addr3, eth_hdr->h_dest);
297 ether_addr_copy(hdr.addr4, eth_hdr->h_source);
304 if (eth_hdr->h_proto == cpu_to_be16(ETH_P_AARP) ||
305 eth_hdr->h_proto == cpu_to_be16(ETH_P_IPX))
307 else if (be16_to_cpu(eth_hdr->h_proto) >= ETH_P_802_3_MIN)
/freebsd-current/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.c4262 struct ethhdr *eth_hdr; local
4275 eth_hdr = (struct ethhdr *)tmp_buf;
4276 eth_type = ntohs(eth_hdr->h_proto);
4294 struct ethhdr *eth_hdr; local
4300 eth_hdr = (struct ethhdr *)tmp_buf;
4301 eth_type = ntohs(eth_hdr->h_proto);

Completed in 212 milliseconds