]>
Commit | Line | Data |
---|---|---|
acddc0ed | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
6eb2c8b8 | 2 | /* VLAN (802.1q) common header. |
3 | * Copyright (C) 2016, 2017 Cumulus Networks, Inc. | |
6eb2c8b8 | 4 | */ |
5 | ||
6 | #ifndef __VLAN_H__ | |
7 | #define __VLAN_H__ | |
8 | ||
5e244469 RW |
9 | #ifdef __cplusplus |
10 | extern "C" { | |
11 | #endif | |
12 | ||
6eb2c8b8 | 13 | /* VLAN Identifier */ |
d7c0a89a | 14 | typedef uint16_t vlanid_t; |
6eb2c8b8 | 15 | #define VLANID_MAX 4095 |
16 | ||
5e244469 RW |
17 | #ifdef __cplusplus |
18 | } | |
19 | #endif | |
20 | ||
6eb2c8b8 | 21 | #endif /* __VLAN_H__ */ |