Searched refs:auth_type (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-11-stable/contrib/wpa/src/wps/
H A Dwps_attr_process.c122 const u8 *auth_type)
124 if (auth_type == NULL) {
130 cred->auth_type = WPA_GET_BE16(auth_type);
132 cred->auth_type);
174 if (cred->auth_type == WPS_AUTH_OPEN &&
212 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) &&
234 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) &&
254 wps_process_cred_auth_type(cred, attr->auth_type) ||
273 wps_process_cred_auth_type(cred, attr->auth_type) ||
121 wps_process_cred_auth_type(struct wps_credential *cred, const u8 *auth_type) argument
[all...]
H A Dwps_attr_parse.h45 const u8 *auth_type; /* 2 octets */ member in struct:wps_parse_attr
H A Dwps_enrollee.c255 u16 auth_type = wps->wps->ap_auth_type; local
262 if (auth_type & WPS_AUTH_WPA2PSK)
263 auth_type = WPS_AUTH_WPA2PSK;
264 else if (auth_type & WPS_AUTH_WPAPSK)
265 auth_type = WPS_AUTH_WPAPSK;
266 else if (auth_type & WPS_AUTH_OPEN)
267 auth_type = WPS_AUTH_OPEN;
269 wpa_printf(MSG_DEBUG, "WPS: * Authentication Type (0x%x)", auth_type);
272 wpabuf_put_be16(msg, auth_type);
858 (cred.auth_type
[all...]
H A Dwps_registrar.c1574 cred->auth_type);
1577 wpabuf_put_be16(msg, cred->auth_type);
1663 wps->cred.auth_type = WPS_AUTH_WPA2PSK;
1685 wps->wps->auth_types, wps->auth_type);
1686 if (wps->auth_type & WPS_AUTH_WPA2PSK)
1687 wps->auth_type = WPS_AUTH_WPA2PSK;
1688 else if (wps->auth_type & WPS_AUTH_WPAPSK)
1689 wps->auth_type = WPS_AUTH_WPAPSK;
1690 else if (wps->auth_type & WPS_AUTH_OPEN)
1691 wps->auth_type
[all...]
H A Dwps_i.h92 * auth_type - Available authentication types
94 u16 auth_type; member in struct:wps_data
H A Dwps_validate.c1043 wps_validate_auth_type(attr.auth_type, 1) ||
1742 wps_validate_auth_type(attr.auth_type, !ap) ||
1814 wps_validate_auth_type(attr.auth_type, ap) ||
H A Dwps_attr_parse.c401 attr->auth_type = pos;
H A Dwps_common.c371 data.auth_type = wps->auth_types;
393 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK;
H A Dwps.h37 * @auth_type: Authentication Type (WPS_AUTH_OPEN, .. flags)
50 u16 auth_type; member in struct:wps_credential
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-vrrp.c110 int version, type, auth_type = VRRP_AUTH_NONE; /* keep compiler happy */ local
127 auth_type = bp[4];
128 ND_PRINT((ndo, ", authtype %s", tok2str(auth2str, NULL, auth_type)));
174 if (version == 2 && auth_type == VRRP_AUTH_SIMPLE) { /* simple text password */
H A Dprint-bfd.c97 uint8_t auth_type; member in struct:bfd_auth_header_t
103 enum auth_type { enum
187 tok2str(bfd_v1_authentication_values,"Unknown",bfd_auth_header->auth_type),
188 bfd_auth_header->auth_type,
193 switch(bfd_auth_header->auth_type) {
H A Dprint-rip.c135 uint16_t auth_type = EXTRACT_16BITS(&ni->rip_tag); local
136 if (auth_type == 2) {
142 } else if (auth_type == 3) {
150 } else if (auth_type == 1) {
H A Dprint-lisp.c168 static const struct tok auth_type[] = { variable in typeref:struct:tok
274 tok2str(auth_type, "unknown-type", key_id)));
/freebsd-11-stable/contrib/wpa/src/common/
H A Dprivsep_commands.h104 u16 auth_type; member in struct:privsep_event_auth
/freebsd-11-stable/sbin/routed/rtquery/
H A Drtquery.c116 int auth_type = RIP_AUTH_NONE; variable
253 auth_type = RIP_AUTH_PW;
255 auth_type = RIP_AUTH_MD5;
261 if (auth_type == RIP_AUTH_MD5
387 if (auth_type == RIP_AUTH_PW) {
394 } else if (auth_type == RIP_AUTH_MD5) {
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dsme.h17 const u8 *bssid, u16 auth_type);
H A Dwps_supplicant.c367 u16 auth_type; local
396 cred->auth_type);
404 auth_type = cred->auth_type;
405 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) {
407 "auth_type into WPA2PSK");
408 auth_type = WPS_AUTH_WPA2PSK;
411 if (auth_type != WPS_AUTH_OPEN &&
412 auth_type != WPS_AUTH_WPAPSK &&
413 auth_type !
[all...]
H A Dsme.c1267 " auth_type=%d auth_transaction=%d status_code=%d",
1268 MAC2STR(data->auth.peer), data->auth.auth_type,
1276 if (data->auth.auth_type == WLAN_AUTH_SAE) {
1308 " auth_type=%u auth_transaction=%u status_code=%u%s%s",
1309 MAC2STR(data->auth.peer), data->auth.auth_type,
1323 wpa_s->sme.auth_alg == data->auth.auth_type ||
1332 switch (data->auth.auth_type) {
1355 if (data->auth.auth_type == WLAN_AUTH_FT) {
1382 if (data->auth.auth_type == WLAN_AUTH_FILS_SK ||
1383 data->auth.auth_type
1440 sme_associate(struct wpa_supplicant *wpa_s, enum wpas_mode mode, const u8 *bssid, u16 auth_type) argument
[all...]
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dwps_hostapd.c327 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) &&
328 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)))
330 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK))
332 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))
338 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA))
340 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK))
358 (cred->auth_type & WPS_AUTH_WPA2PSK) &&
427 cred->auth_type);
457 hapd->wps->auth_types = cred->auth_type;
459 hapd->wps->ap_auth_type = cred->auth_type;
[all...]
H A Ddrv_callbacks.c1094 if (rx_auth->auth_type == WLAN_AUTH_FT && hapd->wpa_auth) {
1114 if (rx_auth->auth_type == WLAN_AUTH_FILS_SK) {
1117 rx_auth->auth_type, rx_auth->auth_transaction,
/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Deap_wsc.c88 cred->auth_type = WPS_AUTH_OPEN;
90 cred->auth_type = WPS_AUTH_WPAPSK;
92 cred->auth_type = WPS_AUTH_WPA2PSK;
/freebsd-11-stable/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new.c730 char *auth_type[5]; /* we have five possible authentication types */ local
751 if (cred->auth_type & WPS_AUTH_OPEN)
752 auth_type[at_num++] = "open";
753 if (cred->auth_type & WPS_AUTH_WPAPSK)
754 auth_type[at_num++] = "wpa-psk";
755 if (cred->auth_type & WPS_AUTH_WPA)
756 auth_type[at_num++] = "wpa-eap";
757 if (cred->auth_type & WPS_AUTH_WPA2)
758 auth_type[at_num++] = "wpa2-eap";
759 if (cred->auth_type
[all...]
/freebsd-11-stable/contrib/sendmail/src/
H A Dsrvrsmtp.c105 get_sasl_user(auth_user_tmp, auth_user_len, auth_type, auth_user, sizeof(auth_user))
873 char *volatile auth_type; local
1133 auth_type = NULL;
1687 macid("{auth_type}"), auth_type);
1781 auth_type, *ssf);
1831 (auth_type != NULL) ? auth_type : "unknown", \
2098 auth_type = newstr(p);
5621 ** auth_type
[all...]
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-rpcap.c1840 uint16 auth_type; local
1884 auth_type = (uint16)auth->type;
1888 auth_type = RPCAP_RMTAUTH_NULL;
1907 rpauth->type = htons(auth_type);
1909 if (auth_type == RPCAP_RMTAUTH_PWD)
/freebsd-11-stable/contrib/wpa/src/drivers/
H A Ddriver_privsep.c395 data.auth.auth_type = auth->auth_type;

Completed in 297 milliseconds

12