1 /* SPDX-License-Identifier: LGPL-2.1+ */
6 #include "conf-parser.h"
7 #include "in-addr-util.h"
8 #include "networkd-util.h"
10 typedef struct Network Network
;
11 typedef struct Link Link
;
13 typedef struct AddressLabel
{
15 NetworkConfigSection
*section
;
17 unsigned char prefixlen
;
19 union in_addr_union in_addr
;
22 AddressLabel
*address_label_free(AddressLabel
*label
);
24 void network_drop_invalid_address_labels(Network
*network
);
26 int link_set_address_labels(Link
*link
);
28 CONFIG_PARSER_PROTOTYPE(config_parse_address_label
);
29 CONFIG_PARSER_PROTOTYPE(config_parse_address_label_prefix
);