]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/network/networkd-address-pool.h
c40258f03c7a0b5bcfa4e687c2b386931e1ece5b
[thirdparty/systemd.git] / src / network / networkd-address-pool.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include "networkd-forward.h"
5 #include "in-addr-util.h"
6
7 typedef struct AddressPool {
8 Manager *manager;
9
10 int family;
11 unsigned prefixlen;
12 union in_addr_union in_addr;
13 } AddressPool;
14
15 int address_pool_setup_default(Manager *m);
16 int address_pool_acquire(Manager *m, int family, unsigned prefixlen, union in_addr_union *found);