Home
last modified time | relevance | path

Searched refs:if_index (Results 1 – 7 of 7) sorted by relevance

/system/connectivity/wificond/net/
Dnetlink_manager.cpp531 uint32_t if_index; in BroadcastHandler() local
532 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, &if_index)) { in BroadcastHandler()
536 const auto handler = on_station_event_handler_.find(if_index); in BroadcastHandler()
597 uint32_t if_index; in OnMlmeEvent() local
599 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, &if_index)) { in OnMlmeEvent()
603 const auto handler = on_mlme_event_handler_.find(if_index); in OnMlmeEvent()
606 << " with index: " << if_index; in OnMlmeEvent()
649 uint32_t if_index; in OnSchedScanResultsReady() local
650 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, &if_index)) { in OnSchedScanResultsReady()
655 const auto handler = on_sched_scan_result_ready_handler_.find(if_index); in OnSchedScanResultsReady()
[all …]
Dmlme_event.cpp36 uint32_t* if_index, in GetCommonFields() argument
38 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, if_index)) { in GetCommonFields()
Dnetlink_utils.cpp202 uint32_t if_index; in GetInterfaces() local
203 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, &if_index)) { in GetInterfaces()
225 interface_info->emplace_back(if_index, if_name, if_mac_addr); in GetInterfaces()
/system/core/libnetutils/
Dpacket.h22 int open_raw_socket(const char* ifname, uint8_t hwaddr[ETH_ALEN], int if_index);
23 int send_packet(int s, int if_index, struct dhcp_msg *msg, int size,
Dpacket.c42 int open_raw_socket(const char* ifname __unused, uint8_t hwaddr[ETH_ALEN], int if_index) { in open_raw_socket() argument
49 .sll_ifindex = if_index, in open_raw_socket()
86 int send_packet(int s, int if_index, struct dhcp_msg *msg, int size, in send_packet() argument
139 destaddr.sll_ifindex = if_index; in send_packet()
Ddhcpclient.c342 static int send_message(int sock, int if_index, dhcp_msg *msg, int size) in send_message() argument
347 return send_packet(sock, if_index, msg, size, INADDR_ANY, INADDR_BROADCAST, in send_message()
401 int if_index; in dhcp_init_ifc() local
408 if (ifc_get_ifindex(ifname, &if_index)) { in dhcp_init_ifc()
412 s = open_raw_socket(ifname, hwaddr, if_index); in dhcp_init_ifc()
457 r = send_message(s, if_index, msg, size); in dhcp_init_ifc()
/system/connectivity/wificond/scanning/
Dscan_utils.cpp112 uint32_t if_index; in GetScanResult() local
113 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, &if_index)) { in GetScanResult()
117 if (if_index != interface_index) { in GetScanResult()
118 LOG(WARNING) << "Uninteresting scan result for interface: " << if_index; in GetScanResult()