Snort: speed up parsing of options by avoiding g_snprintf()
[metze/wireshark/wip.git] / epan / bridged_pids.h
1 /* bridged_pids.h
2  * Definitions of protocol IDs for the 00-80-C2 OUI, used for
3  * bridging various networks over ATM (RFC 2684) or Frame Relay (RFC 2427).
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 1998 - 2000 Gerald Combs
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; either version 2
12  * of the License, or (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22  */
23
24 #ifndef __BRIDGED_PID_H__
25 #define __BRIDGED_PID_H__
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif /* __cplusplus */
30
31 #define BPID_ETH_WITH_FCS       0x0001  /* 802.3/Ethernet with preserved FCS */
32 #define BPID_ETH_WITHOUT_FCS    0x0007  /* 802.3/Ethernet without preserved FCS */
33
34 #define BPID_802_4_WITH_FCS     0x0002  /* 802.4 with preserved FCS */
35 #define BPID_802_4_WITHOUT_FCS  0x0008  /* 802.4 without preserved FCS */
36
37 #define BPID_802_5_WITH_FCS     0x0003  /* 802.5 with preserved FCS */
38 #define BPID_802_5_WITHOUT_FCS  0x0009  /* 802.5 without preserved FCS */
39
40 #define BPID_FDDI_WITH_FCS      0x0004  /* FDDI with preserved FCS */
41 #define BPID_FDDI_WITHOUT_FCS   0x000A  /* FDDI without preserved FCS */
42
43 #define BPID_802_6_WITH_FCS     0x0005  /* 802.6 with preserved FCS */
44 #define BPID_802_6_WITHOUT_FCS  0x000B  /* 802.6 without preserved FCS */
45
46 #define BPID_FRAGMENTS          0x000D
47
48 #define BPID_BPDU               0x000E  /* 802.1(d) or 802.1(g) BPDUs */
49
50 #define BPID_SR_BPDU            0x000F  /* Source Routing BPDUs */
51
52 #ifdef __cplusplus
53 }
54 #endif /* __cplusplus */
55
56 #endif /* bridged_pid.h */