1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 Copyright © 2014 Intel Corporation. All rights reserved.
8 #include "conf-parser.h"
11 #include "networkd-util.h"
13 typedef struct Network Network
;
14 typedef struct FdbEntry FdbEntry
;
15 typedef struct Link Link
;
16 typedef struct NetworkConfigSection NetworkConfigSection
;
20 NetworkConfigSection
*section
;
22 struct ether_addr
*mac_addr
;
25 LIST_FIELDS(FdbEntry
, static_fdb_entries
);
28 void fdb_entry_free(FdbEntry
*fdb_entry
);
29 int fdb_entry_configure(Link
*link
, FdbEntry
*fdb_entry
);
31 DEFINE_NETWORK_SECTION_FUNCTIONS(FdbEntry
, fdb_entry_free
);
33 CONFIG_PARSER_PROTOTYPE(config_parse_fdb_hwaddr
);
34 CONFIG_PARSER_PROTOTYPE(config_parse_fdb_vlan_id
);