epan/dissectors/pidl/ C99 drsuapi
[wireshark-sm.git] / plugins / epan / unistim / packet-unistim.h
blob0eb8db94f757cf8e4f621deb89c36fef21d70220
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>
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 PACKET_UNISTIM_H
14 #define PACKET_UNISTIM_H
16 typedef struct _unistim_info_t
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 */
34 } unistim_info_t;
36 #endif