• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
44 /*
45  * These are SMI Network Management Private Enterprise Codes for
46  * organizations; see
47  *
48  *	http://www.iana.org/assignments/enterprise-numbers
49  *
50  * for a list.
51  *
52  * List taken from Ethereal's epan/sminmpec.h.
53  */
54 #define SMI_IETF                     0 /* reserved - used by the IETF in L2TP? */
55 #define SMI_ACC                      5
56 #define SMI_CISCO                    9
57 #define SMI_HEWLETT_PACKARD          11
58 #define SMI_SUN_MICROSYSTEMS         42
59 #define SMI_MERIT                    61
60 #define SMI_SHIVA                    166
61 #define SMI_ERICSSON                 193
62 #define SMI_CISCO_VPN5000            255
63 #define SMI_LIVINGSTON               307
64 #define SMI_MICROSOFT                311
65 #define SMI_3COM                     429
66 #define SMI_ASCEND                   529
67 #define SMI_BAY                      1584
68 #define SMI_FOUNDRY                  1991
69 #define SMI_VERSANET                 2180
70 #define SMI_REDBACK                  2352
71 #define SMI_JUNIPER                  2636
72 #define SMI_APTIS                    2637
73 #define SMI_CISCO_VPN3000            3076
74 #define SMI_COSINE                   3085
75 #define SMI_SHASTA                   3199
76 #define SMI_NETSCREEN                3224
77 #define SMI_NOMADIX                  3309
78 #define SMI_SIEMENS                  4329
79 #define SMI_CABLELABS                4491
80 #define SMI_UNISPHERE                4874
81 #define SMI_CISCO_BBSM               5263
82 #define SMI_THE3GPP2                 5535
83 #define SMI_IP_UNPLUGGED             5925
84 #define SMI_ISSANNI                  5948
85 #define SMI_QUINTUM                  6618
86 #define SMI_INTERLINK                6728
87 #define SMI_COLUBRIS                 8744
88 #define SMI_COLUMBIA_UNIVERSITY      11862
89 #define SMI_THE3GPP                  10415
90 #define SMI_GEMTEK_SYSTEMS           10529
91 #define SMI_WIFI_ALLIANCE            14122
92