Searched refs:global_iface_path (Results 1 – 3 of 3) sorted by relevance
520 os_free(interfaces->global_iface_path); in hostapd_get_global_ctrl_iface()521 interfaces->global_iface_path = os_strdup(path); in hostapd_get_global_ctrl_iface()522 if (interfaces->global_iface_path == NULL) in hostapd_get_global_ctrl_iface()526 pos = os_strrchr(interfaces->global_iface_path, '/'); in hostapd_get_global_ctrl_iface()530 os_free(interfaces->global_iface_path); in hostapd_get_global_ctrl_iface()531 interfaces->global_iface_path = NULL; in hostapd_get_global_ctrl_iface()670 interfaces.global_iface_path = NULL; in main()770 if (optind == argc && interfaces.global_iface_path == NULL && in main()
4782 if (interface->global_iface_path == NULL) in hostapd_global_ctrl_iface_path()4785 len = os_strlen(interface->global_iface_path) + in hostapd_global_ctrl_iface_path()4791 os_snprintf(buf, len, "%s/%s", interface->global_iface_path, in hostapd_global_ctrl_iface_path()4813 if (interface->global_iface_path == NULL) in hostapd_global_ctrl_iface_init()4816 pos = os_strstr(interface->global_iface_path, "udp:"); in hostapd_global_ctrl_iface_init()4889 if (interface->global_iface_path == NULL) { in hostapd_global_ctrl_iface_init()4894 if (mkdir(interface->global_iface_path, S_IRWXU | S_IRWXG) < 0) { in hostapd_global_ctrl_iface_init()4904 lchown(interface->global_iface_path, -1, in hostapd_global_ctrl_iface_init()4911 if (os_strlen(interface->global_iface_path) + 1 + in hostapd_global_ctrl_iface_init()5014 if (interfaces->global_iface_path && in hostapd_global_ctrl_iface_deinit()[all …]
60 char *global_iface_path; member