From: guy Date: Sat, 9 Apr 2005 21:43:49 +0000 (+0000) Subject: Pull in some more SMI Network Management Private Enterprise Codes from X-Git-Tag: tcpdump-4.0.0~528 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/26fe2172c43465613043e8d7d53e8c54957f9cde Pull in some more SMI Network Management Private Enterprise Codes from Ethereal. --- diff --git a/oui.c b/oui.c index 9f174886..05e407c5 100644 --- a/oui.c +++ b/oui.c @@ -15,7 +15,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/oui.c,v 1.4 2005-04-06 20:13:13 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/oui.c,v 1.5 2005-04-09 21:43:49 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -37,14 +37,28 @@ struct tok oui_values[] = { { OUI_JUNIPER, "Juniper"}, }; -/* list taken from ethereal/packet-radius.c */ - +/* + * SMI Network Management Private Enterprise Codes for organizations. + * + * XXX - these also appear in FreeRadius dictionary files, with items such + * as + * + * VENDOR Cisco 9 + * + * List taken from Ethereal's epan/sminmpec.c. + */ struct tok smi_values[] = { + { SMI_IETF, "IETF (reserved)"}, { SMI_ACC, "ACC"}, { SMI_CISCO, "Cisco"}, + { SMI_HEWLETT_PACKARD, "Hewlett Packard"}, + { SMI_SUN_MICROSYSTEMS, "Sun Microsystems"}, + { SMI_MERIT, "Merit"}, { SMI_SHIVA, "Shiva"}, - { SMI_MICROSOFT, "Microsoft"}, + { SMI_ERICSSON, "Ericsson AB"}, + { SMI_CISCO_VPN5000, "Cisco VPN 5000"}, { SMI_LIVINGSTON, "Livingston"}, + { SMI_MICROSOFT, "Microsoft"}, { SMI_3COM, "3Com"}, { SMI_ASCEND, "Ascend"}, { SMI_BAY, "Bay Networks"}, @@ -53,14 +67,24 @@ struct tok smi_values[] = { { SMI_REDBACK, "Redback"}, { SMI_JUNIPER, "Juniper Networks"}, { SMI_APTIS, "Aptis"}, + { SMI_CISCO_VPN3000, "Cisco VPN 3000"}, { SMI_COSINE, "CoSine Communications"}, + { SMI_NETSCREEN, "Netscreen"}, { SMI_SHASTA, "Shasta"}, { SMI_NOMADIX, "Nomadix"}, + { SMI_SIEMENS, "Siemens"}, + { SMI_CABLELABS, "CableLabs"}, { SMI_UNISPHERE, "Unisphere Networks"}, + { SMI_CISCO_BBSM, "Cisco BBSM"}, + { SMI_THE3GPP2, "3rd Generation Partnership Project 2 (3GPP2)"}, + { SMI_IP_UNPLUGGED, "ipUnplugged"}, { SMI_ISSANNI, "Issanni Communications"}, { SMI_QUINTUM, "Quintum"}, + { SMI_INTERLINK, "Interlink"}, { SMI_COLUBRIS, "Colubris"}, { SMI_COLUMBIA_UNIVERSITY, "Columbia University"}, { SMI_THE3GPP, "3GPP"}, - { 0, NULL } + { SMI_GEMTEK_SYSTEMS, "Gemtek-Systems"}, + { SMI_WIFI_ALLIANCE, "Wi-Fi Alliance"}, + { 0, NULL} }; diff --git a/oui.h b/oui.h index 9150daf8..d6057d5f 100644 --- a/oui.h +++ b/oui.h @@ -1,4 +1,4 @@ -/* @(#) $Header: /tcpdump/master/tcpdump/oui.h,v 1.3 2005-04-06 20:13:13 hannes Exp $ (LBL) */ +/* @(#) $Header: /tcpdump/master/tcpdump/oui.h,v 1.4 2005-04-09 21:43:49 guy Exp $ (LBL) */ /* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that: (1) source code @@ -24,9 +24,25 @@ extern struct tok smi_values[]; #define OUI_APPLETALK 0x080007 /* Appletalk */ #define OUI_JUNIPER 0x009069 /* Juniper */ +/* + * These are SMI Network Management Private Enterprise Codes for + * organizations; see + * + * http://www.iana.org/assignments/enterprise-numbers + * + * for a list. + * + * List taken from Ethereal's epan/sminmpec.h. + */ +#define SMI_IETF 0 /* reserved - used by the IETF in L2TP? */ #define SMI_ACC 5 #define SMI_CISCO 9 +#define SMI_HEWLETT_PACKARD 11 +#define SMI_SUN_MICROSYSTEMS 42 +#define SMI_MERIT 61 #define SMI_SHIVA 166 +#define SMI_ERICSSON 193 +#define SMI_CISCO_VPN5000 255 #define SMI_LIVINGSTON 307 #define SMI_MICROSOFT 311 #define SMI_3COM 429 @@ -37,12 +53,22 @@ extern struct tok smi_values[]; #define SMI_REDBACK 2352 #define SMI_JUNIPER 2636 #define SMI_APTIS 2637 +#define SMI_CISCO_VPN3000 3076 #define SMI_COSINE 3085 #define SMI_SHASTA 3199 +#define SMI_NETSCREEN 3224 #define SMI_NOMADIX 3309 +#define SMI_SIEMENS 4329 +#define SMI_CABLELABS 4491 #define SMI_UNISPHERE 4874 +#define SMI_CISCO_BBSM 5263 +#define SMI_THE3GPP2 5535 +#define SMI_IP_UNPLUGGED 5925 #define SMI_ISSANNI 5948 #define SMI_QUINTUM 6618 +#define SMI_INTERLINK 6728 #define SMI_COLUBRIS 8744 #define SMI_COLUMBIA_UNIVERSITY 11862 #define SMI_THE3GPP 10415 +#define SMI_GEMTEK_SYSTEMS 10529 +#define SMI_WIFI_ALLIANCE 14122