Searched refs:svc_len (Results 1 – 2 of 2) sorted by relevance
564 size_t svc_len; in wpas_sd_req_asp() local578 svc_len = query[0]; in wpas_sd_req_asp()588 if (svc_len + 1 < query_len) { in wpas_sd_req_asp()589 info = &svc[svc_len]; in wpas_sd_req_asp()594 if (svc_len + (info_len ? info_len + 2 : 1) > query_len) { in wpas_sd_req_asp()601 if (svc_len && svc[svc_len - 1] == '*') { in wpas_sd_req_asp()603 svc_len--; 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()836 u8 svc_len; in wpas_sd_p2ps_serv_response() local[all …]
481 size_t svc_len; in p2p_buf_add_service_info() local486 svc_len = os_strlen(svc_name); in p2p_buf_add_service_info()488 svc_len; in p2p_buf_add_service_info()496 if (svc_len > 255) { in p2p_buf_add_service_info()499 (unsigned int) svc_len); in p2p_buf_add_service_info()533 holder[sizeof(u32) + sizeof(u16)] = svc_len; in p2p_buf_add_service_info()547 wpabuf_put_u8(buf, svc_len); in p2p_buf_add_service_info()552 if (remaining < svc_len) { in p2p_buf_add_service_info()555 size_t back = svc_len - front; in p2p_buf_add_service_info()575 wpabuf_put_data(buf, svc_name, svc_len); in p2p_buf_add_service_info()[all …]