Searched refs:global_ctrl_sock (Results 1 – 3 of 3) sorted by relevance
5536 if (interface->global_ctrl_sock > -1) { in hostapd_global_ctrl_iface_init()5576 interface->global_ctrl_sock = socket(res->ai_family, res->ai_socktype, in hostapd_global_ctrl_iface_init()5578 if (interface->global_ctrl_sock < 0) { in hostapd_global_ctrl_iface_init()5583 if (bind(interface->global_ctrl_sock, res->ai_addr, res->ai_addrlen) < in hostapd_global_ctrl_iface_init()5597 if (eloop_register_read_sock(interface->global_ctrl_sock, in hostapd_global_ctrl_iface_init()5609 if (interface->global_ctrl_sock >= 0) in hostapd_global_ctrl_iface_init()5610 close(interface->global_ctrl_sock); in hostapd_global_ctrl_iface_init()5704 interface->global_ctrl_sock = s; in hostapd_global_ctrl_iface_init()5731 if (interfaces->global_ctrl_sock > -1) { in hostapd_global_ctrl_iface_deinit()5732 eloop_unregister_read_sock(interfaces->global_ctrl_sock); in hostapd_global_ctrl_iface_deinit()[all …]
795 interfaces.global_ctrl_sock = -1; in main()
60 int global_ctrl_sock; member