Home
last modified time | relevance | path

Searched refs:ctrl_sock (Results 1 – 5 of 5) sorted by relevance

/external/autotest/client/virt/
Dvirt_utils.py3178 ctrl_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
3180 r = fcntl.ioctl(ctrl_sock, SIOCGIFINDEX, ifr)
3182 ctrl_sock.close()
3236 ctrl_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
3242 r = fcntl.ioctl(ctrl_sock, SIOCBRADDIF, ifr)
3245 ctrl_sock.close()
3254 ctrl_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
3257 fcntl.ioctl(ctrl_sock, SIOCSIFFLAGS, ifr)
3260 ctrl_sock.close()
3270 ctrl_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
[all …]
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c2457 if (hapd->ctrl_sock > -1) { in hostapd_ctrl_iface_init()
2476 hapd->ctrl_sock = -1; in hostapd_ctrl_iface_init()
2499 hapd->ctrl_sock = socket(res->ai_family, res->ai_socktype, in hostapd_ctrl_iface_init()
2501 if (hapd->ctrl_sock < 0) { in hostapd_ctrl_iface_init()
2506 if (bind(hapd->ctrl_sock, res->ai_addr, res->ai_addrlen) < 0) { in hostapd_ctrl_iface_init()
2525 if (eloop_register_read_sock(hapd->ctrl_sock, in hostapd_ctrl_iface_init()
2538 if (hapd->ctrl_sock >= 0) in hostapd_ctrl_iface_init()
2539 close(hapd->ctrl_sock); in hostapd_ctrl_iface_init()
2546 if (hapd->ctrl_sock > -1) { in hostapd_ctrl_iface_init()
2673 hapd->ctrl_sock = s; in hostapd_ctrl_iface_init()
[all …]
/external/wpa_supplicant_8/src/ap/
Dhostapd.h157 int ctrl_sock; member
Dhostapd.c1871 hapd->ctrl_sock = -1; in hostapd_alloc_bss_data()
/external/curl/lib/
Dftp.c428 curl_socket_t ctrl_sock = conn->sock[FIRSTSOCKET]; in ReceivedServerConnect() local
455 result = Curl_socket_check(ctrl_sock, data_sock, CURL_SOCKET_BAD, 0); in ReceivedServerConnect()