Home
last modified time | relevance | path

Searched refs:ETH_ALEN (Results 1 – 25 of 27) sorted by relevance

12

/system/connectivity/wificond/net/
Dmlme_event.h37 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_;
Dnetlink_utils.h41 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,
Dmlme_event.cpp37 array<uint8_t, ETH_ALEN>* bssid) { in GetCommonFields()
Dnetlink_manager.h119 const std::array<uint8_t, ETH_ALEN>& mac_address)> OnStationEventHandler;
Dnetlink_utils.cpp240 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/
Dmock_client_interface_impl.cpp32 const std::array<uint8_t, ETH_ALEN> kTestInterfaceMacAddress = {0x10, 0x20, 0xfe, 0xae, 0x2d, 0xc2};
44 std::array<uint8_t, ETH_ALEN>(kTestInterfaceMacAddress), in MockClientInterfaceImpl()
Dap_interface_impl_unittest.cpp54 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()
Dscan_result_unittest.cpp39 const array<uint8_t, ETH_ALEN> kFakeBssid = {0x45, 0x54, 0xad, 0x67, 0x98, 0xf6};
56 array<uint8_t, ETH_ALEN> bssid = kFakeBssid; in TEST_F()
Dserver_unittest.cpp58 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))
Dnetlink_utils_unittest.cpp71 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()
Dclient_interface_impl_unittest.cpp86 std::array<uint8_t, ETH_ALEN>{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, in SetUp()
/system/connectivity/wificond/
Dclient_interface_impl.h68 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_;
Dlogging_utils.h35 static std::string GetMacString(const std::array<uint8_t, ETH_ALEN>& mac_address);
Dlogging_utils.cpp31 string LoggingUtils::GetMacString(const array<uint8_t, ETH_ALEN>& mac_address) { in GetMacString()
Dap_interface_impl.h68 const std::array<uint8_t, ETH_ALEN>& mac_address);
Dclient_interface_binder.cpp67 const std::array<uint8_t, ETH_ALEN>& mac = impl_->GetMacAddress(); in getMacAddress()
Dap_interface_impl.cpp84 const array<uint8_t, ETH_ALEN>& mac_address) { in OnStationEvent()
Dclient_interface_impl.cpp104 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/
Dscan_result.cpp36 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()
Dscan_result.h40 std::array<uint8_t, ETH_ALEN>& bssid,
56 std::array<uint8_t, ETH_ALEN> bssid;
Dscan_utils.cpp140 array<uint8_t, ETH_ALEN> bssid; in ParseScanResult()
/system/core/libnetutils/
Dpacket.c42 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()
Dpacket.h22 int open_raw_socket(const char* ifname, uint8_t hwaddr[ETH_ALEN], int if_index);
Difc_utils.c189 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/
DInterfaceController.cpp512 unsigned char hwaddr[ETH_ALEN] = {}; in getCfg()
538 memcpy((void*) hwaddr, &ifr.ifr_hwaddr.sa_data, ETH_ALEN); in getCfg()

12