1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 #include "in-addr-util.h" 5 6 typedef struct Manager Manager; 7 8 typedef struct AddressPool { 9 Manager *manager; 10 11 int family; 12 unsigned prefixlen; 13 union in_addr_union in_addr; 14 } AddressPool; 15 16 int address_pool_setup_default(Manager *m); 17 int address_pool_acquire(Manager *m, int family, unsigned prefixlen, union in_addr_union *found); 18