| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
basic.h
1/* basic.h
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>
5 *
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
9 *
10 * SPDX-License-Identifier: GPL-2.0-or-later
11 */
12
13#ifndef UNISTIM_BASIC_H
14#define UNISTIM_BASIC_H
15
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;
28
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;
37
38 static const value_string it_types[]={
39 {0x02,"i2004"},
40 {0x03,"i2002 Basic Etherset"},
41 {0x04,"Nortel Conference phone 2033 (polycom)"},
42 {0x10,"Juniper 7308"},
43 {0x11,"i2050 Softphone"},
44 {0x30,"Meridian M6350"},
45 {0,NULL}
46};
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"},
53 {0xff,"Reserved"},
54 {0,NULL}
55};
56 static const value_string basic_phone_msgs[]={
57 {0x00,"Basic Manager Attributes Info"},
58 {0x01,"Basic Manager Options Report"},
59 {0x02,"Firmware Version"},
60 {0x03,"IT Type"},
61 {0x07,"Hardware ID"},
62 {0x08,"Product Engineering Code"},
63 {0x09,"Grey Market Info"},
64 {0x0a,"Encapsulate Command"},
65 {0x11,"Phone Ethernet Address"},
66 {0x0b,"Startup reason"},
67 {0xff,"Reserved"},
68 {0,NULL}
69};
70
71#endif
value_string
struct _value_string value_string
Mapping between a 32-bit integer value and its string representation.