]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/network/networkd-brvlan.h
core: move reset_arguments() to the end of main's finish
[thirdparty/systemd.git] / src / network / networkd-brvlan.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5 Copyright © 2016 BISDN GmbH. All rights reserved.
6 ***/
7
8 #include <stdint.h>
9
10 #include "conf-parser.h"
11
12 #define BRIDGE_VLAN_BITMAP_MAX 4096
13 #define BRIDGE_VLAN_BITMAP_LEN (BRIDGE_VLAN_BITMAP_MAX / 32)
14
15 typedef struct Link Link;
16
17 int br_vlan_configure(Link *link, uint16_t pvid, uint32_t *br_vid_bitmap, uint32_t *br_untagged_bitmap);
18
19 CONFIG_PARSER_PROTOTYPE(config_parse_brvlan_pvid);
20 CONFIG_PARSER_PROTOTYPE(config_parse_brvlan_vlan);
21 CONFIG_PARSER_PROTOTYPE(config_parse_brvlan_untagged);