Home
last modified time | relevance | path

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

/external/avahi/avahi-core/
Dentry.c582 …char ptr_name[AVAHI_DOMAIN_NAME_MAX], svc_name[AVAHI_DOMAIN_NAME_MAX], enum_ptr[AVAHI_DOMAIN_NAME_… in server_add_service_strlst_nocopy() local
617 if ((ret = avahi_service_name_join(svc_name, sizeof(svc_name), name, type, domain)) < 0 || in server_add_service_strlst_nocopy()
626 … = server_add_ptr_internal(s, g, interface, protocol, 0, AVAHI_DEFAULT_TTL, ptr_name, svc_name))) { in server_add_service_strlst_nocopy()
633 …if (!(r = avahi_record_new_full(svc_name, AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_SRV, AVAHI_DEFAULT_TT… in server_add_service_strlst_nocopy()
656 …trlst_nocopy(s, g, interface, protocol, AVAHI_PUBLISH_UNIQUE, AVAHI_DEFAULT_TTL, svc_name, strlst); in server_add_service_strlst_nocopy()
743 char svc_name[AVAHI_DOMAIN_NAME_MAX]; in server_update_service_txt_strlst_nocopy() local
767 if ((ret = avahi_service_name_join(svc_name, sizeof(svc_name), name, type, domain)) < 0) { in server_update_service_txt_strlst_nocopy()
776 …rface, protocol, AVAHI_PUBLISH_UNIQUE | AVAHI_PUBLISH_UPDATE, AVAHI_DEFAULT_TTL, svc_name, strlst); in server_update_service_txt_strlst_nocopy()
837 char svc_name[AVAHI_DOMAIN_NAME_MAX], ptr_name[AVAHI_DOMAIN_NAME_MAX]; in avahi_server_add_service_subtype() local
857 if ((ret = avahi_service_name_join(svc_name, sizeof(svc_name), name, type, domain)) < 0 || in avahi_server_add_service_subtype()
[all …]
/external/wpa_supplicant_8/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.c2253 os_strncmp(adv_data->svc_name, P2PS_WILD_HASH_STR, in p2p_service_find_asp()
2738 os_memcpy(adv_data->svc_name, adv_str, adv_len); in p2p_service_add_asp()
2746 adv_data->svc_info = &adv_data->svc_name[adv_len + 1]; in p2p_service_add_asp()
2758 if (os_strcmp(tmp->svc_name, adv_data->svc_name) != 0) { in p2p_service_add_asp()
2767 if (os_strcmp(tmp->svc_name, adv_data->svc_name) == 0) { in p2p_service_add_asp()
Dp2p.h299 char svc_name[0]; member
/external/wpa_supplicant_8/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()