/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 | 39 const std::array<uint8_t, ETH_ALEN>& mac_address) in InterfaceInfo() 48 std::array<uint8_t, ETH_ALEN> mac_address; 203 const std::array<uint8_t, ETH_ALEN>& mac_address,
|
D | mlme_event.cpp | 37 array<uint8_t, ETH_ALEN>* bssid) { in GetCommonFields()
|
D | netlink_utils.cpp | 219 array<uint8_t, ETH_ALEN> if_mac_addr; in GetInterfaces() 478 const array<uint8_t, ETH_ALEN>& mac_address, in GetStationInfo() 487 get_station.AddAttribute(NL80211Attr<array<uint8_t, ETH_ALEN>>( in GetStationInfo()
|
D | netlink_manager.h | 119 const std::array<uint8_t, ETH_ALEN>& mac_address)> OnStationEventHandler;
|
/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(); 82 bool SetMacAddress(const std::array<uint8_t, ETH_ALEN>& mac); 96 const std::array<uint8_t, ETH_ALEN> interface_mac_addr_; 106 std::array<uint8_t, ETH_ALEN> bssid_;
|
D | client_interface_binder.cpp | 67 const std::array<uint8_t, ETH_ALEN>& mac = impl_->GetMacAddress(); in getMacAddress() 96 if (mac.size() != ETH_ALEN) { in setMacAddress() 101 std::array<uint8_t, ETH_ALEN> mac_array; in setMacAddress() 102 std::copy_n(mac.begin(), ETH_ALEN, mac_array.begin()); in setMacAddress()
|
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 | client_interface_impl.cpp | 102 const std::array<uint8_t, ETH_ALEN>& interface_mac_addr, in ClientInterfaceImpl() 235 const std::array<uint8_t, ETH_ALEN>& ClientInterfaceImpl::GetMacAddress() { in GetMacAddress() 239 bool ClientInterfaceImpl::SetMacAddress(const std::array<uint8_t, ETH_ALEN>& mac) { in SetMacAddress()
|
D | ap_interface_impl.h | 72 const std::array<uint8_t, ETH_ALEN>& mac_address);
|
D | ap_interface_impl.cpp | 86 const array<uint8_t, ETH_ALEN>& mac_address) { in OnStationEvent()
|
/system/connectivity/wificond/tests/ |
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}; 105 array<uint8_t, ETH_ALEN> fake_mac_address_01 = kFakeMacAddress01; in TEST_F() 106 array<uint8_t, ETH_ALEN> fake_mac_address_02 = kFakeMacAddress02; in TEST_F() 137 array<uint8_t, ETH_ALEN> fake_mac_address_01 = kFakeMacAddress01; in TEST_F() 161 array<uint8_t, ETH_ALEN> fake_mac_address_01 = kFakeMacAddress01; in TEST_F() 162 array<uint8_t, ETH_ALEN> fake_mac_address_02 = kFakeMacAddress02; in TEST_F() 183 array<uint8_t, ETH_ALEN> fake_mac_address_01 = kFakeMacAddress01; in TEST_F()
|
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 | server_unittest.cpp | 57 const std::array<uint8_t, ETH_ALEN> kFakeInterfaceMacAddress = {0x45, 0x54, 0xad, 0x67, 0x98, 0xf6}; 58 const std::array<uint8_t, ETH_ALEN> kFakeInterfaceMacAddress1 = {0x05, 0x04, 0xef, 0x27, 0x12, 0xff… 59 const std::array<uint8_t, ETH_ALEN> kFakeInterfaceMacAddressP2p = {0x15, 0x24, 0xef, 0x27, 0x12, 0x… 103 std::array<uint8_t, ETH_ALEN>(kFakeInterfaceMacAddress)), 108 std::array<uint8_t, ETH_ALEN>(kFakeInterfaceMacAddress1)), 113 std::array<uint8_t, ETH_ALEN>(kFakeInterfaceMacAddressP2p))
|
D | client_interface_impl_unittest.cpp | 84 std::array<uint8_t, ETH_ALEN>{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, in SetUp() 116 client_interface_->SetMacAddress(std::array<uint8_t, ETH_ALEN>())); in TEST_F() 123 client_interface_->SetMacAddress(std::array<uint8_t, ETH_ALEN>())); in TEST_F() 131 client_interface_->SetMacAddress(std::array<uint8_t, ETH_ALEN>())); in TEST_F() 139 client_interface_->SetMacAddress(std::array<uint8_t, ETH_ALEN>())); in TEST_F() 145 std::array<uint8_t, ETH_ALEN>{{1, 2, 3, 4, 5, 6}})) in TEST_F() 149 std::array<uint8_t, ETH_ALEN>{{1, 2, 3, 4, 5, 6}})); 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 | 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… 375 std::array<uint8_t, ETH_ALEN> if_mac_addr = kFakeInterfaceMacAddress; in TEST_F() 376 NL80211Attr<std::array<uint8_t, ETH_ALEN>> if_mac_attr(NL80211_ATTR_MAC, if_mac_addr); in TEST_F() 414 std::array<uint8_t, ETH_ALEN> if_mac_addr = kFakeInterfaceMacAddress; in TEST_F() 416 NL80211Attr<std::array<uint8_t, ETH_ALEN>>(NL80211_ATTR_MAC, if_mac_addr)); in TEST_F() 445 std::array<uint8_t, ETH_ALEN> if_mac_addr = kFakeInterfaceMacAddress; in TEST_F() 447 NL80211Attr<std::array<uint8_t, ETH_ALEN>>(NL80211_ATTR_MAC, if_mac_addr)); in TEST_F() 463 std::array<uint8_t, ETH_ALEN> if_mac_addr_p2p = kFakeInterfaceMacAddress1; in TEST_F() 465 NL80211Attr<std::array<uint8_t, ETH_ALEN>>(NL80211_ATTR_MAC, if_mac_addr_p2p)); in TEST_F()
|
/system/connectivity/wificond/scanning/ |
D | scan_result.cpp | 37 std::array<uint8_t, ETH_ALEN>& bssid_, in NativeScanResult() 83 if (bssid_vec.size() != ETH_ALEN) { in readFromParcel() 84 LOG(ERROR) << "bssid length expected " << ETH_ALEN << " bytes, but got " in readFromParcel() 88 std::copy_n(bssid_vec.begin(), ETH_ALEN, bssid.begin()); in readFromParcel()
|
D | scan_result.h | 41 std::array<uint8_t, ETH_ALEN>& bssid, 57 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()
|