/hostap-latest/wpa_supplicant/examples/ |
D | wpas-dbus-new-signals.py | 31 for path in ifaces: 32 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path) 89 def scanDone2(success, path=None): argument 90 print("Scan done: success=%s [path=%s]" % (success, path)) 148 path = wpas.GetInterface(ifname) 149 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path) 157 path=path) 161 path=path) 165 path=path) 169 path=path) [all …]
|
D | dpp-qrcode.py | 15 scriptsdir = os.path.dirname(os.path.realpath(sys.modules[__name__].__file__)) 16 sys.path.append(os.path.join(scriptsdir, '..', '..', 'wpaspy')) 24 if os.path.isdir(wpas_ctrl): 26 ifaces = [os.path.join(wpas_ctrl, i) for i in os.listdir(wpas_ctrl)]
|
D | wpas-dbus-new.py | 30 for path in ifaces: 31 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path) 123 path = None 125 path = wpas.GetInterface(ifname) 130 path = wpas.CreateInterface({'Ifname': ifname, 'Driver': 'test'}) 138 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path) 145 wpas.RemoveInterface(dbus.ObjectPath(path))
|
D | wpas-dbus-new-getall.py | 23 path = wpas.GetInterface(ifname) 24 if_obj = bus.get_object("fi.w1.wpa_supplicant1", path) 28 print("GetAll(fi.w1.wpa_supplicant1.Interface, %s):" % (path)) 34 print("GetAll(fi.w1.wpa_supplicant1.Interface.WPS, %s):" % (path))
|
/hostap-latest/wpa_supplicant/dbus/ |
D | dbus_new_helpers.c | 380 const char *path; in message_handler() local 386 path = dbus_message_get_path(message); in message_handler() 388 if (!method || !path || !msg_interface) in message_handler() 392 msg_interface, method, path, in message_handler() 447 os_free(obj_dsc->path); in free_dbus_object_desc() 483 obj_desc->path = os_strdup(dbus_path); in wpa_dbus_ctrl_iface_init() 532 const char *path, const char *ifname, in wpa_dbus_register_object_per_iface() argument 548 obj_desc->path = os_strdup(path); in wpa_dbus_register_object_per_iface() 552 if (!dbus_connection_try_register_object_path(con, path, &vtable, in wpa_dbus_register_object_per_iface() 559 ifname, path, error.name, error.message); in wpa_dbus_register_object_per_iface() [all …]
|
D | dbus_new_helpers.h | 31 char *path; member 123 const char *path, const char *ifname, 128 const char *path); 131 const char *path, 139 const char *path); 142 const char *path, const char *interface, 148 char * wpas_dbus_new_decompose_object_path(const char *path, const char *sep,
|
D | dbus_new.c | 374 char net_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; in wpas_dbus_signal_network() local 393 path = net_obj_path; in wpas_dbus_signal_network() 395 &path) || in wpas_dbus_signal_network() 514 char path[WPAS_DBUS_OBJECT_PATH_MAX]; in wpas_dbus_signal_network_enabled_changed() local 518 os_snprintf(path, WPAS_DBUS_OBJECT_PATH_MAX, in wpas_dbus_signal_network_enabled_changed() 522 wpa_dbus_mark_property_changed(wpa_s->global->dbus, path, in wpas_dbus_signal_network_enabled_changed() 1386 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; in wpas_dbus_signal_p2p_provision_discovery() local 1443 path = peer_obj_path; in wpas_dbus_signal_p2p_provision_discovery() 1449 &path)) in wpas_dbus_signal_p2p_provision_discovery() 1490 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; in wpas_dbus_signal_p2p_go_neg_req() local [all …]
|
/hostap-latest/tests/hwsim/ |
D | run-tests.py | 28 scriptsdir = os.path.dirname(os.path.realpath(sys.modules[__name__].__file__)) 29 sys.path.append(os.path.join(scriptsdir, '..', '..', 'wpaspy')) 83 def add_log_file(conn, test, run, type, path): argument 84 if not os.path.exists(path): 87 with open(path, 'rb') as f: 135 output = os.path.abspath(os.path.join(self._logdir, '%s.dat' % (self._testname, ))) 149 output = os.path.abspath(os.path.join(self._logdir, '%s.dbus' % (self._testname, ))) 165 output = os.path.join(self._logdir, '%s.kmemleak' % (self._testname, )) 167 while os.path.exists(output): 168 output = os.path.join(self._logdir, '%s.kmemleak-%d' % (self._testname, num)) [all …]
|
D | test_dbus.py | 58 path = wpas.GetInterface(dev.ifname) 59 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path) 60 return (bus, wpas_obj, path, if_obj) 116 (bus, wpas_obj, path, if_obj) = prepare_dbus(dev[0]) 126 logger.debug("GetAll(%s, %s): %s" % (WPAS_DBUS_IFACE, path, str(props))) 130 logger.debug("GetAll(%s, %s): %s" % (WPAS_DBUS_IFACE_WPS, path, str(props))) 180 (bus, wpas_obj, path, if_obj) = prepare_dbus(dev[0]) 214 (bus, wpas_obj, path, if_obj) = prepare_dbus(dev[0]) 337 (bus, wpas_obj, path, if_obj) = prepare_dbus(dev[0]) 359 (bus, wpas_obj, path, if_obj) = prepare_dbus(dev[0]) [all …]
|
D | test_macsec.py | 287 cap_veth0 = os.path.join(params['logdir'], prefix + ".veth0.pcap") 288 cap_veth1 = os.path.join(params['logdir'], prefix + ".veth1.pcap") 289 cap_macsec0 = os.path.join(params['logdir'], prefix + ".macsec0.pcap") 290 cap_macsec1 = os.path.join(params['logdir'], prefix + ".macsec1.pcap") 485 pidfile = os.path.join(params['logdir'], prefix + ".pid") 488 if os.path.exists(pidfile + str(i)): 579 conffile = os.path.join(params['logdir'], prefix + ".conf") 580 pidfile = os.path.join(params['logdir'], prefix + ".pid") 581 logfile0 = os.path.join(params['logdir'], prefix + ".veth0.log") 582 logfile1 = os.path.join(params['logdir'], prefix + ".veth1.log") [all …]
|
D | test_ap_config.py | 94 with open(os.path.join(params['logdir'], 'hostapd-test.pid'), "r") as f: 109 with open(os.path.join(params['logdir'], 'hostapd-test.pid'), "r") as f: 127 with open(os.path.join(params['logdir'], 'hostapd-test.pid'), "r") as f: 168 if not os.path.exists(pidfile): 185 prg = os.path.join(params['logdir'], 'alt-hostapd/hostapd/hostapd') 186 if not os.path.exists(prg): 223 prg = os.path.join(params['logdir'], 'alt-hostapd/hostapd/hostapd') 224 if not os.path.exists(prg): 280 conffile = os.path.abspath(params['prefix'] + ".hostapd.conf") 281 prg = os.path.join(params['logdir'], 'alt-hostapd/hostapd/hostapd') [all …]
|
D | test_tnc.py | 8 import os.path 82 if not os.path.exists("tnc/libhostap_imc.so"): 101 if not os.path.exists("tnc/libhostap_imc.so"): 115 if not os.path.exists("tnc/libhostap_imc.so"): 183 if not os.path.exists("tnc/libhostap_imc.so"):
|
D | test_wpas_config.py | 164 config = os.path.join(params['logdir'], 'wpas_config_file.conf') 165 if os.path.exists(config): 315 if os.path.exists(config): 360 if os.path.exists(config): 410 if os.path.exists(config): 455 if os.path.exists(config): 503 if os.path.exists(config): 555 config = os.path.join(params['logdir'], 557 if os.path.exists(config): 634 config = os.path.join(params['logdir'], 'wpas_config_file_sae.conf')
|
D | test_cert_check.py | 104 cert_file = os.path.join(params['logdir'], "cert_check_basic.pem") 115 cert_file = os.path.join(params['logdir'], "cert_check_v3.pem") 128 cert_file = os.path.join(params['logdir'], "cert_check_dnsname.pem") 185 cert_file = os.path.join(params['logdir'], "cert_check_dnsname.pem") 241 cert_file = os.path.join(params['logdir'], "cert_check_dnsname_alt.pem") 272 cert_file = os.path.join(params['logdir'], "cert_check_dnsname_cn.pem")
|
/hostap-latest/src/wps/ |
D | http_client.c | 190 char *u, *addr, *port, *path; in http_client_url_parse() local 199 path = os_strchr(addr, '/'); in http_client_url_parse() 201 if (path == NULL) { in http_client_url_parse() 202 path = "/"; in http_client_url_parse() 204 *path = '\0'; /* temporary nul termination for address */ in http_client_url_parse() 205 if (port > path) in http_client_url_parse() 225 if (*path == '\0') { in http_client_url_parse() 227 *path = '/'; in http_client_url_parse() 230 *ret_path = path; in http_client_url_parse() 245 char *u, *path; in http_client_url() local [all …]
|
/hostap-latest/src/utils/ |
D | ext_password_file.c | 20 char *path; /* path of the password file */ member 46 data->path = os_strdup(params); in ext_password_file_init() 47 if (!data->path) { in ext_password_file_init() 67 str_clear_free(data->path); in ext_password_file_deinit() 90 f = fopen(data->path, "r"); in ext_password_file_get() 94 data->path, strerror(errno)); in ext_password_file_get()
|
D | xml-utils.c | 64 xml_node_t *root, const char *path) in get_node_iter() argument 70 end = os_strchr(path, '/'); in get_node_iter() 77 if (os_strcasecmp(name, path) == 0) in get_node_iter() 90 const char *path) in get_node() argument 95 search = os_strdup(path); in get_node() 107 const char *path) in get_child_node() argument 114 match = get_node(ctx, node, path); in get_child_node() 340 char *nodename, *value, *path; in add_mo_node() local 359 path = get_node_text(ctx, node, "Path"); in add_mo_node() 360 if (path) in add_mo_node() [all …]
|
D | wpa_debug.c | 133 char *line, *tmp1, *path = NULL; in wpa_debug_open_linux_tracing() local 157 path = tmp_path; in wpa_debug_open_linux_tracing() 164 if (path == NULL) { in wpa_debug_open_linux_tracing() 169 snprintf(buf, sizeof(buf) - 1, "%s/tracing/trace_marker", path); in wpa_debug_open_linux_tracing() 551 int wpa_debug_open_file(const char *path) in wpa_debug_open_file() argument 556 if (!path) in wpa_debug_open_file() 559 if (last_path == NULL || os_strcmp(last_path, path) != 0) { in wpa_debug_open_file() 562 last_path = os_strdup(path); in wpa_debug_open_file() 565 out_fd = open(path, O_CREAT | O_APPEND | O_WRONLY, in wpa_debug_open_file() 593 (void)path; in wpa_debug_open_file()
|
/hostap-latest/wpaspy/ |
D | wpaspy.py | 17 def __init__(self, path, port=9877): argument 21 self.path = path 25 if not path.startswith('/'): 27 mode = os.stat(path).st_mode 35 self.dest = path 48 ai_list = socket.getaddrinfo(path, port, socket.AF_INET, 60 print("connect exception ", path, str(port))
|
/hostap-latest/hostapd/ |
D | hlr_auc_gw.txt | 26 hlr_auc_gw [-hu] [-s<socket path>] [-g<triplet file>] [-m<milenage file>] \ 32 -s<socket path> = path for UNIX domain socket 34 -g<triplet file> = path for GSM authentication triplets 35 -m<milenage file> = path for Milenage keys 36 -D<DB file> = path to SQLite database 41 following commands in "sqlite3 /path/to/hlr_auc_gw.db": 72 "hlr_auc_gw -D /path/to/hlr_auc_gw.db" can then be used to fetch
|
/hostap-latest/wpa_supplicant/ |
D | main_winsvc.c | 424 TCHAR *path; in main() local 428 path = os_malloc(MAX_PATH * sizeof(TCHAR)); in main() 429 if (path == NULL) in main() 431 if (!GetModuleFileName(NULL, path, MAX_PATH)) { in main() 434 os_free(path); in main() 438 path = wpa_strdup_tchar(argv[2]); in main() 439 if (path == NULL) in main() 442 ret = register_service(path); in main() 443 os_free(path); in main()
|
D | eapol_test.py | 17 dir = os.path.dirname(os.path.realpath(sys.modules[__name__].__file__)) 18 sys.path.append(os.path.join(dir, '..', 'wpaspy')) 25 self.ctrl = wpaspy.Ctrl(os.path.join(wpas_ctrl, ifname)) 28 self.mon = wpaspy.Ctrl(os.path.join(wpas_ctrl, ifname))
|
/hostap-latest/tests/remote/ |
D | run-tests.py | 21 scriptsdir = os.path.dirname(os.path.realpath(sys.modules[__name__].__file__)) 22 sys.path.append(os.path.join(scriptsdir, '..', '..', 'wpaspy')) 23 sys.path.append(os.path.join(scriptsdir, '..', 'hwsim')) 133 symlink = os.path.join(log_dir, "current"); 134 if os.path.exists(symlink): 136 log_dir = os.path.join(log_dir, time.strftime("%Y_%m_%d_%H_%M_%S")) 137 if not os.path.exists(log_dir): 139 os.symlink(os.path.join("../", log_dir), symlink) 157 file_name = os.path.join(log_dir, 'run-tests.log')
|
/hostap-latest/wpa_supplicant/examples/p2p/ |
D | p2p_connect.py | 62 global path 108 self.path = None 110 self.path = self.wpas.GetInterface(ifname) 117 path = self.wpas.CreateInterface( 129 self.wpas_dbus_interface,self.path) 153 'peer':dbus.ObjectPath(self.path+'/Peers/'+self.addr)}
|
D | p2p_invite.py | 48 global path 97 self.path = self.wpas.GetInterface( 107 self.wpas_dbus_interface, self.path) 119 {'peer':dbus.ObjectPath(self.path+'/Peers/'+self.addr)}
|