]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/network/networkd-address-pool.h
core/scope: drop effectively unused unit_watch_pidref() calls (#38186)
[thirdparty/systemd.git] / src / network / networkd-address-pool.h
CommitLineData
db9ecf05 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
fc2f9534
LP
2#pragma once
3
baa3fadf 4#include "networkd-forward.h"
71d35b6b 5#include "in-addr-util.h"
634f0f98 6
bfbf150e 7typedef struct AddressPool {
fc2f9534
LP
8 Manager *manager;
9
10 int family;
11 unsigned prefixlen;
fc2f9534 12 union in_addr_union in_addr;
bfbf150e 13} AddressPool;
fc2f9534 14
ed76f585
YW
15int address_pool_setup_default(Manager *m);
16int address_pool_acquire(Manager *m, int family, unsigned prefixlen, union in_addr_union *found);