HALF ECHO LEARN / REFERENCE COLLECTION
v262.2src/network/networkd-address-pool.h
Git blob: c40258f03c7a0b5bcfa4e687c2b386931e1ece5b
Lines 1–17 of 17
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include "networkd-forward.h"
#include "in-addr-util.h"
typedef struct AddressPool {
Manager *manager;
int family;
unsigned prefixlen;
union in_addr_union in_addr;
} AddressPool;
int address_pool_setup_default(Manager *m);
int address_pool_acquire(Manager *m, int family, unsigned prefixlen, union in_addr_union *found);