]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/network/networkd-dhcp-prefix-delegation.h
network: make Reload bus method synchronous
[thirdparty/systemd.git] / src / network / networkd-dhcp-prefix-delegation.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include <stdbool.h>
5
6 #include "sd-dhcp-lease.h"
7 #include "sd-dhcp6-lease.h"
8
9 #include "conf-parser.h"
10
11 typedef struct Link Link;
12
13 bool link_dhcp_pd_is_enabled(Link *link);
14 bool dhcp_pd_is_uplink(Link *link, Link *target, bool accept_auto);
15 int dhcp_pd_find_uplink(Link *link, Link **ret);
16 int dhcp_pd_remove(Link *link, bool only_marked);
17 int dhcp_request_prefix_delegation(Link *link);
18 int dhcp4_pd_prefix_acquired(Link *uplink);
19 int dhcp6_pd_prefix_acquired(Link *uplink);
20 void dhcp_pd_prefix_lost(Link *uplink);
21 void dhcp4_pd_prefix_lost(Link *uplink);
22
23 CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_pd_subnet_id);