Searched refs:global_ctrl_sock (Results 1 – 3 of 3) sorted by relevance
3951 if (interface->global_ctrl_sock > -1) { in hostapd_global_ctrl_iface_init()3991 interface->global_ctrl_sock = socket(res->ai_family, res->ai_socktype, in hostapd_global_ctrl_iface_init()3993 if (interface->global_ctrl_sock < 0) { in hostapd_global_ctrl_iface_init()3998 if (bind(interface->global_ctrl_sock, res->ai_addr, res->ai_addrlen) < in hostapd_global_ctrl_iface_init()4012 if (eloop_register_read_sock(interface->global_ctrl_sock, in hostapd_global_ctrl_iface_init()4022 if (interface->global_ctrl_sock >= 0) in hostapd_global_ctrl_iface_init()4023 close(interface->global_ctrl_sock); in hostapd_global_ctrl_iface_init()4117 interface->global_ctrl_sock = s; in hostapd_global_ctrl_iface_init()4142 if (interfaces->global_ctrl_sock > -1) { in hostapd_global_ctrl_iface_deinit()4143 eloop_unregister_read_sock(interfaces->global_ctrl_sock); in hostapd_global_ctrl_iface_deinit()[all …]
669 interfaces.global_ctrl_sock = -1; in main()
43 int global_ctrl_sock; member