/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_upnp_ap.c | 44 os_memset(s->authorized_macs, 0, sizeof(s->authorized_macs)); in upnp_er_set_selected_registrar() 55 if (attr.authorized_macs) { in upnp_er_set_selected_registrar() 59 os_memcpy(s->authorized_macs, attr.authorized_macs, in upnp_er_set_selected_registrar() 64 os_memset(s->authorized_macs, 0xff, ETH_ALEN); in upnp_er_set_selected_registrar()
|
D | wps_module_tests.c | 314 !attr.authorized_macs || in wps_attr_parse_tests()
|
D | wps_registrar.c | 182 u8 authorized_macs[WPS_MAX_AUTHORIZED_MACS][ETH_ALEN]; member 240 if (os_memcmp(reg->authorized_macs[i], addr, ETH_ALEN) == 0) { in wps_registrar_add_authorized_mac() 246 os_memcpy(reg->authorized_macs[i], reg->authorized_macs[i - 1], in wps_registrar_add_authorized_mac() 248 os_memcpy(reg->authorized_macs[0], addr, ETH_ALEN); in wps_registrar_add_authorized_mac() 250 (u8 *) reg->authorized_macs, sizeof(reg->authorized_macs)); in wps_registrar_add_authorized_mac() 261 if (os_memcmp(reg->authorized_macs, addr, ETH_ALEN) == 0) in wps_registrar_remove_authorized_mac() 270 os_memcpy(reg->authorized_macs[i], reg->authorized_macs[i + 1], in wps_registrar_remove_authorized_mac() 272 os_memset(reg->authorized_macs[WPS_MAX_AUTHORIZED_MACS - 1], 0, in wps_registrar_remove_authorized_mac() 275 (u8 *) reg->authorized_macs, sizeof(reg->authorized_macs)); in wps_registrar_remove_authorized_mac() 3507 if (is_zero_ether_addr(s->authorized_macs[j])) in wps_registrar_sel_reg_add() [all …]
|
D | wps_validate.c | 525 static int wps_validate_authorized_macs(const u8 *authorized_macs, size_t len, in wps_validate_authorized_macs() argument 528 if (authorized_macs == NULL) { in wps_validate_authorized_macs() 538 "MACs attribute value", authorized_macs, len); in wps_validate_authorized_macs() 1111 wps_validate_authorized_macs(attr.authorized_macs, in wps_validate_beacon() 1163 wps_validate_authorized_macs(attr.authorized_macs, in wps_validate_beacon_probe_resp() 1963 wps_validate_authorized_macs(attr.authorized_macs, in wps_validate_upnp_set_selected_registrar()
|
D | wps_attr_parse.h | 70 const u8 *authorized_macs; /* <= 30 octets */ member
|
D | wps_upnp_i.h | 101 u8 authorized_macs[WPS_MAX_AUTHORIZED_MACS][ETH_ALEN]; member
|
D | wps.c | 334 if (!attr.authorized_macs) in wps_is_addr_authorized() 337 pos = attr.authorized_macs; in wps_is_addr_authorized()
|
D | wps_attr_parse.c | 35 attr->authorized_macs = pos; in wps_set_vendor_ext_wfa_subelem()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_upnp_ap.c | 44 os_memset(s->authorized_macs, 0, sizeof(s->authorized_macs)); in upnp_er_set_selected_registrar() 55 if (attr.authorized_macs) { in upnp_er_set_selected_registrar() 59 os_memcpy(s->authorized_macs, attr.authorized_macs, in upnp_er_set_selected_registrar() 64 os_memset(s->authorized_macs, 0xff, ETH_ALEN); in upnp_er_set_selected_registrar()
|
D | wps_module_tests.c | 314 !attr.authorized_macs || in wps_attr_parse_tests()
|
D | wps_registrar.c | 183 u8 authorized_macs[WPS_MAX_AUTHORIZED_MACS][ETH_ALEN]; member 241 if (os_memcmp(reg->authorized_macs[i], addr, ETH_ALEN) == 0) { in wps_registrar_add_authorized_mac() 247 os_memcpy(reg->authorized_macs[i], reg->authorized_macs[i - 1], in wps_registrar_add_authorized_mac() 249 os_memcpy(reg->authorized_macs[0], addr, ETH_ALEN); in wps_registrar_add_authorized_mac() 251 (u8 *) reg->authorized_macs, sizeof(reg->authorized_macs)); in wps_registrar_add_authorized_mac() 262 if (os_memcmp(reg->authorized_macs, addr, ETH_ALEN) == 0) in wps_registrar_remove_authorized_mac() 271 os_memcpy(reg->authorized_macs[i], reg->authorized_macs[i + 1], in wps_registrar_remove_authorized_mac() 273 os_memset(reg->authorized_macs[WPS_MAX_AUTHORIZED_MACS - 1], 0, in wps_registrar_remove_authorized_mac() 276 (u8 *) reg->authorized_macs, sizeof(reg->authorized_macs)); in wps_registrar_remove_authorized_mac() 3499 if (is_zero_ether_addr(s->authorized_macs[j])) in wps_registrar_sel_reg_add() [all …]
|
D | wps_validate.c | 525 static int wps_validate_authorized_macs(const u8 *authorized_macs, size_t len, in wps_validate_authorized_macs() argument 528 if (authorized_macs == NULL) { in wps_validate_authorized_macs() 538 "MACs attribute value", authorized_macs, len); in wps_validate_authorized_macs() 1111 wps_validate_authorized_macs(attr.authorized_macs, in wps_validate_beacon() 1163 wps_validate_authorized_macs(attr.authorized_macs, in wps_validate_beacon_probe_resp() 1963 wps_validate_authorized_macs(attr.authorized_macs, in wps_validate_upnp_set_selected_registrar()
|
D | wps_attr_parse.h | 70 const u8 *authorized_macs; /* <= 30 octets */ member
|
D | wps_upnp_i.h | 101 u8 authorized_macs[WPS_MAX_AUTHORIZED_MACS][ETH_ALEN]; member
|
D | wps.c | 334 if (!attr.authorized_macs) in wps_is_addr_authorized() 337 pos = attr.authorized_macs; in wps_is_addr_authorized()
|
D | wps_attr_parse.c | 35 attr->authorized_macs = pos; in wps_set_vendor_ext_wfa_subelem()
|