Searched refs:ctrl_sock (Results 1 – 2 of 2) sorted by relevance
537 hapd->ctrl_sock = -1; in hostapd_ctrl_iface_init()622 hapd->ctrl_sock = s; in hostapd_ctrl_iface_init()645 if (hapd->ctrl_sock > -1) { in hostapd_ctrl_iface_deinit()647 eloop_unregister_read_sock(hapd->ctrl_sock); in hostapd_ctrl_iface_deinit()648 close(hapd->ctrl_sock); in hostapd_ctrl_iface_deinit()649 hapd->ctrl_sock = -1; in hostapd_ctrl_iface_deinit()686 if (hapd->ctrl_sock < 0 || dst == NULL) in hostapd_ctrl_iface_send()707 if (sendmsg(hapd->ctrl_sock, &msg, 0) < 0) { in hostapd_ctrl_iface_send()
149 int ctrl_sock; member