1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
7 #include "conf-parser.h"
8 #include "in-addr-util.h"
10 typedef struct Network Network
;
11 typedef struct NetworkConfigSection NetworkConfigSection
;
13 typedef struct DHCPStaticLease
{
15 NetworkConfigSection
*section
;
17 struct in_addr address
;
19 size_t client_id_size
;
22 DHCPStaticLease
*dhcp_static_lease_free(DHCPStaticLease
*lease
);
23 void network_drop_invalid_static_leases(Network
*network
);
25 CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_static_lease_address
);
26 CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_static_lease_hwaddr
);