TCP: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
[metze/wireshark/wip.git] / epan / oui.c
1 /* oui.c
2  * Routines and tables for processing OUIs
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 - 2000 Gerald Combs
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21  */
22
23 #include "config.h"
24
25 #include <epan/value_string.h>
26 #include <epan/oui.h>
27
28 /*
29  * See
30  *
31  * http://standards.ieee.org/regauth/oui/oui.txt
32  *
33  * http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/vlan.htm
34  *
35  * for the PIDs for VTP and DRiP that go with an OUI of OUI_CISCO.
36  */
37 const value_string oui_vals[] = {
38     { OUI_ENCAP_ETHER,      "Encapsulated Ethernet" },
39     { OUI_XEROX,            "Xerox" },
40 /*
41 http://www.cisco.com/univercd/cc/td/doc/product/software/ios113ed/113ed_cr/ibm_r/brprt1/brsrb.htm
42 */
43     { OUI_CISCO,            "Cisco" },
44     { OUI_NORTEL,           "Nortel Discovery Protocol" },
45     { OUI_CISCO_90,         "Cisco IOS 9.0 Compatible" },
46     { OUI_FORCE10,          "Force10 Networks" },
47     { OUI_ERICSSON,         "Ericsson Group" },
48     { OUI_CATENA,           "Catena Networks" },
49     { OUI_SONY_ERICSSON,    "Sony Ericsson Mobile Communications AB" },
50     { OUI_SONY_ERICSSON_2,  "Sony Ericsson Mobile Communications AB" },
51     /* PROFINET */
52     { OUI_PROFINET,         "PROFIBUS Nutzerorganisation e.V." },
53     { OUI_SONY_ERICSSON_3,  "Sony Ericsson Mobile Communications AB" },
54     { OUI_CIMETRICS,        "Cimetrics" },
55     { OUI_IEEE_802_3,       "IEEE 802.3" },
56     { OUI_MEDIA_ENDPOINT,   "Media (TIA TR-41 Committee)" },
57     { OUI_SONY_ERICSSON_4,  "Sony Ericsson Mobile Communications AB" },
58     { OUI_ERICSSON_MOBILE,  "Ericsson Mobile Platforms" },
59     { OUI_SONY_ERICSSON_5,  "Sony Ericsson Mobile Communications AB" },
60     { OUI_SONY_ERICSSON_6,  "Sony Ericsson Mobile Communications AB" },
61     { OUI_SONY_ERICSSON_7,  "Sony Ericsson Mobile Communications AB" },
62     { OUI_BLUETOOTH,        "Bluetooth SIG, Inc." },
63     { OUI_SONY_ERICSSON_8,  "Sony Ericsson Mobile Communications AB" },
64     { OUI_IEEE_802_1QBG,    "IEEE 802.1Qbg" },
65     { OUI_TURBOCELL,        "Karlnet (Turbocell)" },
66     { OUI_CISCOWL,          "Cisco Wireless (Aironet) L2" },
67     { OUI_CISCO_UBI,        "Cisco (Ubiquisys)"},
68     { OUI_MARVELL,          "Marvell Semiconductor" },
69     /* Used for RFC 2427 bridged Frame Relay and RFC 2684 bridged ATM */
70     { OUI_IEEE_802_1,       "IEEE 802.1" },
71     { OUI_ATM_FORUM,        "ATM Forum" },
72     { OUI_EXTREME,          "Extreme Networks" },
73     /* RFC 2427, RFC 2684 */
74     { OUI_CABLE_BPDU,       "DOCSIS Spanning Tree" }, /* DOCSIS spanning tree BPDU */
75     { OUI_SIEMENS,          "Siemens AG" },
76     { OUI_APPLE_ATALK,      "Apple (AppleTalk)" },
77     /* Currently, the manuf file calls this "Procurve", as it's assigned to HP! */
78     { OUI_HP,               "Hewlett-Packard" },
79     { OUI_HP_2,             "Hewlett-Packard" },
80     { OUI_HYTEC_GER,        "Hytec Geraetebau GmbH" },
81     { OUI_WFA,              "Wi-Fi Alliance" },
82     /* Registry Name: PPP Vendor Specific OUI Options */
83     { OUI_3GPP2,            "3GPP2 Vendor specific packet ID" },
84     { OUI_ERICSSON_2,       "Ericsson Group" },
85     { OUI_DCBX,             "Data Center Bridging Capabilities Exchange" },
86     { 0,                    NULL }
87 };
88
89 /*
90  * Editor modelines
91  *
92  * Local Variables:
93  * c-basic-offset: 4
94  * tab-width: 8
95  * indent-tabs-mode: nil
96  * End:
97  *
98  * ex: set shiftwidth=4 tabstop=8 expandtab:
99  * :indentSize=4:tabSize=8:noTabs=true:
100  */