/hostap-latest/src/common/ |
D | nan_de.c | 97 static void nan_de_service_free(struct nan_de_service *srv) in nan_de_service_free() argument 99 os_free(srv->service_name); in nan_de_service_free() 100 wpabuf_free(srv->ssi); in nan_de_service_free() 101 wpabuf_free(srv->elems); in nan_de_service_free() 102 os_free(srv->freq_list); in nan_de_service_free() 103 os_free(srv); in nan_de_service_free() 107 static void nan_de_service_deinit(struct nan_de *de, struct nan_de_service *srv, in nan_de_service_deinit() argument 110 if (!srv) in nan_de_service_deinit() 112 if (srv->type == NAN_DE_PUBLISH && de->cb.publish_terminated) in nan_de_service_deinit() 113 de->cb.publish_terminated(de->cb.ctx, srv->id, reason); in nan_de_service_deinit() [all …]
|
/hostap-latest/src/wps/ |
D | http_server.c | 23 struct http_server *srv; member 45 struct http_server *srv = req->srv; in http_request_cb() local 51 srv->cb(srv->cb_ctx, req); in http_request_cb() 61 static struct http_request * http_request_init(struct http_server *srv, int fd, in http_request_init() argument 66 if (srv->request_count >= HTTP_SERVER_MAX_CONNECTIONS) { in http_request_init() 75 req->srv = srv; in http_request_init() 94 struct http_server *srv; in http_request_deinit() local 99 srv = req->srv; in http_request_deinit() 101 r = srv->requests; in http_request_deinit() 107 srv->requests = r->next; in http_request_deinit() [all …]
|
D | http_server.h | 30 void http_server_deinit(struct http_server *srv); 31 int http_server_get_port(struct http_server *srv);
|
/hostap-latest/radius_example/ |
D | radius_example.c | 97 struct hostapd_radius_server *srv; in main() local 112 srv = os_zalloc(sizeof(*srv)); in main() 113 if (srv == NULL) in main() 116 srv->addr.af = AF_INET; in main() 117 srv->port = 1812; in main() 118 if (hostapd_parse_ip_addr("127.0.0.1", &srv->addr) < 0) { in main() 122 srv->shared_secret = (u8 *) os_strdup("radius"); in main() 123 srv->shared_secret_len = 6; in main() 125 ctx.conf.auth_server = ctx.conf.auth_servers = srv; in main() 146 os_free(srv->shared_secret); in main() [all …]
|
/hostap-latest/src/ap/ |
D | authsrv.c | 107 struct radius_server_conf srv; in hostapd_setup_radius_srv() local 125 os_memset(&srv, 0, sizeof(srv)); in hostapd_setup_radius_srv() 126 srv.client_file = conf->radius_server_clients; in hostapd_setup_radius_srv() 127 srv.auth_port = conf->radius_server_auth_port; in hostapd_setup_radius_srv() 128 srv.acct_port = conf->radius_server_acct_port; in hostapd_setup_radius_srv() 129 srv.conf_ctx = hapd; in hostapd_setup_radius_srv() 130 srv.ipv6 = conf->radius_server_ipv6; in hostapd_setup_radius_srv() 131 srv.get_eap_user = hostapd_radius_get_eap_user; in hostapd_setup_radius_srv() 132 srv.eap_req_id_text = conf->eap_req_id_text; in hostapd_setup_radius_srv() 133 srv.eap_req_id_text_len = conf->eap_req_id_text_len; in hostapd_setup_radius_srv() [all …]
|
/hostap-latest/tests/hwsim/ |
D | test_radius.py | 413 def send_and_check_reply(srv, req, code, error_cause=0): argument 414 reply = srv.SendPacket(req) 504 srv = pyrad.client.Client(server="127.0.0.1", acctport=3799, 506 srv.retries = 1 507 srv.timeout = 1 516 reply = srv.SendPacket(req) 526 reply = srv.SendPacket(req) 537 reply = srv.SendPacket(req) 547 send_and_check_reply(srv, req, pyrad.packet.DisconnectNAK, 401) 554 send_and_check_reply(srv, req, pyrad.packet.DisconnectNAK, 407) [all …]
|
D | test_eap_proto.py | 101 def run_pyrad_server(srv, t_stop, eap_handler): argument 102 srv.RunWithStop(t_stop, eap_handler) 161 srv = TestServer(dict=pyrad.dictionary.Dictionary("dictionary.radius"), 163 srv.hosts["127.0.0.1"] = pyrad.server.RemoteHost("127.0.0.1", 166 srv.BindToAddress("127.0.0.1") 168 t = threading.Thread(target=run_pyrad_server, args=(srv, t_stop, eap_handler)) 171 return {'srv': srv, 'stop': t_stop, 'thread': t} 173 def stop_radius_server(srv): argument 174 srv['stop'].set() 175 srv['thread'].join() [all …]
|
D | test_ap_hs20.py | 6308 srv = pyrad.client.Client(server="127.0.0.1", acctport=3799, 6310 srv.retries = 1 6311 srv.timeout = 1 6324 reply = srv.SendPacket(req)
|
/hostap-latest/wpa_supplicant/examples/ |
D | wps-nfc.py | 26 srv = None variable 399 global srv 401 while not wait_connection and srv.sent_carrier is None: 402 if srv.ho_server_processing: 409 global srv 410 srv = HandoverServer(llc) 413 srv.uuid = None 416 srv.uuid = arg_uuid 425 global srv 426 srv.start() [all …]
|
D | p2p-nfc.py | 33 srv = None variable 487 global srv 489 while not wait_connection and srv.sent_carrier is None: 490 if srv.ho_server_processing: 518 global srv 519 srv = HandoverServer(llc) 528 global srv 529 srv.start() 642 global srv 643 if only_one and srv and srv.success:
|
D | dpp-nfc.py | 893 while not handover.wait_connection and handover.srv.sent_carrier is None: 904 if handover.srv.ho_server_processing: 952 self.srv = HandoverServer(self, llc) 981 handover.srv.start()
|
/hostap-latest/hostapd/ |
D | wps-ap-nfc.py | 254 global srv 255 srv = HandoverServer(llc) 262 global srv 263 srv.start() 330 global srv 331 if only_one and srv and srv.success:
|
/hostap-latest/wlantest/ |
D | wired.c | 19 static struct wlantest_radius * radius_get(struct wlantest *wt, u32 srv, in radius_get() argument 25 if (r->srv == srv && r->cli == cli) in radius_get() 33 r->srv = srv; in radius_get()
|
D | wlantest.h | 194 u32 srv; member
|
/hostap-latest/wpa_supplicant/ |
D | eap_testing.txt | 176 - EAP-TTLS / CHAP (using FreeRADIUS as inner auth srv) 180 - EAP-TTLS / EAP-MD5-Challenge (using FreeRADIUS as inner auth srv) 181 - EAP-TTLS / EAP-GTC (using FreeRADIUS as inner auth srv) 182 - EAP-TTLS / EAP-MSCHAPv2 (using FreeRADIUS as inner auth srv) 183 - EAP-TTLS / EAP-TLS (using FreeRADIUS as inner auth srv)
|