| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
#pragma once |
| 3 |
|
| 4 |
#include "networkd-forward.h" |
| 5 |
|
| 6 |
bool link_dhcp_pd_is_enabled(Link *link); |
| 7 |
bool dhcp_pd_is_uplink(Link *link, Link *target, bool accept_auto); |
| 8 |
int dhcp_pd_find_uplink(Link *link, Link **ret); |
| 9 |
int dhcp_pd_remove(Link *link, bool only_marked); |
| 10 |
int dhcp_request_prefix_delegation(Link *link); |
| 11 |
int link_drop_dhcp_pd_config(Link *link, Network *network); |
| 12 |
int dhcp4_pd_prefix_acquired(Link *uplink); |
| 13 |
int dhcp6_pd_prefix_acquired(Link *uplink); |
| 14 |
void dhcp4_pd_prefix_lost(Link *uplink); |
| 15 |
void dhcp6_pd_prefix_lost(Link *uplink); |
| 16 |
int dhcp_pd_reconfigure_address(Address *address, Link *link); |
| 17 |
void network_adjust_dhcp_prefix_delegation(Network *network); |
| 18 |
|
| 19 |
CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_pd_subnet_id); |
| 20 |
CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_pd_prefix_route_type); |