aboutsummaryrefslogtreecommitdiffstats
path: root/epan/sminmpec.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-09-30 20:27:47 +0000
committerGuy Harris <guy@alum.mit.edu>2004-09-30 20:27:47 +0000
commit915ebf2ca3138bdc708b4cba05b5676b7081cef9 (patch)
tree78d5568adee4578145230dfd784bf643fc0015bb /epan/sminmpec.h
parent5ffcb6b8a555dce2eb555708aa16f001b0a984b2 (diff)
Move the #defines for SMI Network Management Private Enterprise Codes
for organizations to an <epan/sminmpec.h> header, and add in the ones that were used (without #defines) in the Diameter dissector. Merge the value_string tables for them from the Diameter and Radius dissectors into epan/sminmpec.c and merge them. Use that value_string table in the Diameter and Radius dissectors. Constify some stuff in the Diameter dissector. svn path=/trunk/; revision=12159
Diffstat (limited to 'epan/sminmpec.h')
-rw-r--r--epan/sminmpec.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/epan/sminmpec.h b/epan/sminmpec.h
new file mode 100644
index 0000000000..a7510aa9c0
--- /dev/null
+++ b/epan/sminmpec.h
@@ -0,0 +1,72 @@
+/* sminmpec.h
+ * SMI Network Management Private Enterprise Codes for organizations
+ *
+ * $Id$
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@ethereal.com>
+ * Copyright 2004 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __SMINMPEC_H__
+#define __SMINMPEC_H__
+
+/*
+ * These are SMI Network Management Private Enterprise Codes for
+ * organizations; see
+ *
+ * http://www.iana.org/assignments/enterprise-numbers
+ *
+ * for a list.
+ */
+#define VENDOR_ACC 5
+#define VENDOR_CISCO 9
+#define VENDOR_HEWLETT_PACKARD 11
+#define VENDOR_SUN_MICROSYSTEMS 42
+#define VENDOR_MERIT 61
+#define VENDOR_SHIVA 166
+#define VENDOR_ERICSSON_BUSINESS_COMUNICATIONS 193
+#define VENDOR_CISCO_VPN5000 255
+#define VENDOR_LIVINGSTON 307
+#define VENDOR_MICROSOFT 311
+#define VENDOR_3COM 429
+#define VENDOR_ASCEND 529
+#define VENDOR_BAY 1584
+#define VENDOR_FOUNDRY 1991
+#define VENDOR_VERSANET 2180
+#define VENDOR_REDBACK 2352
+#define VENDOR_JUNIPER 2636
+#define VENDOR_APTIS 2637
+#define VENDOR_CISCO_VPN3000 3076
+#define VENDOR_COSINE 3085
+#define VENDOR_SHASTA 3199
+#define VENDOR_NOMADIX 3309
+#define VENDOR_SIEMENS 4329
+#define VENDOR_UNISPHERE 4874
+#define VENDOR_CISCO_BBSM 5263
+#define VENDOR_THE3GPP2 5535
+#define VENDOR_IP_UNPLUGGED 5925
+#define VENDOR_ISSANNI 5948
+#define VENDOR_QUINTUM 6618
+#define VENDOR_INTERLINK 6728
+#define VENDOR_COLUBRIS 8744
+#define VENDOR_COLUMBIA_UNIVERSITY 11862
+#define VENDOR_THE3GPP 10415
+
+extern const value_string sminmpec_values[];
+
+#endif /* __SMINMPEC_H__ */