Home
last modified time | relevance | path

Searched refs:test_socket (Results 1 – 10 of 10) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_test.c46 int test_socket; member
144 if (sendto(drv->test_socket, cmd, os_strlen(cmd), 0, in wpa_driver_scan_dir()
162 if (drv->test_socket >= 0 && drv->test_dir) in wpa_driver_test_scan()
165 if (drv->test_socket >= 0 && drv->hostapd_addr_set && in wpa_driver_test_scan()
166 sendto(drv->test_socket, "SCAN", 4, 0, in wpa_driver_test_scan()
173 if (drv->test_socket >= 0 && drv->hostapd_addr_udp_set && in wpa_driver_test_scan()
174 sendto(drv->test_socket, "SCAN", 4, 0, in wpa_driver_test_scan()
279 if (drv->test_socket >= 0 && in wpa_driver_test_associate()
299 sendto(drv->test_socket, cmd, os_strlen(cmd), 0, in wpa_driver_test_associate()
307 sendto(drv->test_socket, cmd, os_strlen(cmd), 0, in wpa_driver_test_associate()
[all …]
/external/wpa_supplicant/
Ddriver_test.c33 int test_socket; member
86 if (sendto(drv->test_socket, "SCAN", 4, 0, in wpa_driver_scan_dir()
102 if (drv->test_socket >= 0 && drv->test_dir) in wpa_driver_test_scan()
105 if (drv->test_socket >= 0 && drv->hostapd_addr_set && in wpa_driver_test_scan()
106 sendto(drv->test_socket, "SCAN", 4, 0, in wpa_driver_test_scan()
191 if (drv->test_socket >= 0 && drv->hostapd_addr_set) { in wpa_driver_test_associate()
208 if (sendto(drv->test_socket, cmd, os_strlen(cmd), 0, in wpa_driver_test_associate()
242 if (drv->test_socket >= 0 && in wpa_driver_test_send_disassoc()
243 sendto(drv->test_socket, "DISASSOC", 8, 0, in wpa_driver_test_send_disassoc()
474 drv->test_socket = -1; in wpa_driver_test_init()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_test.c77 int test_socket; member
187 if (drv->test_socket < 0) in test_driver_send_eapol()
219 return sendmsg(drv->test_socket, &msg, 0); in test_driver_send_eapol()
237 if (drv->test_socket < 0 || drv->test_dir == NULL) { in test_driver_send_ether()
240 __func__, drv->test_socket, drv->test_dir); in test_driver_send_ether()
294 ret = sendmsg(drv->test_socket, &msg, 0); in test_driver_send_ether()
334 if (drv->test_socket < 0 || data_len < 10) { in wpa_driver_test_send_mlme()
337 __func__, drv->test_socket, in wpa_driver_test_send_mlme()
404 ret = sendmsg(drv->test_socket, &msg, 0); in wpa_driver_test_send_mlme()
449 ret = sendmsg(drv->test_socket, &msg, 0); in wpa_driver_test_send_mlme()
[all …]
Ddriver.h668 const char *test_socket; member
/external/wpa_supplicant_8/hostapd/
Dmain.c253 params.test_socket = hapd->conf->test_socket; in hostapd_driver_init()
Dconfig_file.c1722 os_free(bss->test_socket); in hostapd_config_read()
1723 bss->test_socket = os_strdup(pos); in hostapd_config_read()
DChangeLog348 the name (test_socket=DIR:/tmp/test)
/external/wpa_supplicant_8/src/ap/
Dap_config.h267 char *test_socket; /* UNIX domain socket path for driver_test */ member
Dap_config.c413 os_free(conf->test_socket); in hostapd_config_free_bss()
/external/chromium/net/base/
Dnet_util.cc1929 int test_socket = socket(AF_INET6, SOCK_STREAM, 0); in IPv6Supported()
1930 if (test_socket == -1) { in IPv6Supported()
1934 close(test_socket); in IPv6Supported()
1976 SOCKET test_socket = socket(AF_INET6, SOCK_STREAM, 0); in IPv6Supported()
1977 if (test_socket == INVALID_SOCKET) { in IPv6Supported()
1981 closesocket(test_socket); in IPv6Supported()