aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/unistim/basic.h
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2007-08-20 20:50:29 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2007-08-20 20:50:29 +0000
commitb65cc92385ee1d75a39e5fe31c5f97a221d46e91 (patch)
tree11a324fba0744daacccad982f7ac4c7afe2aa86e /plugins/unistim/basic.h
parent331d267b5075a5cda2b901145d06cd53b01744fa (diff)
Add the UNISTIM plugin to Wireshark.
svn path=/trunk/; revision=22558
Diffstat (limited to 'plugins/unistim/basic.h')
-rw-r--r--plugins/unistim/basic.h84
1 files changed, 84 insertions, 0 deletions
diff --git a/plugins/unistim/basic.h b/plugins/unistim/basic.h
new file mode 100644
index 0000000000..4288280b2d
--- /dev/null
+++ b/plugins/unistim/basic.h
@@ -0,0 +1,84 @@
+/* basic.h
+ * header field declarations, value_string def and true_false_string
+ * definitions for basic manager messages
+ * Copyright 2007 Don Newton <dnewton@cypresscom.net>
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 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 UNISTIM_BASIC_H
+#define UNISTIM_BASIC_H
+
+static int hf_basic_switch_query_flags=-1;
+static int hf_basic_switch_query_attr=-1;
+static int hf_basic_switch_query_opts=-1;
+static int hf_basic_switch_query_fw=-1;
+static int hf_basic_switch_query_hw_id=-1;
+static int hf_basic_switch_query_it_type=-1;
+static int hf_basic_switch_query_prod_eng_code=-1;
+static int hf_basic_switch_query_gray_mkt_info=-1;
+static int hf_basic_switch_options_secure=-1;
+static int hf_basic_switch_element_id=-1;
+static int hf_basic_switch_eeprom_data=-1;
+static int hf_basic_switch_terminal_id=-1;
+
+static int hf_basic_phone_eeprom_stat_cksum=-1;
+static int hf_basic_phone_eeprom_dynam=-1;
+static int hf_basic_phone_eeprom_net_config_cksum=-1;
+static int hf_basic_phone_hw_id=-1;
+static int hf_basic_phone_fw_ver=-1;
+static int hf_basic_it_type=-1;
+static int hf_basic_prod_eng_code=-1;
+static int hf_basic_ether_address=-1;
+
+static const value_string it_types[]={
+ {0x02,"i2004"},
+ {0x03,"i2002 Basic Etherset"},
+ {0x10,"Juniper 7308"},
+ {0x11,"i2050 Softphone"},
+ {0x30,"Meridian M6350"},
+ {0,NULL}
+};
+static const value_string basic_switch_msgs[]={
+ {0x01,"Query Basic Manager"},
+ {0x02,"Basic Manager Options"},
+ {0x06,"EEprom Write"},
+ {0x07,"Assign Terminal ID"},
+ {0x08,"Encapsulate Command"},
+ {0xff,"Reserved"},
+ {0,NULL}
+};
+static const value_string basic_phone_msgs[]={
+ {0x00,"Basic Manager Attributes Info"},
+ {0x01,"Basic Manager Options Report"},
+ {0x02,"Firmware Version"},
+ {0x03,"IT Type"},
+ {0x07,"Hardware ID"},
+ {0x08,"Product Engineering Code"},
+ {0x09,"Grey Market Info"},
+ {0x0a,"Encapsulate Command"},
+ {0x11,"Phone Ethernet Address"},
+ {0x0b,"Startup reason"},
+ {0xff,"Reserved"},
+ {0,NULL}
+};
+
+#endif