]>
| Commit | Line | Data |
|---|---|---|
| 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); |