Wireshark 4.5.0
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 <[email protected]>
5 *
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <[email protected]>
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
16static int hf_basic_switch_query_flags;
17static int hf_basic_switch_query_attr;
18static int hf_basic_switch_query_opts;
19static int hf_basic_switch_query_fw;
20static int hf_basic_switch_query_hw_id;
21static int hf_basic_switch_query_it_type;
22static int hf_basic_switch_query_prod_eng_code;
23static int hf_basic_switch_query_gray_mkt_info;
24static int hf_basic_switch_options_secure;
25static int hf_basic_switch_element_id;
26static int hf_basic_switch_eeprom_data;
27static int hf_basic_switch_terminal_id;
28
29static int hf_basic_phone_eeprom_stat_cksum;
30static int hf_basic_phone_eeprom_dynam;
31static int hf_basic_phone_eeprom_net_config_cksum;
32static int hf_basic_phone_hw_id;
33static int hf_basic_phone_fw_ver;
34static int hf_basic_it_type;
35static int hf_basic_prod_eng_code;
36static int hf_basic_ether_address;
37
38static 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};
47static 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};
56static 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
Definition value_string.h:25