1214478Srpaulo/* @(#) $Header: /tcpdump/master/tcpdump/oui.h,v 1.8 2008-01-09 09:40:47 hannes Exp $ (LBL) */
2127668Sbms/*
3127668Sbms * Redistribution and use in source and binary forms, with or without
4127668Sbms * modification, are permitted provided that: (1) source code
5127668Sbms * distributions retain the above copyright notice and this paragraph
6127668Sbms * in its entirety, and (2) distributions including binary code include
7127668Sbms * the above copyright notice and this paragraph in its entirety in
8127668Sbms * the documentation or other materials provided with the distribution.
9127668Sbms * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
10127668Sbms * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
11127668Sbms * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
12127668Sbms * FOR A PARTICULAR PURPOSE.
13127668Sbms *
14127668Sbms * Original code by Hannes Gredler (hannes@juniper.net)
15127668Sbms */
16127668Sbms
17214478Srpauloextern const struct tok oui_values[];
18214478Srpauloextern const struct tok smi_values[];
19127668Sbms
20146773Ssam#define OUI_ENCAP_ETHER 0x000000        /* encapsulated Ethernet */
21146773Ssam#define OUI_CISCO       0x00000c        /* Cisco protocols */
22147899Ssam#define OUI_NORTEL      0x000081        /* Nortel SONMP */
23146773Ssam#define OUI_CISCO_90    0x0000f8        /* Cisco bridging */
24147899Ssam#define OUI_RFC2684     0x0080c2        /* RFC 2427/2684 bridged Ethernet */
25147899Ssam#define OUI_ATM_FORUM   0x00A03E        /* ATM Forum */
26147899Ssam#define OUI_CABLE_BPDU  0x00E02F        /* DOCSIS spanning tree BPDU */
27146773Ssam#define OUI_APPLETALK   0x080007        /* Appletalk */
28146773Ssam#define OUI_JUNIPER     0x009069        /* Juniper */
29147899Ssam#define OUI_HP          0x080009        /* Hewlett-Packard */
30190207Srpaulo#define OUI_IEEE_8021_PRIVATE 0x0080c2      /* IEEE 802.1 Organisation Specific - Annex F */
31190207Srpaulo#define OUI_IEEE_8023_PRIVATE 0x00120f      /* IEEE 802.3 Organisation Specific - Annex G */
32190207Srpaulo#define OUI_TIA         0x0012bb        /* TIA - Telecommunications Industry Association - ANSI/TIA-1057- 2006 */
33235530Sdelphij#define OUI_DCBX        0x001B21        /* DCBX */
34146773Ssam
35147899Ssam/*
36147899Ssam * These are SMI Network Management Private Enterprise Codes for
37147899Ssam * organizations; see
38147899Ssam *
39147899Ssam *	http://www.iana.org/assignments/enterprise-numbers
40147899Ssam *
41147899Ssam * for a list.
42147899Ssam *
43147899Ssam * List taken from Ethereal's epan/sminmpec.h.
44147899Ssam */
45147899Ssam#define SMI_IETF                     0 /* reserved - used by the IETF in L2TP? */
46127668Sbms#define SMI_ACC                      5
47127668Sbms#define SMI_CISCO                    9
48147899Ssam#define SMI_HEWLETT_PACKARD          11
49147899Ssam#define SMI_SUN_MICROSYSTEMS         42
50147899Ssam#define SMI_MERIT                    61
51127668Sbms#define SMI_SHIVA                    166
52147899Ssam#define SMI_ERICSSON                 193
53147899Ssam#define SMI_CISCO_VPN5000            255
54127668Sbms#define SMI_LIVINGSTON               307
55127668Sbms#define SMI_MICROSOFT                311
56127668Sbms#define SMI_3COM                     429
57127668Sbms#define SMI_ASCEND                   529
58127668Sbms#define SMI_BAY                      1584
59127668Sbms#define SMI_FOUNDRY                  1991
60127668Sbms#define SMI_VERSANET                 2180
61127668Sbms#define SMI_REDBACK                  2352
62127668Sbms#define SMI_JUNIPER                  2636
63127668Sbms#define SMI_APTIS                    2637
64147899Ssam#define SMI_CISCO_VPN3000            3076
65127668Sbms#define SMI_COSINE                   3085
66127668Sbms#define SMI_SHASTA                   3199
67147899Ssam#define SMI_NETSCREEN                3224
68127668Sbms#define SMI_NOMADIX                  3309
69147899Ssam#define SMI_SIEMENS                  4329
70147899Ssam#define SMI_CABLELABS                4491
71127668Sbms#define SMI_UNISPHERE                4874
72147899Ssam#define SMI_CISCO_BBSM               5263
73147899Ssam#define SMI_THE3GPP2                 5535
74147899Ssam#define SMI_IP_UNPLUGGED             5925
75127668Sbms#define SMI_ISSANNI                  5948
76127668Sbms#define SMI_QUINTUM                  6618
77147899Ssam#define SMI_INTERLINK                6728
78127668Sbms#define SMI_COLUBRIS                 8744
79127668Sbms#define SMI_COLUMBIA_UNIVERSITY      11862
80127668Sbms#define SMI_THE3GPP                  10415
81147899Ssam#define SMI_GEMTEK_SYSTEMS           10529
82147899Ssam#define SMI_WIFI_ALLIANCE            14122
83