2 * header field declarations, value_string def and true_false_string
3 * definitions for basic manager messages
4 * Copyright 2007 Don Newton <dnewton@cypresscom.net>
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #ifndef UNISTIM_BASIC_H
14 #define UNISTIM_BASIC_H
16 static int hf_basic_switch_query_flags
;
17 static int hf_basic_switch_query_attr
;
18 static int hf_basic_switch_query_opts
;
19 static int hf_basic_switch_query_fw
;
20 static int hf_basic_switch_query_hw_id
;
21 static int hf_basic_switch_query_it_type
;
22 static int hf_basic_switch_query_prod_eng_code
;
23 static int hf_basic_switch_query_gray_mkt_info
;
24 static int hf_basic_switch_options_secure
;
25 static int hf_basic_switch_element_id
;
26 static int hf_basic_switch_eeprom_data
;
27 static int hf_basic_switch_terminal_id
;
29 static int hf_basic_phone_eeprom_stat_cksum
;
30 static int hf_basic_phone_eeprom_dynam
;
31 static int hf_basic_phone_eeprom_net_config_cksum
;
32 static int hf_basic_phone_hw_id
;
33 static int hf_basic_phone_fw_ver
;
34 static int hf_basic_it_type
;
35 static int hf_basic_prod_eng_code
;
36 static int hf_basic_ether_address
;
38 static const value_string it_types
[]={
40 {0x03,"i2002 Basic Etherset"},
41 {0x04,"Nortel Conference phone 2033 (polycom)"},
42 {0x10,"Juniper 7308"},
43 {0x11,"i2050 Softphone"},
44 {0x30,"Meridian M6350"},
47 static const value_string basic_switch_msgs
[]={
48 {0x01,"Query Basic Manager"},
49 {0x02,"Basic Manager Options"},
50 {0x06,"EEprom Write"},
51 {0x07,"Assign Terminal ID"},
52 {0x08,"Encapsulate Command"},
56 static const value_string basic_phone_msgs
[]={
57 {0x00,"Basic Manager Attributes Info"},
58 {0x01,"Basic Manager Options Report"},
59 {0x02,"Firmware Version"},
62 {0x08,"Product Engineering Code"},
63 {0x09,"Grey Market Info"},
64 {0x0a,"Encapsulate Command"},
65 {0x11,"Phone Ethernet Address"},
66 {0x0b,"Startup reason"},