Home
last modified time | relevance | path

Searched refs:adv_data (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c532 static int find_p2ps_substr(struct p2ps_advertisement *adv_data, in find_p2ps_substr() argument
535 const u8 *haystack = (const u8 *) adv_data->svc_info; in find_p2ps_substr()
545 haystack_len = os_strlen(adv_data->svc_info); in find_p2ps_substr()
561 struct p2ps_advertisement *adv_data; in wpas_sd_req_asp() local
597 for (adv_data = p2p_get_p2ps_adv_list(wpa_s->global->p2p); in wpas_sd_req_asp()
598 adv_data; adv_data = adv_data->next) { in wpas_sd_req_asp()
600 if (!prefix && svc_len != os_strlen(adv_data->svc_name)) in wpas_sd_req_asp()
604 if (os_memcmp(adv_data->svc_name, svc, svc_len) == 0 && in wpas_sd_req_asp()
605 find_p2ps_substr(adv_data, info, info_len)) { in wpas_sd_req_asp()
606 size_t len = os_strlen(adv_data->svc_name); in wpas_sd_req_asp()
[all …]
/external/wpa_supplicant_8/src/p2p/
Dp2p.c2240 struct p2ps_advertisement *adv_data; in p2p_service_find_asp() local
2248 adv_data = p2p->p2ps_adv_list; in p2p_service_find_asp()
2249 while (adv_data) { in p2p_service_find_asp()
2250 if (os_memcmp(hash, adv_data->hash, P2PS_HASH_LEN) == 0) in p2p_service_find_asp()
2253 os_strncmp(adv_data->svc_name, P2PS_WILD_HASH_STR, in p2p_service_find_asp()
2256 adv_data = adv_data->next; in p2p_service_find_asp()
2661 struct p2ps_advertisement *adv_data; in p2p_service_p2ps_id() local
2666 adv_data = p2p->p2ps_adv_list; in p2p_service_p2ps_id()
2667 while (adv_data) { in p2p_service_p2ps_id()
2668 if (adv_data->id == adv_id) in p2p_service_p2ps_id()
[all …]