xref: /freebsd/contrib/tcpdump/oui.h (revision ae477ca7da55f76d28859e1bd01cd1051e36f28f)
1 /*
2  * Redistribution and use in source and binary forms, with or without
3  * modification, are permitted provided that: (1) source code
4  * distributions retain the above copyright notice and this paragraph
5  * in its entirety, and (2) distributions including binary code include
6  * the above copyright notice and this paragraph in its entirety in
7  * the documentation or other materials provided with the distribution.
8  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
9  * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
10  * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
11  * FOR A PARTICULAR PURPOSE.
12  *
13  * Original code by Hannes Gredler (hannes@gredler.at)
14  */
15 
16 extern const struct tok oui_values[];
17 extern const struct tok smi_values[];
18 
19 #define OUI_ENCAP_ETHER       0x000000  /* encapsulated Ethernet */
20 #define OUI_CISCO             0x00000c  /* Cisco protocols */
21 #define OUI_IANA              0x00005E  /* IANA */
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 #define OUI_IEEE_8021_PRIVATE 0x0080c2  /* IEEE 802.1 Organisation Specific - Annex F */
31 #define OUI_IEEE_8023_PRIVATE 0x00120f  /* IEEE 802.3 Organisation Specific - Annex G */
32 #define OUI_TIA               0x0012bb  /* TIA - Telecommunications Industry Association - ANSI/TIA-1057- 2006 */
33 #define OUI_DCBX              0x001B21  /* DCBX */
34 #define OUI_NICIRA            0x002320  /* Nicira Networks */
35 #define OUI_BSN               0x5c16c7  /* Big Switch Networks */
36 #define OUI_VELLO             0xb0d2f5  /* Vello Systems */
37 #define OUI_HP2               0x002481  /* HP too */
38 #define OUI_HPLABS            0x0004ea  /* HP-Labs */
39 #define OUI_INFOBLOX          0x748771  /* Infoblox Inc */
40 #define OUI_ONLAB             0xa42305  /* Open Networking Lab */
41 #define OUI_FREESCALE         0x00049f  /* Freescale */
42 #define OUI_NETRONOME         0x0015ad  /* Netronome */
43 #define OUI_BROADCOM          0x001018  /* Broadcom */
44 #define OUI_PMC_SIERRA        0x00e004  /* PMC-Sierra */
45 #define OUI_ERICSSON          0xd0f0db  /* Ericsson */
46 
47 /*
48  * These are SMI Network Management Private Enterprise Codes for
49  * organizations; see
50  *
51  *	https://www.iana.org/assignments/enterprise-numbers
52  *
53  * for a list.
54  *
55  * List taken from Ethereal's epan/sminmpec.h.
56  */
57 #define SMI_IETF                     0 /* reserved - used by the IETF in L2TP? */
58 #define SMI_ACC                      5
59 #define SMI_CISCO                    9
60 #define SMI_HEWLETT_PACKARD          11
61 #define SMI_SUN_MICROSYSTEMS         42
62 #define SMI_MERIT                    61
63 #define SMI_AT_AND_T                 74
64 #define SMI_MOTOROLA                 161
65 #define SMI_SHIVA                    166
66 #define SMI_ERICSSON                 193
67 #define SMI_CISCO_VPN5000            255
68 #define SMI_LIVINGSTON               307
69 #define SMI_MICROSOFT                311
70 #define SMI_3COM                     429
71 #define SMI_ASCEND                   529
72 #define SMI_BAY                      1584
73 #define SMI_FOUNDRY                  1991
74 #define SMI_VERSANET                 2180
75 #define SMI_REDBACK                  2352
76 #define SMI_JUNIPER                  2636
77 #define SMI_APTIS                    2637
78 #define SMI_DT_AG                    2937
79 #define SMI_IXIA                     3054
80 #define SMI_CISCO_VPN3000            3076
81 #define SMI_COSINE                   3085
82 #define SMI_SHASTA                   3199
83 #define SMI_NETSCREEN                3224
84 #define SMI_NOMADIX                  3309
85 #define SMI_T_MOBILE                 3414
86 #define SMI_BROADBAND_FORUM          3561
87 #define SMI_ZTE                      3902
88 #define SMI_SIEMENS                  4329
89 #define SMI_CABLELABS                4491
90 #define SMI_UNISPHERE                4874
91 #define SMI_CISCO_BBSM               5263
92 #define SMI_THE3GPP2                 5535
93 #define SMI_SKT_TELECOM              5806
94 #define SMI_IP_UNPLUGGED             5925
95 #define SMI_ISSANNI                  5948
96 #define SMI_NETSCALER                5951
97 #define SMI_DE_TE_MOBIL              6490
98 #define SMI_QUINTUM                  6618
99 #define SMI_INTERLINK                6728
100 #define SMI_CNCTC                    7951
101 #define SMI_STARENT_NETWORKS         8164
102 #define SMI_COLUBRIS                 8744
103 #define SMI_THE3GPP                  10415
104 #define SMI_GEMTEK_SYSTEMS           10529
105 #define SMI_BARRACUDA                10704
106 #define SMI_ERICSSON_PKT_CORE        10923
107 #define SMI_DACOM                    11665
108 #define SMI_COLUMBIA_UNIVERSITY      11862
109 #define SMI_FORTINET                 12356
110 #define SMI_VERIZON                  12951
111 #define SMI_PLIXER                   13745
112 #define SMI_WIFI_ALLIANCE            14122
113 #define SMI_T_SYSTEMS_NOVA           16787
114 #define SMI_CHINATELECOM_GUANZHOU    20942
115 #define SMI_GIGAMON                  26866
116 #define SMI_CACE                     32622
117 /* Greater than 32,767 need to be tagged unsigned. */
118 #define SMI_NTOP                     35632u
119 #define SMI_ERICSSON_CANADA_INC      46098u
120