]> git.ipfire.org Git - thirdparty/systemd.git/blame_incremental - src/network/networkd-address-pool.h
io.systemd.Unit.List fix context/runtime split (#38172)
[thirdparty/systemd.git] / src / network / networkd-address-pool.h
... / ...
CommitLineData
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
7typedef struct AddressPool {
8 Manager *manager;
9
10 int family;
11 unsigned prefixlen;
12 union in_addr_union in_addr;
13} AddressPool;
14
15int address_pool_setup_default(Manager *m);
16int address_pool_acquire(Manager *m, int family, unsigned prefixlen, union in_addr_union *found);