Searched refs:adv_data (Results 1 – 2 of 2) 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() local606 for (adv_data = p2p_get_p2ps_adv_list(wpa_s->global->p2p); in wpas_sd_req_asp()607 adv_data; adv_data = adv_data->next) { in wpas_sd_req_asp()609 if (!prefix && svc_len != os_strlen(adv_data->svc_name)) in wpas_sd_req_asp()613 if (os_memcmp(adv_data->svc_name, svc, svc_len) == 0 && in wpas_sd_req_asp()614 find_p2ps_substr(adv_data, info, info_len)) { in wpas_sd_req_asp()615 size_t len = os_strlen(adv_data->svc_name); in wpas_sd_req_asp()[all …]
2326 struct p2ps_advertisement *adv_data; in p2p_service_find_asp() local2334 adv_data = p2p->p2ps_adv_list; in p2p_service_find_asp()2335 while (adv_data) { in p2p_service_find_asp()2336 if (os_memcmp(hash, adv_data->hash, P2PS_HASH_LEN) == 0) in p2p_service_find_asp()2339 os_strncmp(adv_data->svc_name, P2PS_WILD_HASH_STR, in p2p_service_find_asp()2342 adv_data = adv_data->next; in p2p_service_find_asp()2714 struct p2ps_advertisement *adv_data; in p2p_service_p2ps_id() local2719 adv_data = p2p->p2ps_adv_list; in p2p_service_p2ps_id()2720 while (adv_data) { in p2p_service_p2ps_id()2721 if (adv_data->id == adv_id) in p2p_service_p2ps_id()[all …]