Home
last modified time | relevance | path

Searched refs:nlist (Results 1 – 2 of 2) sorted by relevance

/hostap-latest/src/crypto/
Dtls_mbedtls_alt.c2677 int nlist = 0; in tls_mbedtls_match_altsubject() local
2689 list[nlist].p = s; in tls_mbedtls_match_altsubject()
2690 list[nlist].n = tok ? (size_t)(tok - s) : os_strlen(s); in tls_mbedtls_match_altsubject()
2691 if (list[nlist].n && ++nlist == sizeof(list) / sizeof(*list)) in tls_mbedtls_match_altsubject()
2723 for (int i = 0; i < nlist; ++i) in tls_mbedtls_match_altsubject()
2738 static int tls_mbedtls_match_suffix(const char *v, size_t vlen, const struct mlist *list, int nlist in tls_mbedtls_match_suffix() argument
2742 for (int i = 0; i < nlist; ++i) in tls_mbedtls_match_suffix()
2756 int nlist = 0; in tls_mbedtls_match_suffixes() local
2760 list[nlist].p = s; in tls_mbedtls_match_suffixes()
2761 list[nlist].n = tok ? (size_t)(tok - s) : os_strlen(s); in tls_mbedtls_match_suffixes()
[all …]
/hostap-latest/wpa_supplicant/
Dconfig.c2796 struct wpa_ssid *prev, **nlist; in wpa_config_add_prio_network() local
2813 nlist = os_realloc_array(config->pssid, config->num_prio + 1, in wpa_config_add_prio_network()
2815 if (nlist == NULL) in wpa_config_add_prio_network()
2819 if (nlist[prio]->priority < ssid->priority) { in wpa_config_add_prio_network()
2820 os_memmove(&nlist[prio + 1], &nlist[prio], in wpa_config_add_prio_network()
2827 nlist[prio] = ssid; in wpa_config_add_prio_network()
2829 config->pssid = nlist; in wpa_config_add_prio_network()