Lines Matching refs:ETH_ALEN
51 brcmf_flowring_is_tdls_mac(struct brcmf_flowring *flow, u8 mac[ETH_ALEN]) in brcmf_flowring_is_tdls_mac() argument
58 if (memcmp(search->mac, mac, ETH_ALEN) == 0) in brcmf_flowring_is_tdls_mac()
67 u32 brcmf_flowring_lookup(struct brcmf_flowring *flow, u8 da[ETH_ALEN], in brcmf_flowring_lookup() argument
94 if ((sta || (memcmp(hash[hash_idx].mac, mac, ETH_ALEN) == 0)) && in brcmf_flowring_lookup()
109 u32 brcmf_flowring_create(struct brcmf_flowring *flow, u8 da[ETH_ALEN], in brcmf_flowring_create() argument
156 memcpy(hash[hash_idx].mac, mac, ETH_ALEN); in brcmf_flowring_create()
429 u8 peer[ETH_ALEN]) in brcmf_flowring_delete_peer() argument
445 if (memcmp(search->mac, peer, ETH_ALEN) == 0) { in brcmf_flowring_delete_peer()
455 if ((sta || (memcmp(hash[i].mac, peer, ETH_ALEN) == 0)) && in brcmf_flowring_delete_peer()
478 u8 peer[ETH_ALEN]) in brcmf_flowring_add_tdls_peer() argument
487 memcpy(tdls_entry->mac, peer, ETH_ALEN); in brcmf_flowring_add_tdls_peer()
493 if (memcmp(search->mac, peer, ETH_ALEN) == 0) in brcmf_flowring_add_tdls_peer()
497 if (memcmp(search->mac, peer, ETH_ALEN) == 0) in brcmf_flowring_add_tdls_peer()