Home | History | Annotate | Line # | Download | only in dist
oui.h revision 1.1.1.1.20.1
      1  1.1.1.1.20.1       snj /*
      2           1.1  christos  * Redistribution and use in source and binary forms, with or without
      3           1.1  christos  * modification, are permitted provided that: (1) source code
      4           1.1  christos  * distributions retain the above copyright notice and this paragraph
      5           1.1  christos  * in its entirety, and (2) distributions including binary code include
      6           1.1  christos  * the above copyright notice and this paragraph in its entirety in
      7           1.1  christos  * the documentation or other materials provided with the distribution.
      8           1.1  christos  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
      9           1.1  christos  * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
     10           1.1  christos  * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
     11           1.1  christos  * FOR A PARTICULAR PURPOSE.
     12           1.1  christos  *
     13           1.1  christos  * Original code by Hannes Gredler (hannes (at) juniper.net)
     14           1.1  christos  */
     15           1.1  christos 
     16           1.1  christos extern const struct tok oui_values[];
     17           1.1  christos extern const struct tok smi_values[];
     18           1.1  christos 
     19  1.1.1.1.20.1       snj #define OUI_ENCAP_ETHER       0x000000  /* encapsulated Ethernet */
     20  1.1.1.1.20.1       snj #define OUI_CISCO             0x00000c  /* Cisco protocols */
     21  1.1.1.1.20.1       snj #define OUI_IANA              0x00005E  /* IANA */
     22  1.1.1.1.20.1       snj #define OUI_NORTEL            0x000081  /* Nortel SONMP */
     23  1.1.1.1.20.1       snj #define OUI_CISCO_90          0x0000f8  /* Cisco bridging */
     24  1.1.1.1.20.1       snj #define OUI_RFC2684           0x0080c2  /* RFC 2427/2684 bridged Ethernet */
     25  1.1.1.1.20.1       snj #define OUI_ATM_FORUM         0x00A03E  /* ATM Forum */
     26  1.1.1.1.20.1       snj #define OUI_CABLE_BPDU        0x00E02F  /* DOCSIS spanning tree BPDU */
     27  1.1.1.1.20.1       snj #define OUI_APPLETALK         0x080007  /* Appletalk */
     28  1.1.1.1.20.1       snj #define OUI_JUNIPER           0x009069  /* Juniper */
     29  1.1.1.1.20.1       snj #define OUI_HP                0x080009  /* Hewlett-Packard */
     30  1.1.1.1.20.1       snj #define OUI_IEEE_8021_PRIVATE 0x0080c2  /* IEEE 802.1 Organisation Specific - Annex F */
     31  1.1.1.1.20.1       snj #define OUI_IEEE_8023_PRIVATE 0x00120f  /* IEEE 802.3 Organisation Specific - Annex G */
     32  1.1.1.1.20.1       snj #define OUI_TIA               0x0012bb  /* TIA - Telecommunications Industry Association - ANSI/TIA-1057- 2006 */
     33  1.1.1.1.20.1       snj #define OUI_DCBX              0x001B21  /* DCBX */
     34  1.1.1.1.20.1       snj #define OUI_NICIRA            0x002320  /* Nicira Networks */
     35  1.1.1.1.20.1       snj #define OUI_BSN               0x5c16c7  /* Big Switch Networks */
     36  1.1.1.1.20.1       snj #define OUI_VELLO             0xb0d2f5  /* Vello Systems */
     37  1.1.1.1.20.1       snj #define OUI_HP2               0x002481  /* HP too */
     38  1.1.1.1.20.1       snj #define OUI_HPLABS            0x0004ea  /* HP-Labs */
     39  1.1.1.1.20.1       snj #define OUI_INFOBLOX          0x748771  /* Infoblox Inc */
     40  1.1.1.1.20.1       snj #define OUI_ONLAB             0xa42305  /* Open Networking Lab */
     41  1.1.1.1.20.1       snj #define OUI_FREESCALE         0x00049f  /* Freescale */
     42  1.1.1.1.20.1       snj #define OUI_NETRONOME         0x0015ad  /* Netronome */
     43           1.1  christos 
     44           1.1  christos /*
     45           1.1  christos  * These are SMI Network Management Private Enterprise Codes for
     46           1.1  christos  * organizations; see
     47           1.1  christos  *
     48           1.1  christos  *	http://www.iana.org/assignments/enterprise-numbers
     49           1.1  christos  *
     50           1.1  christos  * for a list.
     51           1.1  christos  *
     52           1.1  christos  * List taken from Ethereal's epan/sminmpec.h.
     53           1.1  christos  */
     54           1.1  christos #define SMI_IETF                     0 /* reserved - used by the IETF in L2TP? */
     55           1.1  christos #define SMI_ACC                      5
     56           1.1  christos #define SMI_CISCO                    9
     57           1.1  christos #define SMI_HEWLETT_PACKARD          11
     58           1.1  christos #define SMI_SUN_MICROSYSTEMS         42
     59           1.1  christos #define SMI_MERIT                    61
     60           1.1  christos #define SMI_SHIVA                    166
     61           1.1  christos #define SMI_ERICSSON                 193
     62           1.1  christos #define SMI_CISCO_VPN5000            255
     63           1.1  christos #define SMI_LIVINGSTON               307
     64           1.1  christos #define SMI_MICROSOFT                311
     65           1.1  christos #define SMI_3COM                     429
     66           1.1  christos #define SMI_ASCEND                   529
     67           1.1  christos #define SMI_BAY                      1584
     68           1.1  christos #define SMI_FOUNDRY                  1991
     69           1.1  christos #define SMI_VERSANET                 2180
     70           1.1  christos #define SMI_REDBACK                  2352
     71           1.1  christos #define SMI_JUNIPER                  2636
     72           1.1  christos #define SMI_APTIS                    2637
     73           1.1  christos #define SMI_CISCO_VPN3000            3076
     74           1.1  christos #define SMI_COSINE                   3085
     75           1.1  christos #define SMI_SHASTA                   3199
     76           1.1  christos #define SMI_NETSCREEN                3224
     77           1.1  christos #define SMI_NOMADIX                  3309
     78           1.1  christos #define SMI_SIEMENS                  4329
     79           1.1  christos #define SMI_CABLELABS                4491
     80           1.1  christos #define SMI_UNISPHERE                4874
     81           1.1  christos #define SMI_CISCO_BBSM               5263
     82           1.1  christos #define SMI_THE3GPP2                 5535
     83           1.1  christos #define SMI_IP_UNPLUGGED             5925
     84           1.1  christos #define SMI_ISSANNI                  5948
     85           1.1  christos #define SMI_QUINTUM                  6618
     86           1.1  christos #define SMI_INTERLINK                6728
     87           1.1  christos #define SMI_COLUBRIS                 8744
     88           1.1  christos #define SMI_COLUMBIA_UNIVERSITY      11862
     89           1.1  christos #define SMI_THE3GPP                  10415
     90           1.1  christos #define SMI_GEMTEK_SYSTEMS           10529
     91           1.1  christos #define SMI_WIFI_ALLIANCE            14122
     92