Home
last modified time | relevance | path

Searched refs:svc_name (Results 1 – 8 of 8) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_build.c467 if (os_strncmp(adv->svc_name, P2PS_WILD_HASH_STR, in p2p_wfa_service_adv()
478 const char *svc_name, u8 **ie_len, u8 **pos, in p2p_buf_add_service_info() argument
485 p2p_dbg(p2p, "Add service info for %s (adv_id=%u)", svc_name, adv_id); in p2p_buf_add_service_info()
486 svc_len = os_strlen(svc_name); in p2p_buf_add_service_info()
558 wpabuf_put_data(buf, svc_name, front); in p2p_buf_add_service_info()
565 wpabuf_put_data(buf, &svc_name[front], 255 - 4); in p2p_buf_add_service_info()
572 wpabuf_put_data(buf, &svc_name[front], back); in p2p_buf_add_service_info()
575 wpabuf_put_data(buf, svc_name, svc_len); in p2p_buf_add_service_info()
649 adv->svc_name, in p2p_buf_add_service_instance()
Dp2p.c2328 os_strncmp(adv_data->svc_name, P2PS_WILD_HASH_STR, in p2p_service_find_asp()
2780 os_memcpy(adv_data->svc_name, adv_str, adv_len); in p2p_service_add_asp()
2788 adv_data->svc_info = &adv_data->svc_name[adv_len + 1]; in p2p_service_add_asp()
2800 if (os_strcmp(tmp->svc_name, adv_data->svc_name) != 0) { in p2p_service_add_asp()
2809 if (os_strcmp(tmp->svc_name, adv_data->svc_name) == 0) { in p2p_service_add_asp()
Dp2p.h306 char svc_name[0]; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_build.c467 if (os_strncmp(adv->svc_name, P2PS_WILD_HASH_STR, in p2p_wfa_service_adv()
478 const char *svc_name, u8 **ie_len, u8 **pos, in p2p_buf_add_service_info() argument
485 p2p_dbg(p2p, "Add service info for %s (adv_id=%u)", svc_name, adv_id); in p2p_buf_add_service_info()
486 svc_len = os_strlen(svc_name); in p2p_buf_add_service_info()
558 wpabuf_put_data(buf, svc_name, front); in p2p_buf_add_service_info()
565 wpabuf_put_data(buf, &svc_name[front], 255 - 4); in p2p_buf_add_service_info()
572 wpabuf_put_data(buf, &svc_name[front], back); in p2p_buf_add_service_info()
575 wpabuf_put_data(buf, svc_name, svc_len); in p2p_buf_add_service_info()
649 adv->svc_name, in p2p_buf_add_service_instance()
Dp2p.c2308 os_strncmp(adv_data->svc_name, P2PS_WILD_HASH_STR, in p2p_service_find_asp()
2760 os_memcpy(adv_data->svc_name, adv_str, adv_len); in p2p_service_add_asp()
2768 adv_data->svc_info = &adv_data->svc_name[adv_len + 1]; in p2p_service_add_asp()
2780 if (os_strcmp(tmp->svc_name, adv_data->svc_name) != 0) { in p2p_service_add_asp()
2789 if (os_strcmp(tmp->svc_name, adv_data->svc_name) == 0) { in p2p_service_add_asp()
Dp2p.h304 char svc_name[0]; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dp2p_supplicant_sd.c600 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()
606 size_t len = os_strlen(adv_data->svc_name); in wpas_sd_req_asp()
635 adv_data->svc_name, in wpas_sd_req_asp()
639 adv_data->svc_name); in wpas_sd_req_asp()
650 wpabuf_put_data(resp, adv_data->svc_name, len); in wpas_sd_req_asp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dp2p_supplicant_sd.c600 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()
606 size_t len = os_strlen(adv_data->svc_name); in wpas_sd_req_asp()
635 adv_data->svc_name, in wpas_sd_req_asp()
639 adv_data->svc_name); in wpas_sd_req_asp()
650 wpabuf_put_data(resp, adv_data->svc_name, len); in wpas_sd_req_asp()