Searched refs:adv_data (Results 1 – 3 of 3) sorted by relevance
532 static int find_p2ps_substr(struct p2ps_advertisement *adv_data, in find_p2ps_substr() argument535 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() local597 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 …]
2349 struct p2ps_advertisement *adv_data; in p2p_service_find_asp() local2357 adv_data = p2p->p2ps_adv_list; in p2p_service_find_asp()2358 while (adv_data) { in p2p_service_find_asp()2359 if (os_memcmp(hash, adv_data->hash, P2PS_HASH_LEN) == 0) in p2p_service_find_asp()2362 os_strncmp(adv_data->svc_name, P2PS_WILD_HASH_STR, in p2p_service_find_asp()2365 adv_data = adv_data->next; in p2p_service_find_asp()2735 struct p2ps_advertisement *adv_data; in p2p_service_p2ps_id() local2740 adv_data = p2p->p2ps_adv_list; in p2p_service_p2ps_id()2741 while (adv_data) { in p2p_service_p2ps_id()2742 if (adv_data->id == adv_id) in p2p_service_p2ps_id()[all …]
10 util.c adv_data.c