/system/connectivity/wificond/net/ |
D | mlme_event.h | 37 const std::array<uint8_t, ETH_ALEN>& GetBSSID() const { return bssid_; } in GetBSSID() 49 std::array<uint8_t, ETH_ALEN> bssid_; 61 const std::array<uint8_t, ETH_ALEN>& GetBSSID() const { return bssid_; } in GetBSSID() 73 std::array<uint8_t, ETH_ALEN> bssid_; 85 const std::array<uint8_t, ETH_ALEN>& GetBSSID() const { return bssid_; } in GetBSSID() 92 std::array<uint8_t, ETH_ALEN> bssid_; 107 std::array<uint8_t, ETH_ALEN> bssid_; 121 std::array<uint8_t, ETH_ALEN> bssid_;
|
D | netlink_utils.h | 41 const std::array<uint8_t, ETH_ALEN>& mac_address) in InterfaceInfo() 53 std::array<uint8_t, ETH_ALEN> mac_address; 227 const std::array<uint8_t, ETH_ALEN>& mac_address,
|
D | mlme_event.cpp | 37 array<uint8_t, ETH_ALEN>* bssid) { in GetCommonFields()
|
D | netlink_manager.h | 119 const std::array<uint8_t, ETH_ALEN>& mac_address)> OnStationEventHandler;
|
D | netlink_utils.cpp | 240 array<uint8_t, ETH_ALEN> if_mac_addr; in GetInterfaces() 683 const array<uint8_t, ETH_ALEN>& mac_address, in GetStationInfo() 692 get_station.AddAttribute(NL80211Attr<array<uint8_t, ETH_ALEN>>( in GetStationInfo()
|
/system/connectivity/wificond/tests/ |
D | mock_client_interface_impl.cpp | 32 const std::array<uint8_t, ETH_ALEN> kTestInterfaceMacAddress = {0x10, 0x20, 0xfe, 0xae, 0x2d, 0xc2}; 44 std::array<uint8_t, ETH_ALEN>(kTestInterfaceMacAddress), in MockClientInterfaceImpl()
|
D | ap_interface_impl_unittest.cpp | 54 const array<uint8_t, ETH_ALEN> kFakeMacAddress01 = {0x45, 0x54, 0xad, 0x67, 0x98, 0xf6}; 55 const array<uint8_t, ETH_ALEN> kFakeMacAddress02 = {0x45, 0x54, 0xad, 0x67, 0x98, 0xf7}; 107 array<uint8_t, ETH_ALEN> fake_mac_address_01 = kFakeMacAddress01; in TEST_F() 108 array<uint8_t, ETH_ALEN> fake_mac_address_02 = kFakeMacAddress02; in TEST_F() 129 array<uint8_t, ETH_ALEN> fake_mac_address_01 = kFakeMacAddress01; in TEST_F()
|
D | scan_result_unittest.cpp | 39 const array<uint8_t, ETH_ALEN> kFakeBssid = {0x45, 0x54, 0xad, 0x67, 0x98, 0xf6}; 56 array<uint8_t, ETH_ALEN> bssid = kFakeBssid; in TEST_F()
|
D | server_unittest.cpp | 58 const std::array<uint8_t, ETH_ALEN> kFakeInterfaceMacAddress = {0x45, 0x54, 0xad, 0x67, 0x98, 0xf6}; 59 const std::array<uint8_t, ETH_ALEN> kFakeInterfaceMacAddress1 = {0x05, 0x04, 0xef, 0x27, 0x12, 0xff… 60 const std::array<uint8_t, ETH_ALEN> kFakeInterfaceMacAddressP2p = {0x15, 0x24, 0xef, 0x27, 0x12, 0x… 123 std::array<uint8_t, ETH_ALEN>(kFakeInterfaceMacAddress)), 129 std::array<uint8_t, ETH_ALEN>(kFakeInterfaceMacAddress1)), 135 std::array<uint8_t, ETH_ALEN>(kFakeInterfaceMacAddressP2p))
|
D | netlink_utils_unittest.cpp | 71 const std::array<uint8_t, ETH_ALEN> kFakeInterfaceMacAddress = {0x45, 0x54, 0xad, 0x67, 0x98, 0xf6}; 72 const std::array<uint8_t, ETH_ALEN> kFakeInterfaceMacAddress1 = {0x05, 0x04, 0xef, 0x27, 0x12, 0xff… 447 std::array<uint8_t, ETH_ALEN> if_mac_addr = kFakeInterfaceMacAddress; in TEST_F() 448 NL80211Attr<std::array<uint8_t, ETH_ALEN>> if_mac_attr(NL80211_ATTR_MAC, if_mac_addr); in TEST_F() 487 std::array<uint8_t, ETH_ALEN> if_mac_addr = kFakeInterfaceMacAddress; in TEST_F() 489 NL80211Attr<std::array<uint8_t, ETH_ALEN>>(NL80211_ATTR_MAC, if_mac_addr)); in TEST_F() 519 std::array<uint8_t, ETH_ALEN> if_mac_addr = kFakeInterfaceMacAddress; in TEST_F() 521 NL80211Attr<std::array<uint8_t, ETH_ALEN>>(NL80211_ATTR_MAC, if_mac_addr)); in TEST_F() 537 std::array<uint8_t, ETH_ALEN> if_mac_addr_p2p = kFakeInterfaceMacAddress1; in TEST_F() 539 NL80211Attr<std::array<uint8_t, ETH_ALEN>>(NL80211_ATTR_MAC, if_mac_addr_p2p)); in TEST_F()
|
D | client_interface_impl_unittest.cpp | 86 std::array<uint8_t, ETH_ALEN>{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, in SetUp()
|
/system/connectivity/wificond/ |
D | client_interface_impl.h | 68 const std::array<uint8_t, ETH_ALEN>& interface_mac_addr, 79 const std::array<uint8_t, ETH_ALEN>& GetMacAddress(); 97 const std::array<uint8_t, ETH_ALEN> interface_mac_addr_; 107 std::array<uint8_t, ETH_ALEN> bssid_;
|
D | logging_utils.h | 35 static std::string GetMacString(const std::array<uint8_t, ETH_ALEN>& mac_address);
|
D | logging_utils.cpp | 31 string LoggingUtils::GetMacString(const array<uint8_t, ETH_ALEN>& mac_address) { in GetMacString()
|
D | ap_interface_impl.h | 68 const std::array<uint8_t, ETH_ALEN>& mac_address);
|
D | client_interface_binder.cpp | 67 const std::array<uint8_t, ETH_ALEN>& mac = impl_->GetMacAddress(); in getMacAddress()
|
D | ap_interface_impl.cpp | 84 const array<uint8_t, ETH_ALEN>& mac_address) { in OnStationEvent()
|
D | client_interface_impl.cpp | 104 const std::array<uint8_t, ETH_ALEN>& interface_mac_addr, in ClientInterfaceImpl() 241 const std::array<uint8_t, ETH_ALEN>& ClientInterfaceImpl::GetMacAddress() { in GetMacAddress()
|
/system/connectivity/wificond/scanning/ |
D | scan_result.cpp | 36 std::array<uint8_t, ETH_ALEN>& bssid_, in NativeScanResult() 82 if (bssid_vec.size() != ETH_ALEN) { in readFromParcel() 83 LOG(ERROR) << "bssid length expected " << ETH_ALEN << " bytes, but got " in readFromParcel() 87 std::copy_n(bssid_vec.begin(), ETH_ALEN, bssid.begin()); in readFromParcel()
|
D | scan_result.h | 40 std::array<uint8_t, ETH_ALEN>& bssid, 56 std::array<uint8_t, ETH_ALEN> bssid;
|
D | scan_utils.cpp | 140 array<uint8_t, ETH_ALEN> bssid; in ParseScanResult()
|
/system/core/libnetutils/ |
D | packet.c | 42 int open_raw_socket(const char* ifname __unused, uint8_t hwaddr[ETH_ALEN], int if_index) { in open_raw_socket() argument 50 .sll_halen = ETH_ALEN, in open_raw_socket() 52 memcpy(bindaddr.sll_addr, hwaddr, ETH_ALEN); in open_raw_socket() 140 destaddr.sll_halen = ETH_ALEN; in send_packet() 141 memcpy(destaddr.sll_addr, "\xff\xff\xff\xff\xff\xff", ETH_ALEN); in send_packet()
|
D | packet.h | 22 int open_raw_socket(const char* ifname, uint8_t hwaddr[ETH_ALEN], int if_index);
|
D | ifc_utils.c | 189 memcpy(ptr, &ifr.ifr_hwaddr.sa_data, ETH_ALEN); in ifc_get_hwaddr() 453 memcpy(&ifr.ifr_hwaddr.sa_data, ptr, ETH_ALEN); in ifc_set_hwaddr()
|
/system/netd/server/ |
D | InterfaceController.cpp | 512 unsigned char hwaddr[ETH_ALEN] = {}; in getCfg() 538 memcpy((void*) hwaddr, &ifr.ifr_hwaddr.sa_data, ETH_ALEN); in getCfg()
|