Searched refs:global_ctrl_sock (Results 1 – 3 of 3) sorted by relevance
4808 if (interface->global_ctrl_sock > -1) { in hostapd_global_ctrl_iface_init()4848 interface->global_ctrl_sock = socket(res->ai_family, res->ai_socktype, in hostapd_global_ctrl_iface_init()4850 if (interface->global_ctrl_sock < 0) { in hostapd_global_ctrl_iface_init()4855 if (bind(interface->global_ctrl_sock, res->ai_addr, res->ai_addrlen) < in hostapd_global_ctrl_iface_init()4869 if (eloop_register_read_sock(interface->global_ctrl_sock, in hostapd_global_ctrl_iface_init()4881 if (interface->global_ctrl_sock >= 0) in hostapd_global_ctrl_iface_init()4882 close(interface->global_ctrl_sock); in hostapd_global_ctrl_iface_init()4976 interface->global_ctrl_sock = s; in hostapd_global_ctrl_iface_init()5003 if (interfaces->global_ctrl_sock > -1) { in hostapd_global_ctrl_iface_deinit()5004 eloop_unregister_read_sock(interfaces->global_ctrl_sock); in hostapd_global_ctrl_iface_deinit()[all …]
672 interfaces.global_ctrl_sock = -1; in main()
58 int global_ctrl_sock; member