4a1c8751aece4aaeac32a4e10bf2f02ed391047e
[obnox/wireshark/wip.git] / 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  * $Id$
6  *
7  * Ethereal - Network traffic analyzer
8  * By Gerald Combs <gerald@zing.org>
9  * Copyright 1998 - 2000 Gerald Combs
10  *
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25  */
26
27 #ifndef __BRIDGED_PID_H__
28 #define __BRIDGED_PID_H__
29
30 #define BPID_ETH_WITH_FCS       0x0001  /* 802.3/Ethernet with preserved FCS */
31 #define BPID_ETH_WITHOUT_FCS    0x0007  /* 802.3/Ethernet without preserved FCS */
32
33 #define BPID_802_4_WITH_FCS     0x0002  /* 802.4 with preserved FCS */
34 #define BPID_802_4_WITHOUT_FCS  0x0008  /* 802.4 without preserved FCS */
35
36 #define BPID_802_5_WITH_FCS     0x0003  /* 802.5 with preserved FCS */
37 #define BPID_802_5_WITHOUT_FCS  0x0009  /* 802.5 without preserved FCS */
38
39 #define BPID_FDDI_WITH_FCS      0x0004  /* FDDI with preserved FCS */
40 #define BPID_FDDI_WITHOUT_FCS   0x000A  /* FDDI without preserved FCS */
41
42 #define BPID_802_6_WITH_FCS     0x0005  /* 802.6 with preserved FCS */
43 #define BPID_802_6_WITHOUT_FCS  0x000B  /* 802.6 without preserved FCS */
44
45 #define BPID_FRAGMENTS          0x000D
46
47 #define BPID_BPDU               0x000E  /* 802.1(d) or 802.1(g) BPDUs */
48
49 #define BPID_SR_BPDU            0x000F  /* Source Routing BPDUs */
50
51 #endif