Home
last modified time | relevance | path

Searched refs:macaddr (Results 1 – 21 of 21) sorted by relevance

/third_party/iptables/extensions/
Dlibarpt_mangle.c57 struct ether_addr *macaddr; in arpmangle_parse() local
88 macaddr = ether_aton(optarg); in arpmangle_parse()
89 if (macaddr == NULL) in arpmangle_parse()
92 memcpy(mangle->src_devaddr, macaddr, e->arp.arhln); in arpmangle_parse()
105 macaddr = ether_aton(optarg); in arpmangle_parse()
106 if (macaddr == NULL) in arpmangle_parse()
108 memcpy(mangle->tgt_devaddr, macaddr, e->arp.arhln); in arpmangle_parse()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dap_config.h59 typedef u8 macaddr[ETH_ALEN]; typedef
62 macaddr addr;
457 macaddr bssid;
722 macaddr owe_transition_bssid;
Dieee802_11_auth.c32 macaddr addr;
47 macaddr addr;
Dap_config.c272 return os_memcmp(a, b, sizeof(macaddr)); in hostapd_mac_comp()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dap_config.h60 typedef u8 macaddr[ETH_ALEN]; typedef
63 macaddr addr;
465 macaddr bssid;
762 macaddr owe_transition_bssid;
Dieee802_11_auth.c32 macaddr addr;
42 macaddr addr;
Dap_config.c302 return os_memcmp(a, b, sizeof(macaddr)); in hostapd_mac_comp()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_upnp_web.c579 u8 macaddr[ETH_ALEN]; in web_process_put_wlan_response() local
614 if (hwaddr_aton(val, macaddr)) { in web_process_put_wlan_response()
627 if (hwaddr_aton2(val, macaddr) > 0) { in web_process_put_wlan_response()
635 val, MAC2STR(macaddr)); in web_process_put_wlan_response()
657 macaddr, msg, type) in web_process_put_wlan_response()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_upnp_web.c579 u8 macaddr[ETH_ALEN]; in web_process_put_wlan_response() local
614 if (hwaddr_aton(val, macaddr)) { in web_process_put_wlan_response()
627 if (hwaddr_aton2(val, macaddr) > 0) { in web_process_put_wlan_response()
635 val, MAC2STR(macaddr)); in web_process_put_wlan_response()
657 macaddr, msg, type) in web_process_put_wlan_response()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/
Ddriver_nl80211_hisi.c138 u8 macaddr[ETH_ALEN] = {}; in wpa_driver_nl80211_driver_cmd() local
140 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); in wpa_driver_nl80211_driver_cmd()
143 "Macaddr = " MACSTR "\n", MAC2STR(macaddr)); in wpa_driver_nl80211_driver_cmd()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/
Ddriver_nl80211_hisi.c138 u8 macaddr[ETH_ALEN] = {}; in wpa_driver_nl80211_driver_cmd() local
140 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); in wpa_driver_nl80211_driver_cmd()
144 "Macaddr = " MACSTR "\n", MAC2STR(macaddr)); in wpa_driver_nl80211_driver_cmd()
/third_party/toybox/toys/pending/
Ddhcp.c175 uint8_t macaddr[6]; member
838 memcpy(optptr, &state->macaddr, 6); in dhcpc_addclientid()
997 memcpy(state->pdhcp.chaddr, state->macaddr, 6); in dhcpc_sendmsg()
1199 && !memcmp(state->pdhcp.chaddr, state->macaddr, 6) in dhcpc_parsemsg()
1305 if (get_interface(state->iface, &state->ifindex, NULL, state->macaddr)) in dhcp_main()
1333 if (get_interface(state->iface, &state->ifindex, NULL, state->macaddr)) in dhcp_main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_atheros.c662 os_memcpy(stats.is_u.macaddr, addr, IEEE80211_ADDR_LEN); in atheros_read_sta_driver_data()
1991 os_memcpy(mgmt_frm->macaddr, (u8 *)mgmt->da, IEEE80211_ADDR_LEN); in atheros_send_mgmt()
2017 os_memcpy(&req.macaddr[0], addr, IEEE80211_ADDR_LEN); in atheros_add_tspec()
2039 os_memcpy(&req.macaddr[0], addr, IEEE80211_ADDR_LEN); in atheros_add_sta_node()
Ddriver_nl80211.c592 u8 *macaddr; member
611 if (tb[NL80211_ATTR_MAC] && info->macaddr) in netdev_info_handler()
612 os_memcpy(info->macaddr, nla_data(tb[NL80211_ATTR_MAC]), in netdev_info_handler()
624 .macaddr = NULL, in nl80211_get_wiphy_index()
641 .macaddr = NULL, in nl80211_get_ifmode()
657 .macaddr = bss->addr, in nl80211_get_macaddr()
7121 u8 macaddr[ETH_ALEN]; member
7138 os_memcpy(wi->macaddr, nla_data(tb[NL80211_ATTR_MAC]), in nl80211_wdev_handler()
7176 if (!is_zero_ether_addr(p2pdev_info.macaddr)) in wpa_driver_nl80211_if_add()
7177 os_memcpy(if_addr, p2pdev_info.macaddr, ETH_ALEN); in wpa_driver_nl80211_if_add()
Ddriver_bsd.c745 memcpy(stats.is_u.macaddr, addr, IEEE80211_ADDR_LEN); in bsd_read_sta_driver_data()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_atheros.c658 os_memcpy(stats.is_u.macaddr, addr, IEEE80211_ADDR_LEN); in atheros_read_sta_driver_data()
1979 os_memcpy(mgmt_frm->macaddr, (u8 *)mgmt->da, IEEE80211_ADDR_LEN); in atheros_send_mgmt()
2004 os_memcpy(&req.macaddr[0], addr, IEEE80211_ADDR_LEN); in atheros_add_tspec()
2026 os_memcpy(&req.macaddr[0], addr, IEEE80211_ADDR_LEN); in atheros_add_sta_node()
Ddriver_nl80211.c701 u8 *macaddr; member
721 if (tb[NL80211_ATTR_MAC] && info->macaddr) in netdev_info_handler()
722 os_memcpy(info->macaddr, nla_data(tb[NL80211_ATTR_MAC]), in netdev_info_handler()
737 .macaddr = NULL, in nl80211_get_wiphy_index()
755 .macaddr = NULL, in nl80211_get_ifmode()
772 .macaddr = bss->addr, in nl80211_get_macaddr()
7842 u8 macaddr[ETH_ALEN]; member
7859 os_memcpy(wi->macaddr, nla_data(tb[NL80211_ATTR_MAC]), in nl80211_wdev_handler()
7897 if (!is_zero_ether_addr(p2pdev_info.macaddr)) in wpa_driver_nl80211_if_add()
7898 os_memcpy(if_addr, p2pdev_info.macaddr, ETH_ALEN); in wpa_driver_nl80211_if_add()
Ddriver_bsd.c964 memcpy(stats.is_u.macaddr, addr, IEEE80211_ADDR_LEN); in bsd_read_sta_driver_data()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_config_file.c123 return os_memcmp(aa->addr, bb->addr, sizeof(macaddr)); in hostapd_acl_comp()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_config_file.c125 return os_memcmp(aa->addr, bb->addr, sizeof(macaddr)); in hostapd_acl_comp()
/third_party/NuttX/
DReleaseNotes21135 for this utility would be to set a "macaddr" configdata item, etc. The
21138 For instance, to set a "macaddr" when the new CONFIG_MTD_CONFIG_NAMED
21141 nsh> cfgdata set macaddr [0xfc 0x01 0x0b 0x45 0xa1 0x12]
21155 macaddr 6 0xFC 0x01 0x0B 0x45 0xA1 0x12