]>
Commit | Line | Data |
---|---|---|
6eb2c8b8 | 1 | /* VLAN (802.1q) common header. |
2 | * Copyright (C) 2016, 2017 Cumulus Networks, Inc. | |
3 | * | |
4 | * This file is part of FRR. | |
5 | * | |
6 | * FRR is free software; you can redistribute it and/or modify it | |
7 | * under the terms of the GNU General Public License as published by the | |
8 | * Free Software Foundation; either version 2, or (at your option) any | |
9 | * later version. | |
10 | * | |
11 | * FRR is distributed in the hope that it will be useful, but | |
12 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | * General Public License for more details. | |
15 | * | |
16 | * You should have received a copy of the GNU General Public License | |
17 | * along with FRR; see the file COPYING. If not, write to the Free | |
18 | * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
19 | * 02111-1307, USA. | |
20 | */ | |
21 | ||
22 | #ifndef __VLAN_H__ | |
23 | #define __VLAN_H__ | |
24 | ||
5e244469 RW |
25 | #ifdef __cplusplus |
26 | extern "C" { | |
27 | #endif | |
28 | ||
6eb2c8b8 | 29 | /* VLAN Identifier */ |
d7c0a89a | 30 | typedef uint16_t vlanid_t; |
6eb2c8b8 | 31 | #define VLANID_MAX 4095 |
32 | ||
5e244469 RW |
33 | #ifdef __cplusplus |
34 | } | |
35 | #endif | |
36 | ||
6eb2c8b8 | 37 | #endif /* __VLAN_H__ */ |