]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/network/networkd-brvlan.h
Merge pull request #16316 from yuwata/backlight-use-actual-brightness
[thirdparty/systemd.git] / src / network / networkd-brvlan.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
13b498f9
TJ
2#pragma once
3
4/***
810adae9 5 Copyright © 2016 BISDN GmbH. All rights reserved.
13b498f9
TJ
6***/
7
8#include <stdint.h>
9
a2106925
LP
10#include "conf-parser.h"
11
ca5ad760
YW
12#define BRIDGE_VLAN_BITMAP_MAX 4096
13#define BRIDGE_VLAN_BITMAP_LEN (BRIDGE_VLAN_BITMAP_MAX / 32)
14
13b498f9
TJ
15typedef struct Link Link;
16
17int br_vlan_configure(Link *link, uint16_t pvid, uint32_t *br_vid_bitmap, uint32_t *br_untagged_bitmap);
18
a2106925
LP
19CONFIG_PARSER_PROTOTYPE(config_parse_brvlan_pvid);
20CONFIG_PARSER_PROTOTYPE(config_parse_brvlan_vlan);
21CONFIG_PARSER_PROTOTYPE(config_parse_brvlan_untagged);