Lines Matching refs:ctrl_interface
4691 if (hapd->conf->ctrl_interface == NULL) in hostapd_ctrl_iface_path()
4694 len = os_strlen(hapd->conf->ctrl_interface) + in hostapd_ctrl_iface_path()
4701 hapd->conf->ctrl_interface, hapd->conf->iface); in hostapd_ctrl_iface_path()
4734 if (hapd->conf->ctrl_interface == NULL) in hostapd_ctrl_iface_init()
4737 pos = os_strstr(hapd->conf->ctrl_interface, "udp:"); in hostapd_ctrl_iface_init()
4792 os_free(hapd->conf->ctrl_interface); in hostapd_ctrl_iface_init()
4793 hapd->conf->ctrl_interface = tmp; in hostapd_ctrl_iface_init()
4825 if (hapd->conf->ctrl_interface == NULL) in hostapd_ctrl_iface_init()
4828 if (mkdir(hapd->conf->ctrl_interface, S_IRWXU | S_IRWXG) < 0) { in hostapd_ctrl_iface_init()
4840 lchown(hapd->conf->ctrl_interface, -1, in hostapd_ctrl_iface_init()
4849 lchown(hapd->conf->ctrl_interface, -1, in hostapd_ctrl_iface_init()
4864 if (chmod(hapd->conf->ctrl_interface, S_IRWXU | S_IRWXG) < 0) { in hostapd_ctrl_iface_init()
4871 if (os_strlen(hapd->conf->ctrl_interface) + 1 + in hostapd_ctrl_iface_init()
4986 if (hapd->conf->ctrl_interface && in hostapd_ctrl_iface_deinit()
4987 rmdir(hapd->conf->ctrl_interface) < 0) { in hostapd_ctrl_iface_deinit()
4995 hapd->conf->ctrl_interface, in hostapd_ctrl_iface_deinit()
5260 conf->ctrl_interface ? in hostapd_global_ctrl_iface_interfaces()
5261 conf->ctrl_interface : "N/A"); in hostapd_global_ctrl_iface_interfaces()