Searched refs:eap (Results 1 - 25 of 85) sorted by relevance

1234

/freebsd-10.2-release/sys/ufs/ufs/
H A Dextattr.h87 * EXTATTR_NEXT(eap) returns a pointer to the next extended attribute
88 * following eap.
89 * EXTATTR_CONTENT(eap) returns a pointer to the extended attribute
90 * content referenced by eap.
91 * EXTATTR_CONTENT_SIZE(eap) returns the size of the extended attribute
92 * content referenced by eap.
93 * EXTATTR_SET_LENGTHS(eap, contentsize) called after initializing the
97 #define EXTATTR_NEXT(eap) \
98 ((struct extattr *)(((void *)(eap)) + (eap)
[all...]
/freebsd-10.2-release/contrib/wpa/src/eap_peer/
H A Deap_otp.c85 struct eap_method *eap; local
88 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION,
90 if (eap == NULL)
93 eap->init = eap_otp_init;
94 eap->deinit = eap_otp_deinit;
95 eap->process = eap_otp_process;
97 ret = eap_peer_method_register(eap);
99 eap_peer_method_free(eap);
H A Deap_md5.c104 struct eap_method *eap; local
107 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION,
109 if (eap == NULL)
112 eap->init = eap_md5_init;
113 eap->deinit = eap_md5_deinit;
114 eap->process = eap_md5_process;
116 ret = eap_peer_method_register(eap);
118 eap_peer_method_free(eap);
H A Deap_tls.c294 struct eap_method *eap; local
297 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION,
299 if (eap == NULL)
302 eap->init = eap_tls_init;
303 eap->deinit = eap_tls_deinit;
304 eap->process = eap_tls_process;
305 eap->isKeyAvailable = eap_tls_isKeyAvailable;
306 eap->getKey = eap_tls_getKey;
307 eap->get_status = eap_tls_get_status;
308 eap
323 struct eap_method *eap; local
[all...]
H A Deap_gtc.c129 struct eap_method *eap; local
132 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION,
134 if (eap == NULL)
137 eap->init = eap_gtc_init;
138 eap->deinit = eap_gtc_deinit;
139 eap->process = eap_gtc_process;
141 ret = eap_peer_method_register(eap);
143 eap_peer_method_free(eap);
H A Deap_vendor_test.c170 struct eap_method *eap; local
173 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION,
176 if (eap == NULL)
179 eap->init = eap_vendor_test_init;
180 eap->deinit = eap_vendor_test_deinit;
181 eap->process = eap_vendor_test_process;
182 eap->isKeyAvailable = eap_vendor_test_isKeyAvailable;
183 eap->getKey = eap_vendor_test_getKey;
185 ret = eap_peer_method_register(eap);
187 eap_peer_method_free(eap);
[all...]
H A Deap_leap.c274 const struct eap_hdr *eap; local
292 eap = wpabuf_head(reqData);
293 if (wpabuf_len(reqData) < sizeof(*eap) ||
294 be_to_host16(eap->length) > wpabuf_len(reqData)) {
307 switch (eap->code) {
316 "ignored", eap->code);
392 struct eap_method *eap; local
395 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION,
397 if (eap == NULL)
400 eap
[all...]
H A Deap_methods.c282 struct eap_method *eap; local
283 eap = os_zalloc(sizeof(*eap));
284 if (eap == NULL)
286 eap->version = version;
287 eap->vendor = vendor;
288 eap->method = method;
289 eap->name = name;
290 return eap;
/freebsd-10.2-release/contrib/wpa/wpa_supplicant/examples/
H A Dieee8021x.conf8 eap=PEAP
H A Dwpa2-eap-ccmp.conf6 ssid="example wpa2-eap network"
11 eap=TLS
H A DopenCryptoki.conf25 eap=TLS
/freebsd-10.2-release/contrib/wpa/src/eap_server/
H A Deap_server_tls.c289 struct eap_method *eap; local
292 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION,
294 if (eap == NULL)
297 eap->init = eap_tls_init;
298 eap->reset = eap_tls_reset;
299 eap->buildReq = eap_tls_buildReq;
300 eap->check = eap_tls_check;
301 eap->process = eap_tls_process;
302 eap->isDone = eap_tls_isDone;
303 eap
317 struct eap_method *eap; local
[all...]
H A Deap_server_methods.c74 struct eap_method *eap; local
75 eap = os_zalloc(sizeof(*eap));
76 if (eap == NULL)
78 eap->version = version;
79 eap->vendor = vendor;
80 eap->method = method;
81 eap->name = name;
82 return eap;
H A Deap_server_identity.c152 struct eap_method *eap; local
155 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION,
158 if (eap == NULL)
161 eap->init = eap_identity_init;
162 eap->initPickUp = eap_identity_initPickUp;
163 eap->reset = eap_identity_reset;
164 eap->buildReq = eap_identity_buildReq;
165 eap->check = eap_identity_check;
166 eap->process = eap_identity_process;
167 eap
[all...]
H A Deap_server_vendor_test.c170 struct eap_method *eap; local
173 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION,
176 if (eap == NULL)
179 eap->init = eap_vendor_test_init;
180 eap->reset = eap_vendor_test_reset;
181 eap->buildReq = eap_vendor_test_buildReq;
182 eap->check = eap_vendor_test_check;
183 eap->process = eap_vendor_test_process;
184 eap->isDone = eap_vendor_test_isDone;
185 eap
[all...]
H A Deap_server_md5.c155 struct eap_method *eap; local
158 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION,
160 if (eap == NULL)
163 eap->init = eap_md5_init;
164 eap->reset = eap_md5_reset;
165 eap->buildReq = eap_md5_buildReq;
166 eap->check = eap_md5_check;
167 eap->process = eap_md5_process;
168 eap->isDone = eap_md5_isDone;
169 eap
[all...]
H A Deap_server_gtc.c204 struct eap_method *eap; local
207 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION,
209 if (eap == NULL)
212 eap->init = eap_gtc_init;
213 eap->reset = eap_gtc_reset;
214 eap->buildReq = eap_gtc_buildReq;
215 eap->check = eap_gtc_check;
216 eap->process = eap_gtc_process;
217 eap->isDone = eap_gtc_isDone;
218 eap
[all...]
H A Deap_server_ikev2.c510 struct eap_method *eap; local
513 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION,
516 if (eap == NULL)
519 eap->init = eap_ikev2_init;
520 eap->reset = eap_ikev2_reset;
521 eap->buildReq = eap_ikev2_buildReq;
522 eap->check = eap_ikev2_check;
523 eap->process = eap_ikev2_process;
524 eap->isDone = eap_ikev2_isDone;
525 eap
[all...]
/freebsd-10.2-release/contrib/wpa/wpa_supplicant/
H A Dwpa_supplicant.conf372 # eap: Pre-configured EAP method
378 # This optional field is used with like the 'eap' parameter.
381 # This optional field is used with like the 'eap' parameter.
410 # eap=TTLS
596 # eap: space-separated list of accepted EAP methods
711 # implement draft-josefsson-pppext-eap-tls-eap-05.txt (e.g.,
894 eap=TLS
908 eap=PEAP
922 eap
[all...]
H A Dinterworking.c19 #include "eap_peer/eap.h"
272 struct nai_realm_eap *eap; member in struct:nai_realm
283 os_free(realms[i].eap);
431 r->eap = os_calloc(r->eap_count, sizeof(struct nai_realm_eap));
432 if (r->eap == NULL)
436 pos = nai_realm_parse_eap(&r->eap[e], pos, f_end);
519 static int nai_realm_cred_username(struct nai_realm_eap *eap) argument
521 if (eap_get_name(EAP_VENDOR_IETF, eap->method) == NULL)
524 if (eap->method != EAP_TYPE_TTLS && eap
561 nai_realm_cred_cert(struct nai_realm_eap *eap) argument
590 struct nai_realm_eap *eap = &realm->eap[e]; local
1181 struct nai_realm_eap *eap = NULL; local
[all...]
H A Dconfig.c15 #include "eap_peer/eap.h"
1109 wpa_hexdump(MSG_MSGDUMP, "eap methods",
1111 os_free(ssid->eap.eap_methods);
1112 ssid->eap.eap_methods = methods;
1122 const struct eap_method_type *eap_methods = ssid->eap.eap_methods;
1160 os_free(ssid->eap.password);
1161 ssid->eap.password = NULL;
1162 ssid->eap.password_len = 0;
1171 os_free(ssid->eap.password);
1172 ssid->eap
1754 eap_peer_config_free(struct eap_peer_config *eap) argument
[all...]
/freebsd-10.2-release/contrib/tcpdump/
H A Dprint-eap.c26 "@(#) $Header: /tcpdump/master/tcpdump/print-eap.c,v 1.5 2007-10-04 16:41:33 hannes Exp $";
94 #define EAP_TYPE_TTLS 21 /* draft-funk-eap-ttls-v0-01.txt */
166 const struct eap_frame_t *eap; local
173 eap = (const struct eap_frame_t *)cp;
174 TCHECK(*eap);
179 tok2str(eap_frame_type_values, "unknown", eap->type),
180 eap->type,
181 eap->version,
182 EXTRACT_16BITS(eap->length));
187 tok2str(eap_frame_type_values, "unknown", eap
[all...]
/freebsd-10.2-release/libexec/bootpd/
H A Dgetether.c42 getether(ifname, eap)
43 char *ifname, *eap;
57 bcopy(&phys.current_pa[0], eap, EALEN);
76 getether(ifname, eap)
78 char *eap; /* Ether address (output) */
103 bcopy(&ifrnit.ifr_addr.sa_data[0], eap, EALEN);
124 getether(ifname, eap)
126 char *eap; /* Ether address (output) */
155 bcopy(LLADDR((struct sockaddr_dl *) &ifrp->ifr_addr), eap, EALEN);
191 getether(ifname, eap)
153 bcopy(LLADDR((struct sockaddr_dl *) &ifrp->ifr_addr), eap, EALEN); local
[all...]
/freebsd-10.2-release/sbin/restore/
H A Dtape.c732 struct extattr *eap, *eaend; local
736 for (eap = buf; eap < eaend; eap = EXTATTR_NEXT(eap)) {
740 if (EXTATTR_NEXT(eap) > eaend || eap->ea_length <= 0) {
742 eap == buf ? "" : "remainder ");
745 if (eap->ea_namespace == EXTATTR_NAMESPACE_EMPTY)
748 namespace_names[eap
792 struct extattr *eap, *eaend; local
852 struct extattr *eap, *eaend; local
[all...]
/freebsd-10.2-release/contrib/wpa/src/eap_common/
H A Deap_common.c184 const struct eap_hdr *eap; local
186 if (wpabuf_len(msg) < sizeof(*eap))
189 eap = wpabuf_head(msg);
190 return eap->identifier;

Completed in 278 milliseconds

1234