1/* @(#) $Header: /tcpdump/master/tcpdump/oui.h,v 1.3.2.1 2005/04/17 01:20:56 guy Exp $ (LBL) */
2/*
3 * Redistribution and use in source and binary forms, with or without
4 * modification, are permitted provided that: (1) source code
5 * distributions retain the above copyright notice and this paragraph
6 * in its entirety, and (2) distributions including binary code include
7 * the above copyright notice and this paragraph in its entirety in
8 * the documentation or other materials provided with the distribution.
9 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
10 * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
11 * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
12 * FOR A PARTICULAR PURPOSE.
13 *
14 * Original code by Hannes Gredler (hannes@juniper.net)
15 */
16
17extern struct tok oui_values[];
18extern struct tok smi_values[];
19
20#define OUI_ENCAP_ETHER 0x000000 /* encapsulated Ethernet */
21#define OUI_CISCO 0x00000c /* Cisco protocols */
22#define OUI_NORTEL 0x000081 /* Nortel SONMP */
23#define OUI_CISCO_90 0x0000f8 /* Cisco bridging */
24#define OUI_RFC2684 0x0080c2 /* RFC 2427/2684 bridged Ethernet */
25#define OUI_ATM_FORUM 0x00A03E /* ATM Forum */
26#define OUI_CABLE_BPDU 0x00E02F /* DOCSIS spanning tree BPDU */
27#define OUI_APPLETALK 0x080007 /* Appletalk */
28#define OUI_JUNIPER 0x009069 /* Juniper */
29#define OUI_HP 0x080009 /* Hewlett-Packard */
30
31/*
32 * These are SMI Network Management Private Enterprise Codes for
33 * organizations; see
34 *
35 * http://www.iana.org/assignments/enterprise-numbers
36 *
37 * for a list.
38 *
39 * List taken from Ethereal's epan/sminmpec.h.
40 */
41#define SMI_IETF 0 /* reserved - used by the IETF in L2TP? */
42#define SMI_ACC 5
43#define SMI_CISCO 9
44#define SMI_HEWLETT_PACKARD 11
45#define SMI_SUN_MICROSYSTEMS 42
46#define SMI_MERIT 61
47#define SMI_SHIVA 166
48#define SMI_ERICSSON 193
49#define SMI_CISCO_VPN5000 255
50#define SMI_LIVINGSTON 307
51#define SMI_MICROSOFT 311
52#define SMI_3COM 429
53#define SMI_ASCEND 529
54#define SMI_BAY 1584
55#define SMI_FOUNDRY 1991
56#define SMI_VERSANET 2180
57#define SMI_REDBACK 2352
58#define SMI_JUNIPER 2636
59#define SMI_APTIS 2637
60#define SMI_CISCO_VPN3000 3076
61#define SMI_COSINE 3085
62#define SMI_SHASTA 3199
63#define SMI_NETSCREEN 3224
64#define SMI_NOMADIX 3309
65#define SMI_SIEMENS 4329
66#define SMI_CABLELABS 4491
67#define SMI_UNISPHERE 4874
68#define SMI_CISCO_BBSM 5263
69#define SMI_THE3GPP2 5535
70#define SMI_IP_UNPLUGGED 5925
71#define SMI_ISSANNI 5948
72#define SMI_QUINTUM 6618
73#define SMI_INTERLINK 6728
74#define SMI_COLUBRIS 8744
75#define SMI_COLUMBIA_UNIVERSITY 11862
76#define SMI_THE3GPP 10415
77#define SMI_GEMTEK_SYSTEMS 10529
78#define SMI_WIFI_ALLIANCE 14122
2/*
3 * Redistribution and use in source and binary forms, with or without
4 * modification, are permitted provided that: (1) source code
5 * distributions retain the above copyright notice and this paragraph
6 * in its entirety, and (2) distributions including binary code include
7 * the above copyright notice and this paragraph in its entirety in
8 * the documentation or other materials provided with the distribution.
9 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
10 * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
11 * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
12 * FOR A PARTICULAR PURPOSE.
13 *
14 * Original code by Hannes Gredler (hannes@juniper.net)
15 */
16
17extern struct tok oui_values[];
18extern struct tok smi_values[];
19
20#define OUI_ENCAP_ETHER 0x000000 /* encapsulated Ethernet */
21#define OUI_CISCO 0x00000c /* Cisco protocols */
22#define OUI_NORTEL 0x000081 /* Nortel SONMP */
23#define OUI_CISCO_90 0x0000f8 /* Cisco bridging */
24#define OUI_RFC2684 0x0080c2 /* RFC 2427/2684 bridged Ethernet */
25#define OUI_ATM_FORUM 0x00A03E /* ATM Forum */
26#define OUI_CABLE_BPDU 0x00E02F /* DOCSIS spanning tree BPDU */
27#define OUI_APPLETALK 0x080007 /* Appletalk */
28#define OUI_JUNIPER 0x009069 /* Juniper */
29#define OUI_HP 0x080009 /* Hewlett-Packard */
30
31/*
32 * These are SMI Network Management Private Enterprise Codes for
33 * organizations; see
34 *
35 * http://www.iana.org/assignments/enterprise-numbers
36 *
37 * for a list.
38 *
39 * List taken from Ethereal's epan/sminmpec.h.
40 */
41#define SMI_IETF 0 /* reserved - used by the IETF in L2TP? */
42#define SMI_ACC 5
43#define SMI_CISCO 9
44#define SMI_HEWLETT_PACKARD 11
45#define SMI_SUN_MICROSYSTEMS 42
46#define SMI_MERIT 61
47#define SMI_SHIVA 166
48#define SMI_ERICSSON 193
49#define SMI_CISCO_VPN5000 255
50#define SMI_LIVINGSTON 307
51#define SMI_MICROSOFT 311
52#define SMI_3COM 429
53#define SMI_ASCEND 529
54#define SMI_BAY 1584
55#define SMI_FOUNDRY 1991
56#define SMI_VERSANET 2180
57#define SMI_REDBACK 2352
58#define SMI_JUNIPER 2636
59#define SMI_APTIS 2637
60#define SMI_CISCO_VPN3000 3076
61#define SMI_COSINE 3085
62#define SMI_SHASTA 3199
63#define SMI_NETSCREEN 3224
64#define SMI_NOMADIX 3309
65#define SMI_SIEMENS 4329
66#define SMI_CABLELABS 4491
67#define SMI_UNISPHERE 4874
68#define SMI_CISCO_BBSM 5263
69#define SMI_THE3GPP2 5535
70#define SMI_IP_UNPLUGGED 5925
71#define SMI_ISSANNI 5948
72#define SMI_QUINTUM 6618
73#define SMI_INTERLINK 6728
74#define SMI_COLUBRIS 8744
75#define SMI_COLUMBIA_UNIVERSITY 11862
76#define SMI_THE3GPP 10415
77#define SMI_GEMTEK_SYSTEMS 10529
78#define SMI_WIFI_ALLIANCE 14122