/linux-6.3-rc2/include/uapi/linux/ |
A D | batadv_packet.h | 216 __u8 orig[ETH_ALEN]; 242 __u8 orig[ETH_ALEN]; 260 __u8 orig[ETH_ALEN]; 287 __u8 dst[ETH_ALEN]; 288 __u8 orig[ETH_ALEN]; 310 __u8 dst[ETH_ALEN]; 339 __u8 dst[ETH_ALEN]; 378 __u8 dst[ETH_ALEN]; 412 __u8 dest[ETH_ALEN]; 427 __u8 src[ETH_ALEN]; [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/fw/api/ |
A D | location.h | 246 u8 bssid[ETH_ALEN]; 282 u8 bssid[ETH_ALEN]; 330 u8 bssid[ETH_ALEN]; 380 u8 bssid[ETH_ALEN]; 442 u8 addr[ETH_ALEN]; 517 u8 bssid[ETH_ALEN]; 600 u8 bssid[ETH_ALEN]; 665 u8 bssid[ETH_ALEN]; 725 u8 bssid[ETH_ALEN]; 778 u8 bssid[ETH_ALEN]; [all …]
|
/linux-6.3-rc2/drivers/staging/rtl8712/ |
A D | rtl871x_recv.c | 477 memcpy(pattrib->dst, pda, ETH_ALEN); in validate_recv_data_frame() 478 memcpy(pattrib->src, psa, ETH_ALEN); in validate_recv_data_frame() 479 memcpy(pattrib->bssid, pbssid, ETH_ALEN); in validate_recv_data_frame() 482 memcpy(pattrib->ra, pda, ETH_ALEN); in validate_recv_data_frame() 483 memcpy(pattrib->ta, psa, ETH_ALEN); in validate_recv_data_frame() 487 memcpy(pattrib->ra, pda, ETH_ALEN); in validate_recv_data_frame() 488 memcpy(pattrib->ta, pbssid, ETH_ALEN); in validate_recv_data_frame() 492 memcpy(pattrib->ra, pbssid, ETH_ALEN); in validate_recv_data_frame() 493 memcpy(pattrib->ta, psa, ETH_ALEN); in validate_recv_data_frame() 639 memcpy(ptr, pattrib->dst, ETH_ALEN); in r8712_wlanhdr_to_ethhdr() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ |
A D | wl3501.h | 281 u8 addr1[ETH_ALEN]; 282 u8 addr2[ETH_ALEN]; 283 u8 addr3[ETH_ALEN]; 285 u8 addr4[ETH_ALEN]; 302 u8 addr1[ETH_ALEN]; 303 u8 addr2[ETH_ALEN]; 304 u8 addr3[ETH_ALEN]; 306 u8 addr4[ETH_ALEN]; 470 u8 daddr[ETH_ALEN]; 471 u8 saddr[ETH_ALEN]; [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intersil/hostap/ |
A D | hostap_80211_tx.c | 157 &hdr.addr4, ETH_ALEN); in hostap_data_start_xmit() 158 hdr_len += ETH_ALEN; in hostap_data_start_xmit() 171 &hdr.addr4, ETH_ALEN); in hostap_data_start_xmit() 172 need_tailroom += ETH_ALEN; in hostap_data_start_xmit() 182 ETH_ALEN); in hostap_data_start_xmit() 184 memcpy(&hdr.addr1, local->bssid, ETH_ALEN); in hostap_data_start_xmit() 193 ETH_ALEN); in hostap_data_start_xmit() 200 ETH_ALEN); in hostap_data_start_xmit() 206 ETH_ALEN); in hostap_data_start_xmit() 207 memcpy(&hdr.addr3, local->bssid, ETH_ALEN); in hostap_data_start_xmit() [all …]
|
A D | hostap_wlan.h | 91 u8 addr1[ETH_ALEN]; 92 u8 addr2[ETH_ALEN]; 93 u8 addr3[ETH_ALEN]; 95 u8 addr4[ETH_ALEN]; 99 u8 dst_addr[ETH_ALEN]; 121 u8 addr1[ETH_ALEN]; 123 u8 addr3[ETH_ALEN]; 126 u8 addr4[ETH_ALEN]; 164 u8 bssid[ETH_ALEN]; 236 u8 bssid[ETH_ALEN]; [all …]
|
A D | hostap_80211_rx.c | 364 memcpy(bss->bssid, bssid, ETH_ALEN); in __hostap_add_bss() 731 u8 dst[ETH_ALEN]; in hostap_80211_rx() 732 u8 src[ETH_ALEN]; in hostap_80211_rx() 844 memcpy(dst, hdr->addr1, ETH_ALEN); in hostap_80211_rx() 845 memcpy(src, hdr->addr3, ETH_ALEN); in hostap_80211_rx() 1042 memcpy(skb_push(skb, ETH_ALEN), src, ETH_ALEN); in hostap_80211_rx() 1043 memcpy(skb_push(skb, ETH_ALEN), dst, ETH_ALEN); in hostap_80211_rx() 1050 memcpy(skb_push(skb, ETH_ALEN), src, ETH_ALEN); in hostap_80211_rx() 1051 memcpy(skb_push(skb, ETH_ALEN), dst, ETH_ALEN); in hostap_80211_rx() 1060 skb->data + ETH_ALEN, in hostap_80211_rx() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | etherdevice.h | 232 get_random_bytes(addr, ETH_ALEN); in eth_random_addr() 245 memset(addr, 0xff, ETH_ALEN); in eth_broadcast_addr() 256 memset(addr, 0x00, ETH_ALEN); in eth_zero_addr() 270 u8 addr[ETH_ALEN]; in eth_hw_addr_random() 273 __dev_addr_set(dev, addr, ETH_ALEN); in eth_hw_addr_random() 285 return ether_crc(ETH_ALEN, ha->addr); in eth_hw_addr_crc() 319 __dev_addr_set(dev, addr, ETH_ALEN); in eth_hw_addr_set() 423 for (i = 0; i < ETH_ALEN; i++) { in ether_addr_equal_masked() 464 for (i = 0; i < ETH_ALEN; i++) in ether_addr_to_u64() 479 for (i = ETH_ALEN - 1; i >= 0; i--) { in u64_to_ether_addr() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intersil/orinoco/ |
A D | mic.c | 60 memcpy(&hdr[0], da, ETH_ALEN); in orinoco_mic() 61 memcpy(&hdr[ETH_ALEN], sa, ETH_ALEN); in orinoco_mic() 62 hdr[ETH_ALEN * 2] = priority; in orinoco_mic() 63 hdr[ETH_ALEN * 2 + 1] = 0; in orinoco_mic() 64 hdr[ETH_ALEN * 2 + 2] = 0; in orinoco_mic() 65 hdr[ETH_ALEN * 2 + 3] = 0; in orinoco_mic()
|
/linux-6.3-rc2/net/bluetooth/bnep/ |
A D | netdev.c | 61 size = sizeof(*r) + (BNEP_MAX_MULTICAST_FILTERS + 1) * ETH_ALEN * 2; in bnep_net_set_mc_list() 75 u8 start[ETH_ALEN] = { 0x01 }; in bnep_net_set_mc_list() 78 __skb_put_data(skb, start, ETH_ALEN); in bnep_net_set_mc_list() 79 __skb_put_data(skb, dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list() 80 r->len = htons(ETH_ALEN * 2); in bnep_net_set_mc_list() 86 __skb_put_data(skb, dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list() 87 __skb_put_data(skb, dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list() 96 __skb_put_data(skb, ha->addr, ETH_ALEN); in bnep_net_set_mc_list() 97 __skb_put_data(skb, ha->addr, ETH_ALEN); in bnep_net_set_mc_list() 221 dev->addr_len = ETH_ALEN; in bnep_net_setup()
|
A D | core.c | 166 n /= (ETH_ALEN * 2); in bnep_ctrl_set_mcfilter() 180 memcpy(a1, data, ETH_ALEN); in bnep_ctrl_set_mcfilter() 181 data += ETH_ALEN; in bnep_ctrl_set_mcfilter() 183 data += ETH_ALEN; in bnep_ctrl_set_mcfilter() 444 skb_pull(skb, ETH_ALEN * 2); in bnep_tx_frame() 450 len += ETH_ALEN; in bnep_tx_frame() 455 len += ETH_ALEN; in bnep_tx_frame() 561 u8 dst[ETH_ALEN], src[ETH_ALEN]; in bnep_add_connection() 595 memcpy(s->eh.h_dest, &src, ETH_ALEN); in bnep_add_connection() 596 memcpy(s->eh.h_source, &dst, ETH_ALEN); in bnep_add_connection() [all …]
|
/linux-6.3-rc2/include/trace/events/ |
A D | bridge.h | 22 __array(unsigned char, addr, ETH_ALEN) 29 memcpy(__entry->addr, addr, ETH_ALEN); 52 __array(unsigned char, addr, ETH_ALEN) 59 memcpy(__entry->addr, addr, ETH_ALEN); 78 __array(unsigned char, addr, ETH_ALEN) 85 memcpy(__entry->addr, f->key.addr.addr, ETH_ALEN); 105 __array(unsigned char, addr, ETH_ALEN) 113 memcpy(__entry->addr, addr, ETH_ALEN); 138 __array(__u8, grpmac, ETH_ALEN) /* For af == 0. */ 162 memset(__entry->grpmac, 0, ETH_ALEN); [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ti/wlcore/ |
A D | wl12xx_80211.h | 65 u8 da[ETH_ALEN]; 66 u8 sa[ETH_ALEN]; 67 u8 bssid[ETH_ALEN]; 116 u8 bssid[ETH_ALEN]; 117 u8 ta[ETH_ALEN]; 127 u8 sender_hw[ETH_ALEN]; 129 u8 target_hw[ETH_ALEN];
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | test_xdp_meta.c | 21 if (data + ETH_ALEN > data_end || in ing_cls() 22 data_meta + round_up(ETH_ALEN, 4) > data) in ing_cls() 37 ret = bpf_xdp_adjust_meta(ctx, -round_up(ETH_ALEN, 4)); in ing_xdp() 45 if (data + ETH_ALEN > data_end || in ing_xdp() 46 data_meta + round_up(ETH_ALEN, 4) > data) in ing_xdp() 49 __builtin_memcpy(data_meta, data, ETH_ALEN); in ing_xdp()
|
A D | test_tc_peer.c | 51 if (bpf_skb_store_bytes(skb, 0, &src_mac, ETH_ALEN, 0) != 0) in tc_src_l3() 54 if (bpf_skb_store_bytes(skb, ETH_ALEN, &dst_mac, ETH_ALEN, 0) != 0) in tc_src_l3() 57 if (bpf_skb_store_bytes(skb, ETH_ALEN + ETH_ALEN, &proto, sizeof(__u16), 0) != 0) in tc_src_l3()
|
/linux-6.3-rc2/drivers/net/wireless/microchip/wilc1000/ |
A D | fw.h | 24 u8 bssid[ETH_ALEN]; 45 u8 mac_addr[ETH_ALEN]; 51 u8 mac_addr[ETH_ALEN]; 66 u8 mac_addr[ETH_ALEN]; 98 u8 sa[ETH_ALEN]; 99 u8 bssid[ETH_ALEN]; 124 u8 bssid[ETH_ALEN];
|
/linux-6.3-rc2/drivers/net/wireless/atmel/ |
A D | at76c50x-usb.h | 93 u8 mac_addr[ETH_ALEN]; 105 u8 mac_addr[ETH_ALEN]; 113 u8 mac_addr[ETH_ALEN]; 188 u8 bssid[ETH_ALEN]; 200 u8 bssid[ETH_ALEN]; 209 u8 bssid[ETH_ALEN]; 231 u8 mac_addr[ETH_ALEN]; 233 u8 group_addr[4][ETH_ALEN]; 329 u8 addr[ETH_ALEN]; 400 u8 bssid[ETH_ALEN]; [all …]
|
/linux-6.3-rc2/net/hsr/ |
A D | hsr_framereg.h | 51 const unsigned char addr_a[ETH_ALEN], 52 const unsigned char addr_b[ETH_ALEN]); 55 unsigned char addr[ETH_ALEN]); 59 unsigned char addr_b[ETH_ALEN], 74 unsigned char macaddress_A[ETH_ALEN]; 75 unsigned char macaddress_B[ETH_ALEN];
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/os_dep/ |
A D | recv_linux.c | 80 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, ETH_ALEN); in rtw_os_alloc_msdu_pkt() 81 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, ETH_ALEN); in rtw_os_alloc_msdu_pkt() 87 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, ETH_ALEN); in rtw_os_alloc_msdu_pkt() 88 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, ETH_ALEN); in rtw_os_alloc_msdu_pkt() 106 if (memcmp(pattrib->dst, myid(&padapter->eeprompriv), ETH_ALEN)) { in rtw_os_recv_indicate_pkt() 181 memcpy(ev.src_addr.sa_data, &pmlmepriv->assoc_bssid[0], ETH_ALEN); in rtw_handle_tkip_mic_err()
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_tc.h | 20 u8 dmac[ETH_ALEN]; 21 u8 smac[ETH_ALEN]; 66 ((is_wildcard(&(eth_addr)[0], ETH_ALEN) && \ 67 is_wildcard(&(eth_addr)[ETH_ALEN / 2], ETH_ALEN)) || \ 68 (is_wildcard(&(eth_addr_mask)[0], ETH_ALEN) && \ 69 is_wildcard(&(eth_addr_mask)[ETH_ALEN / 2], ETH_ALEN)))
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | flowring.h | 14 u8 mac[ETH_ALEN]; 34 u8 mac[ETH_ALEN]; 50 u32 brcmf_flowring_lookup(struct brcmf_flowring *flow, u8 da[ETH_ALEN], 52 u32 brcmf_flowring_create(struct brcmf_flowring *flow, u8 da[ETH_ALEN], 69 u8 peer[ETH_ALEN]); 71 u8 peer[ETH_ALEN]);
|
A D | fwil_types.h | 209 u8 addr[ETH_ALEN]; 221 u8 da[ETH_ALEN]; 230 u8 bssid[ETH_ALEN]; 310 u8 BSSID[ETH_ALEN]; 417 u8 bssid[ETH_ALEN]; 485 u8 ea[ETH_ALEN]; /* per station */ 537 u8 ea[ETH_ALEN]; 802 u8 bssid[ETH_ALEN]; 892 u8 bssid[ETH_ALEN]; 930 u8 mac[ETH_ALEN]; [all …]
|
/linux-6.3-rc2/arch/mips/bcm63xx/ |
A D | nvram.c | 30 u8 hcs_mac_addr[ETH_ALEN] = { 0x00, 0x10, 0x18, 0xff, 0xff, 0xff }; in bcm63xx_nvram_init() 45 memcpy(nvram.mac_addr_base, hcs_mac_addr, ETH_ALEN); in bcm63xx_nvram_init() 66 memcpy(mac, nvram.mac_addr_base, ETH_ALEN); in bcm63xx_nvram_get_mac_address() 67 oui = mac + ETH_ALEN/2 - 1; in bcm63xx_nvram_get_mac_address() 71 u8 *p = mac + ETH_ALEN - 1; in bcm63xx_nvram_get_mac_address()
|
/linux-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/ |
A D | qlink.h | 119 u8 mac_addr[ETH_ALEN]; 465 u8 addr[ETH_ALEN]; 483 u8 addr[ETH_ALEN]; 568 u8 bssid[ETH_ALEN]; 593 u8 peer[ETH_ALEN]; 797 u8 addr[ETH_ALEN]; 958 u8 bssid[ETH_ALEN]; 973 u8 peer[ETH_ALEN]; 1298 u8 bssid[ETH_ALEN]; 1444 u8 src[ETH_ALEN]; [all …]
|
/linux-6.3-rc2/lib/ |
A D | net_utils.c | 9 size_t maxlen = 3 * ETH_ALEN - 1; in mac_pton() 17 for (i = 0; i < ETH_ALEN; i++) { in mac_pton() 20 if (i != ETH_ALEN - 1 && s[i * 3 + 2] != ':') in mac_pton() 23 for (i = 0; i < ETH_ALEN; i++) { in mac_pton()
|