-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2022 Felix Fietkau <nbd@nbd.name>
*/
const char *str);
int network_get_local_addr(void *local, const union network_endpoint *target);
+void *unet_read_file(const char *name, size_t *len);
+
#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
#define bitmask_size(len) (4 * DIV_ROUND_UP(len, 32))