Searched refs:global_iface_path (Results 1 – 3 of 3) sorted by relevance
491 os_free(interfaces->global_iface_path); in hostapd_get_global_ctrl_iface()492 interfaces->global_iface_path = os_strdup(path); in hostapd_get_global_ctrl_iface()493 if (interfaces->global_iface_path == NULL) in hostapd_get_global_ctrl_iface()497 pos = os_strrchr(interfaces->global_iface_path, '/'); in hostapd_get_global_ctrl_iface()501 os_free(interfaces->global_iface_path); in hostapd_get_global_ctrl_iface()502 interfaces->global_iface_path = NULL; in hostapd_get_global_ctrl_iface()599 interfaces.global_iface_path = NULL; in main()675 if (optind == argc && interfaces.global_iface_path == NULL && in main()
3201 if (interface->global_iface_path == NULL) in hostapd_global_ctrl_iface_path()3204 len = os_strlen(interface->global_iface_path) + in hostapd_global_ctrl_iface_path()3210 os_snprintf(buf, len, "%s/%s", interface->global_iface_path, in hostapd_global_ctrl_iface_path()3232 if (interface->global_iface_path == NULL) in hostapd_global_ctrl_iface_init()3235 pos = os_strstr(interface->global_iface_path, "udp:"); in hostapd_global_ctrl_iface_init()3308 if (interface->global_iface_path == NULL) { in hostapd_global_ctrl_iface_init()3313 if (mkdir(interface->global_iface_path, S_IRWXU | S_IRWXG) < 0) { in hostapd_global_ctrl_iface_init()3323 chown(interface->global_iface_path, -1, in hostapd_global_ctrl_iface_init()3330 if (os_strlen(interface->global_iface_path) + 1 + in hostapd_global_ctrl_iface_init()3431 if (interfaces->global_iface_path && in hostapd_global_ctrl_iface_deinit()[all …]
45 char *global_iface_path; member