Searched refs:ctrl_sock (Results 1 – 3 of 3) sorted by relevance
4163 if (hapd->ctrl_sock > -1) { in hostapd_ctrl_iface_init()4182 hapd->ctrl_sock = -1; in hostapd_ctrl_iface_init()4205 hapd->ctrl_sock = socket(res->ai_family, res->ai_socktype, in hostapd_ctrl_iface_init()4207 if (hapd->ctrl_sock < 0) { in hostapd_ctrl_iface_init()4212 if (bind(hapd->ctrl_sock, res->ai_addr, res->ai_addrlen) < 0) { in hostapd_ctrl_iface_init()4231 if (eloop_register_read_sock(hapd->ctrl_sock, in hostapd_ctrl_iface_init()4244 if (hapd->ctrl_sock >= 0) in hostapd_ctrl_iface_init()4245 close(hapd->ctrl_sock); in hostapd_ctrl_iface_init()4252 if (hapd->ctrl_sock > -1) { in hostapd_ctrl_iface_init()4379 hapd->ctrl_sock = s; in hostapd_ctrl_iface_init()[all …]
205 int ctrl_sock; member
2378 hapd->ctrl_sock = -1; in hostapd_alloc_bss_data()