1 1.1.1.3 christos /* 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 christos #define OUI_ENCAP_ETHER 0x000000 /* encapsulated Ethernet */ 20 1.1 christos #define OUI_CISCO 0x00000c /* Cisco protocols */ 21 1.1 christos #define OUI_NORTEL 0x000081 /* Nortel SONMP */ 22 1.1 christos #define OUI_CISCO_90 0x0000f8 /* Cisco bridging */ 23 1.1 christos #define OUI_RFC2684 0x0080c2 /* RFC 2427/2684 bridged Ethernet */ 24 1.1 christos #define OUI_ATM_FORUM 0x00A03E /* ATM Forum */ 25 1.1 christos #define OUI_CABLE_BPDU 0x00E02F /* DOCSIS spanning tree BPDU */ 26 1.1 christos #define OUI_APPLETALK 0x080007 /* Appletalk */ 27 1.1 christos #define OUI_JUNIPER 0x009069 /* Juniper */ 28 1.1 christos #define OUI_HP 0x080009 /* Hewlett-Packard */ 29 1.1 christos #define OUI_IEEE_8021_PRIVATE 0x0080c2 /* IEEE 802.1 Organisation Specific - Annex F */ 30 1.1 christos #define OUI_IEEE_8023_PRIVATE 0x00120f /* IEEE 802.3 Organisation Specific - Annex G */ 31 1.1 christos #define OUI_TIA 0x0012bb /* TIA - Telecommunications Industry Association - ANSI/TIA-1057- 2006 */ 32 1.1.1.2 christos #define OUI_DCBX 0x001B21 /* DCBX */ 33 1.1 christos 34 1.1 christos /* 35 1.1 christos * These are SMI Network Management Private Enterprise Codes for 36 1.1 christos * organizations; see 37 1.1 christos * 38 1.1 christos * http://www.iana.org/assignments/enterprise-numbers 39 1.1 christos * 40 1.1 christos * for a list. 41 1.1 christos * 42 1.1 christos * List taken from Ethereal's epan/sminmpec.h. 43 1.1 christos */ 44 1.1 christos #define SMI_IETF 0 /* reserved - used by the IETF in L2TP? */ 45 1.1 christos #define SMI_ACC 5 46 1.1 christos #define SMI_CISCO 9 47 1.1 christos #define SMI_HEWLETT_PACKARD 11 48 1.1 christos #define SMI_SUN_MICROSYSTEMS 42 49 1.1 christos #define SMI_MERIT 61 50 1.1 christos #define SMI_SHIVA 166 51 1.1 christos #define SMI_ERICSSON 193 52 1.1 christos #define SMI_CISCO_VPN5000 255 53 1.1 christos #define SMI_LIVINGSTON 307 54 1.1 christos #define SMI_MICROSOFT 311 55 1.1 christos #define SMI_3COM 429 56 1.1 christos #define SMI_ASCEND 529 57 1.1 christos #define SMI_BAY 1584 58 1.1 christos #define SMI_FOUNDRY 1991 59 1.1 christos #define SMI_VERSANET 2180 60 1.1 christos #define SMI_REDBACK 2352 61 1.1 christos #define SMI_JUNIPER 2636 62 1.1 christos #define SMI_APTIS 2637 63 1.1 christos #define SMI_CISCO_VPN3000 3076 64 1.1 christos #define SMI_COSINE 3085 65 1.1 christos #define SMI_SHASTA 3199 66 1.1 christos #define SMI_NETSCREEN 3224 67 1.1 christos #define SMI_NOMADIX 3309 68 1.1 christos #define SMI_SIEMENS 4329 69 1.1 christos #define SMI_CABLELABS 4491 70 1.1 christos #define SMI_UNISPHERE 4874 71 1.1 christos #define SMI_CISCO_BBSM 5263 72 1.1 christos #define SMI_THE3GPP2 5535 73 1.1 christos #define SMI_IP_UNPLUGGED 5925 74 1.1 christos #define SMI_ISSANNI 5948 75 1.1 christos #define SMI_QUINTUM 6618 76 1.1 christos #define SMI_INTERLINK 6728 77 1.1 christos #define SMI_COLUBRIS 8744 78 1.1 christos #define SMI_COLUMBIA_UNIVERSITY 11862 79 1.1 christos #define SMI_THE3GPP 10415 80 1.1 christos #define SMI_GEMTEK_SYSTEMS 10529 81 1.1 christos #define SMI_WIFI_ALLIANCE 14122 82