Searched refs:global_ctrl_sock (Results 1 – 3 of 3) sorted by relevance
4962 if (interface->global_ctrl_sock > -1) { in hostapd_global_ctrl_iface_init()5002 interface->global_ctrl_sock = socket(res->ai_family, res->ai_socktype, in hostapd_global_ctrl_iface_init()5004 if (interface->global_ctrl_sock < 0) { in hostapd_global_ctrl_iface_init()5009 if (bind(interface->global_ctrl_sock, res->ai_addr, res->ai_addrlen) < in hostapd_global_ctrl_iface_init()5023 if (eloop_register_read_sock(interface->global_ctrl_sock, in hostapd_global_ctrl_iface_init()5035 if (interface->global_ctrl_sock >= 0) in hostapd_global_ctrl_iface_init()5036 close(interface->global_ctrl_sock); in hostapd_global_ctrl_iface_init()5130 interface->global_ctrl_sock = s; in hostapd_global_ctrl_iface_init()5157 if (interfaces->global_ctrl_sock > -1) { in hostapd_global_ctrl_iface_deinit()5158 eloop_unregister_read_sock(interfaces->global_ctrl_sock); in hostapd_global_ctrl_iface_deinit()[all …]
670 interfaces.global_ctrl_sock = -1; in main()
59 int global_ctrl_sock; member