Home
last modified time | relevance | path

Searched refs:test_socket (Results 1 – 9 of 9) 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_8/src/drivers/
Ddriver_test.c71 int test_socket; member
181 if (drv->test_socket < 0) in test_driver_send_eapol()
213 return sendmsg(drv->test_socket, &msg, 0); in test_driver_send_eapol()
231 if (drv->test_socket < 0 || drv->test_dir == NULL) { in test_driver_send_ether()
234 __func__, drv->test_socket, drv->test_dir); in test_driver_send_ether()
288 ret = sendmsg(drv->test_socket, &msg, 0); in test_driver_send_ether()
328 if (drv->test_socket < 0 || data_len < 10) { in wpa_driver_test_send_mlme()
331 __func__, drv->test_socket, in wpa_driver_test_send_mlme()
398 ret = sendmsg(drv->test_socket, &msg, 0); in wpa_driver_test_send_mlme()
443 ret = sendmsg(drv->test_socket, &msg, 0); in wpa_driver_test_send_mlme()
[all …]
Ddriver.h908 const char *test_socket; member
/external/wpa_supplicant_8/hostapd/
Dmain.c275 params.test_socket = hapd->conf->test_socket; in hostapd_driver_init()
Dconfig_file.c1770 os_free(bss->test_socket); in hostapd_config_read()
1771 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.h272 char *test_socket; /* UNIX domain socket path for driver_test */ member
Dap_config.c407 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()