]>
Commit | Line | Data |
---|---|---|
d5ebcf65 YW |
1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
2 | #pragma once | |
3 | ||
4 | #include <stdbool.h> | |
5 | ||
e49bad01 | 6 | #include "sd-dhcp-lease.h" |
a27588d4 YW |
7 | #include "sd-dhcp6-lease.h" |
8 | ||
d5ebcf65 YW |
9 | #include "conf-parser.h" |
10 | ||
11 | typedef struct Link Link; | |
12 | ||
a27588d4 YW |
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); | |
a27588d4 YW |
16 | int dhcp_pd_remove(Link *link, bool only_marked); |
17 | int dhcp_request_prefix_delegation(Link *link); | |
e49bad01 | 18 | int dhcp4_pd_prefix_acquired(Link *uplink); |
a27588d4 YW |
19 | int dhcp6_pd_prefix_acquired(Link *uplink); |
20 | void dhcp_pd_prefix_lost(Link *uplink); | |
e49bad01 | 21 | void dhcp4_pd_prefix_lost(Link *uplink); |
d5ebcf65 | 22 | |
a27588d4 | 23 | CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_pd_subnet_id); |