1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
6 #include "sd-dhcp-lease.h"
7 #include "sd-dhcp6-lease.h"
9 #include "conf-parser.h"
11 typedef struct Link Link
;
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
);
23 CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_pd_subnet_id
);