/linux/include/uapi/linux/ |
A D | batadv_packet.h | 214 __u8 orig[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]; 337 __u8 dst[ETH_ALEN]; 376 __u8 dst[ETH_ALEN]; 410 __u8 dest[ETH_ALEN]; 425 __u8 src[ETH_ALEN]; [all …]
|
/linux/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/drivers/staging/rtl8712/ |
A D | rtl871x_recv.c | 476 memcpy(pattrib->dst, pda, ETH_ALEN); in validate_recv_data_frame() 477 memcpy(pattrib->src, psa, ETH_ALEN); in validate_recv_data_frame() 478 memcpy(pattrib->bssid, pbssid, ETH_ALEN); in validate_recv_data_frame() 481 memcpy(pattrib->ra, pda, ETH_ALEN); in validate_recv_data_frame() 482 memcpy(pattrib->ta, psa, ETH_ALEN); in validate_recv_data_frame() 486 memcpy(pattrib->ra, pda, ETH_ALEN); in validate_recv_data_frame() 487 memcpy(pattrib->ta, pbssid, ETH_ALEN); in validate_recv_data_frame() 491 memcpy(pattrib->ra, pbssid, ETH_ALEN); in validate_recv_data_frame() 492 memcpy(pattrib->ta, psa, ETH_ALEN); in validate_recv_data_frame() 638 memcpy(ptr, pattrib->dst, ETH_ALEN); in r8712_wlanhdr_to_ethhdr() [all …]
|
/linux/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]; 120 u8 addr1[ETH_ALEN]; 122 u8 addr3[ETH_ALEN]; 124 u8 addr4[ETH_ALEN]; 162 u8 bssid[ETH_ALEN]; 234 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/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/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/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/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/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/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() 424 for (i = 0; i < ETH_ALEN; i++) { in ether_addr_equal_masked() 443 for (i = 0; i < ETH_ALEN; i++) in ether_addr_to_u64() 458 for (i = ETH_ALEN - 1; i >= 0; i--) { in u64_to_ether_addr() [all …]
|
/linux/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/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/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/drivers/staging/r8188eu/core/ |
A D | rtw_recv.c | 988 memcpy(pattrib->dst, pda, ETH_ALEN); in validate_recv_data_frame() 989 memcpy(pattrib->src, psa, ETH_ALEN); in validate_recv_data_frame() 995 memcpy(pattrib->ra, pda, ETH_ALEN); in validate_recv_data_frame() 996 memcpy(pattrib->ta, psa, ETH_ALEN); in validate_recv_data_frame() 1000 memcpy(pattrib->ra, pda, ETH_ALEN); in validate_recv_data_frame() 1006 memcpy(pattrib->ta, psa, ETH_ALEN); in validate_recv_data_frame() 1233 memcpy(ptr + ETH_ALEN, pattrib->src, ETH_ALEN); in wlanhdr_to_ethhdr() 1507 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, ETH_ALEN); in amsdu_to_msdu() 1508 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->dst, ETH_ALEN); in amsdu_to_msdu() 1514 memcpy(skb_push(sub_skb, ETH_ALEN), pattrib->src, ETH_ALEN); in amsdu_to_msdu() [all …]
|
A D | rtw_br_ext.c | 32 #define RTL_RELAY_TAG_LEN (ETH_ALEN) 309 memcpy(db->macAddr, macAddr, ETH_ALEN); in __nat25_db_network_insert() 322 memcpy(db->macAddr, macAddr, ETH_ALEN); in __nat25_db_network_insert() 353 memset(priv->scdb_mac, 0, ETH_ALEN); in nat25_db_cleanup() 382 memset(priv->scdb_mac, 0, ETH_ALEN); in nat25_db_expire() 461 memcpy(arp_ptr, GET_MY_HWADDR(priv), ETH_ALEN); in nat25_db_handle() 517 memcpy(tag->tag_data+MAGIC_CODE_LEN, skb->data+ETH_ALEN, ETH_ALEN); in nat25_db_handle() 527 memcmp(skb->data+ETH_ALEN, priv->pppoe_addr, ETH_ALEN)) { in nat25_db_handle() 533 memcpy(priv->pppoe_addr, skb->data+ETH_ALEN, ETH_ALEN); in nat25_db_handle() 551 !memcmp(skb->data+ETH_ALEN, priv->pppoe_addr, ETH_ALEN)) in nat25_db_handle() [all …]
|
/linux/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/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], 72 unsigned char macaddress_A[ETH_ALEN]; 73 unsigned char macaddress_B[ETH_ALEN];
|
/linux/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);
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
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 …]
|
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]);
|
/linux/drivers/net/wireless/microchip/wilc1000/ |
A D | fw.h | 24 u8 bssid[ETH_ALEN]; 51 u8 mac_addr[ETH_ALEN]; 57 u8 mac_addr[ETH_ALEN]; 64 u8 mac_addr[ETH_ALEN]; 96 u8 sa[ETH_ALEN]; 97 u8 bssid[ETH_ALEN];
|