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

#include "conf-parser.h"

typedef struct Link Link;
typedef struct Network Network;

void network_adjust_dhcp_server(Network *network);

int link_request_dhcp_server_address(Link *link);
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);