Searched refs:global_ctrl_sock (Results 1 – 3 of 3) sorted by relevance
4688 if (interface->global_ctrl_sock > -1) { in hostapd_global_ctrl_iface_init()4728 interface->global_ctrl_sock = socket(res->ai_family, res->ai_socktype, in hostapd_global_ctrl_iface_init()4730 if (interface->global_ctrl_sock < 0) { in hostapd_global_ctrl_iface_init()4735 if (bind(interface->global_ctrl_sock, res->ai_addr, res->ai_addrlen) < in hostapd_global_ctrl_iface_init()4749 if (eloop_register_read_sock(interface->global_ctrl_sock, in hostapd_global_ctrl_iface_init()4761 if (interface->global_ctrl_sock >= 0) in hostapd_global_ctrl_iface_init()4762 close(interface->global_ctrl_sock); in hostapd_global_ctrl_iface_init()4856 interface->global_ctrl_sock = s; in hostapd_global_ctrl_iface_init()4883 if (interfaces->global_ctrl_sock > -1) { in hostapd_global_ctrl_iface_deinit()4884 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