]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/network/networkd-address-pool.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
4 typedef struct AddressPool AddressPool
;
6 #include "in-addr-util.h"
9 typedef struct Manager Manager
;
17 union in_addr_union in_addr
;
19 LIST_FIELDS(AddressPool
, address_pools
);
22 int address_pool_new_from_string(Manager
*m
, AddressPool
**ret
, int family
, const char *p
, unsigned prefixlen
);
23 void address_pool_free(AddressPool
*p
);
25 int address_pool_acquire(AddressPool
*p
, unsigned prefixlen
, union in_addr_union
*found
);