Lines Matching refs:global
578 struct wpa_global *global; member
586 struct wpa_global *global = eloop_ctx; in wpa_supplicant_global_ctrl_iface_receive() local
602 reply = wpa_supplicant_global_ctrl_iface_process(global, buf, in wpa_supplicant_global_ctrl_iface_receive()
617 wpa_supplicant_global_ctrl_iface_init(struct wpa_global *global) in wpa_supplicant_global_ctrl_iface_init() argument
625 priv->global = global; in wpa_supplicant_global_ctrl_iface_init()
628 if (global->params.ctrl_interface == NULL) in wpa_supplicant_global_ctrl_iface_init()
632 priv->sock = android_get_control_socket(global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_init()
637 global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_init()
647 os_strncpy(addr.sun_path, global->params.ctrl_interface, in wpa_supplicant_global_ctrl_iface_init()
656 if (unlink(global->params.ctrl_interface) < 0) { in wpa_supplicant_global_ctrl_iface_init()
660 global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_init()
670 global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_init()
676 global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_init()
683 global, NULL); in wpa_supplicant_global_ctrl_iface_init()
702 if (priv->global->params.ctrl_interface) in wpa_supplicant_global_ctrl_iface_deinit()
703 unlink(priv->global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_deinit()