1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 Copyright © 2016 BISDN GmbH. All rights reserved.
10 #include "conf-parser.h"
12 #define BRIDGE_VLAN_BITMAP_MAX 4096
13 #define BRIDGE_VLAN_BITMAP_LEN (BRIDGE_VLAN_BITMAP_MAX / 32)
15 typedef struct Link Link
;
17 int br_vlan_configure(Link
*link
, uint16_t pvid
, uint32_t *br_vid_bitmap
, uint32_t *br_untagged_bitmap
);
19 CONFIG_PARSER_PROTOTYPE(config_parse_brvlan_pvid
);
20 CONFIG_PARSER_PROTOTYPE(config_parse_brvlan_vlan
);
21 CONFIG_PARSER_PROTOTYPE(config_parse_brvlan_untagged
);