Searched refs:adv_len (Results 1 – 1 of 1) sorted by relevance
1122 size_t i, adv_len; in p2ps_gen_hash() local1133 adv_len = os_strlen(str); in p2ps_gen_hash()1134 if (adv_len >= sizeof(str_buf)) in p2ps_gen_hash()1137 for (i = 0; i < adv_len; i++) { in p2ps_gen_hash()1144 if (sha256_vector(1, &adv_array, &adv_len, buf)) in p2ps_gen_hash()2708 size_t adv_data_len, adv_len, info_len = 0; in p2p_service_add_asp() local2725 adv_len = os_strlen(adv_str); in p2p_service_add_asp()2726 adv_data_len = sizeof(struct p2ps_advertisement) + adv_len + 1 + in p2p_service_add_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()