Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-unistim.h
1 /* packet-unistim.h
2  * header field declarations, value_string definitions, true_false_string
3  * definitions and function prototypes for main dissectors
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 PACKET_UNISTIM_H
14 #define PACKET_UNISTIM_H
15 
16 typedef struct _unistim_info_t
17 {
18  uint8_t rudp_type; /* NAK, ACK, Payload */
19  uint8_t payload_type; /* unistim payload type (aggregate, non-aggregate, encapsulated) */
20  uint32_t sequence; /* rudp sequence number */
21  uint32_t termid; /* termid if available */
22  address it_ip; /* IP addr of it, determined by who is sending termids */
23  uint32_t it_port; /* port of it (phone) */
24  address ni_ip; /* IP addr of ni (server) as determined by who's sending termids */
25  int key_val; /* actual key pressed (-1 if not used) */
26  int key_state; /* Key state 1=down 0=up */
27  int hook_state; /* Hook state 1=offhook 0=onhook */
28  int stream_connect; /* Audio stream connect 1=connect 0=disconnect */
29  int trans_connect; /* Transducer connect? 1=connect 0=disconnect */
30  int set_termid; /* Set the termid 1=set termid */
31  const uint8_t *string_data; /* Any time a string is written to the display, this has the string */
32  int call_state; /* Not used? */
33  unsigned char *key_buffer; /* Used in voip-calls.c tap, holds call keys pressed */
35 
36 #endif
37 
Definition: address.h:56
Definition: packet-unistim.h:17