summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-dhcp-server.h
blob: 960232ade6b9ed68ed0d2be0df766cbc10632a97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include "conf-parser.h"
#include "set.h"

typedef struct Link Link;
typedef struct Network Network;

int network_adjust_dhcp_server(Network *network, Set **addresses);

int link_request_dhcp_server(Link *link);

CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_server_relay_agent_suboption);
CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_server_emit);
CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_server_address);
CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_server_ipv6_only_preferred);