/linux-6.1.9/include/uapi/linux/ |
D | batadv_packet.h | 214 __u8 orig[ETH_ALEN]; 215 __u8 prev_sender[ETH_ALEN]; 240 __u8 orig[ETH_ALEN]; 258 __u8 orig[ETH_ALEN]; 285 __u8 dst[ETH_ALEN]; 286 __u8 orig[ETH_ALEN]; 308 __u8 dst[ETH_ALEN]; 309 __u8 orig[ETH_ALEN]; 337 __u8 dst[ETH_ALEN]; 338 __u8 orig[ETH_ALEN]; [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/ |
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.1.9/include/linux/ |
D | etherdevice.h | 70 static const u8 eth_reserved_addr_base[ETH_ALEN] __aligned(2) = 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() 404 return memcmp(addr1, addr2, ETH_ALEN) == 0; in ether_addr_equal_unaligned() 423 for (i = 0; i < ETH_ALEN; i++) { in ether_addr_equal_masked() [all …]
|
/linux-6.1.9/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 309 if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 311 if ((memcmp(myhwaddr, pattrib->dst, ETH_ALEN)) && (!bmcast)) in sta2sta_data_frame() 315 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in sta2sta_data_frame() 322 if (memcmp(pattrib->bssid, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 336 if (memcmp(pattrib->bssid, pattrib->dst, ETH_ALEN)) in sta2sta_data_frame() 341 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame() 342 memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in sta2sta_data_frame() 343 memcpy(pattrib->bssid, GetAddr3Ptr(ptr), ETH_ALEN); in sta2sta_data_frame() 344 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in sta2sta_data_frame() 345 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in sta2sta_data_frame() [all …]
|
/linux-6.1.9/drivers/net/wireless/ |
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]; 332 u8 mac_addr[ETH_ALEN]; 345 u8 mac_addr[ETH_ALEN]; [all …]
|
/linux-6.1.9/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_tx.c | 108 !ether_addr_equal(skb->data + ETH_ALEN, dev->dev_addr)) { in hostap_data_start_xmit() 156 skb_copy_from_linear_data_offset(skb, ETH_ALEN, in hostap_data_start_xmit() 157 &hdr.addr4, ETH_ALEN); in hostap_data_start_xmit() 158 hdr_len += ETH_ALEN; in hostap_data_start_xmit() 170 skb_copy_from_linear_data_offset(skb, 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() 185 memcpy(&hdr.addr2, dev->dev_addr, ETH_ALEN); in hostap_data_start_xmit() [all …]
|
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]; 100 u8 src_addr[ETH_ALEN]; 121 u8 addr1[ETH_ALEN]; 122 u8 addr2[ETH_ALEN]; /* filled by firmware */ 123 u8 addr3[ETH_ALEN]; 126 u8 addr4[ETH_ALEN]; [all …]
|
D | hostap_80211_rx.c | 240 memcmp(entry->src_addr, src, ETH_ALEN) == 0 && in prism2_frag_cache_find() 241 memcmp(entry->dst_addr, dst, ETH_ALEN) == 0) in prism2_frag_cache_find() 268 8 /* WEP */ + ETH_ALEN /* WDS */); in prism2_frag_cache_get() 284 memcpy(entry->src_addr, hdr->addr2, ETH_ALEN); in prism2_frag_cache_get() 285 memcpy(entry->dst_addr, hdr->addr1, ETH_ALEN); in prism2_frag_cache_get() 334 if (memcmp(bss->bssid, bssid, ETH_ALEN) == 0 && in __hostap_get_bss() 364 memcpy(bss->bssid, bssid, ETH_ALEN); in __hostap_add_bss() 542 memcmp(iface->u.wds.remote_addr, addr, ETH_ALEN) == 0) in prism2_rx_get_wds() 583 memcmp(hdr->addr2, local->bssid, ETH_ALEN) != 0)) { in hostap_rx_frame_wds() 731 u8 dst[ETH_ALEN]; in hostap_80211_rx() [all …]
|
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/ |
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.1.9/net/bluetooth/bnep/ |
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()
|
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() 294 ETH_ALEN + 2, /* BNEP_COMPRESSED_SRC_ONLY */ 295 ETH_ALEN + 2 /* BNEP_COMPRESSED_DST_ONLY */ 381 __skb_put_data(nskb, s->eh.h_dest, ETH_ALEN); in bnep_rx_frame() 382 __skb_put_data(nskb, skb_mac_header(skb), ETH_ALEN); in bnep_rx_frame() 387 __skb_put_data(nskb, skb_mac_header(skb), ETH_ALEN); in bnep_rx_frame() 388 __skb_put_data(nskb, s->eh.h_source, ETH_ALEN + 2); in bnep_rx_frame() [all …]
|
/linux-6.1.9/drivers/net/wireless/ti/wlcore/ |
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.1.9/tools/testing/selftests/bpf/progs/ |
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()
|
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.1.9/drivers/net/wireless/microchip/wilc1000/ |
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.1.9/drivers/net/wireless/atmel/ |
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]; 253 u8 desired_bssid[ETH_ALEN]; 268 u8 current_bssid[ETH_ALEN]; [all …]
|
/linux-6.1.9/net/hsr/ |
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.1.9/drivers/staging/rtl8723bs/os_dep/ |
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.1.9/drivers/staging/r8188eu/core/ |
D | rtw_br_ext.c | 31 #define RTL_RELAY_TAG_LEN (ETH_ALEN) 282 memcpy(db->macAddr, macAddr, ETH_ALEN); in __nat25_db_network_insert() 295 memcpy(db->macAddr, macAddr, ETH_ALEN); in __nat25_db_network_insert() 323 memset(priv->scdb_mac, 0, ETH_ALEN); in nat25_db_cleanup() 352 memset(priv->scdb_mac, 0, ETH_ALEN); in nat25_db_expire() 378 protocol = be16_to_cpu(*((__be16 *)(skb->data + 2 * ETH_ALEN))); in nat25_db_handle() 400 __nat25_db_network_insert(priv, skb->data + ETH_ALEN, networkAddr); in nat25_db_handle() 421 memcpy(arp_ptr, GET_MY_HWADDR(priv), ETH_ALEN); in nat25_db_handle() 425 __nat25_db_network_insert(priv, skb->data + ETH_ALEN, networkAddr); in nat25_db_handle() 477 memcpy(tag->tag_data + MAGIC_CODE_LEN, skb->data + ETH_ALEN, ETH_ALEN); in nat25_db_handle() [all …]
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
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.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
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]);
|
/linux-6.1.9/arch/mips/bcm63xx/ |
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.1.9/include/trace/events/ |
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);
|
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/ |
D | qlink.h | 119 u8 mac_addr[ETH_ALEN]; 447 u8 sta_addr[ETH_ALEN]; 465 u8 addr[ETH_ALEN]; 483 u8 addr[ETH_ALEN]; 525 u8 sta_addr[ETH_ALEN]; 537 u8 sta_addr[ETH_ALEN]; 568 u8 bssid[ETH_ALEN]; 569 u8 bssid_hint[ETH_ALEN]; 570 u8 prev_bssid[ETH_ALEN]; 593 u8 peer[ETH_ALEN]; [all …]
|
/linux-6.1.9/lib/ |
D | net_utils.c | 12 if (strlen(s) < 3 * ETH_ALEN - 1) in mac_pton() 16 for (i = 0; i < ETH_ALEN; i++) { in mac_pton() 19 if (i != ETH_ALEN - 1 && s[i * 3 + 2] != ':') in mac_pton() 22 for (i = 0; i < ETH_ALEN; i++) { in mac_pton()
|