| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-uaudp.h
1/* packet-uaudp.h
2 * Routines for UA/UDP (Universal Alcatel over UDP) packet dissection.
3 * Copyright 2012, Alcatel-Lucent Enterprise <lars.ruoff@alcatel-lucent.com>
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
12#ifndef _PACKET_UAUDP_H_
13#define _PACKET_UAUDP_H_
14
15#define UAUDP_CONNECT 0
16#define UAUDP_CONNECT_ACK 1
17#define UAUDP_RELEASE 2
18#define UAUDP_RELEASE_ACK 3
19#define UAUDP_KEEPALIVE 4
20#define UAUDP_KEEPALIVE_ACK 5
21#define UAUDP_NACK 6
22#define UAUDP_DATA 7
23#define UAUDP_START_SIG 64
24#define UAUDP_START_SIG_ACK 65
25
26#define UAUDP_CONNECT_VERSION 0x00
27#define UAUDP_CONNECT_WINDOW_SIZE 0x01
28#define UAUDP_CONNECT_MTU 0x02
29#define UAUDP_CONNECT_UDP_LOST 0x03
30#define UAUDP_CONNECT_UDP_LOST_REINIT 0x04
31#define UAUDP_CONNECT_KEEPALIVE 0x05
32#define UAUDP_CONNECT_QOS_IP_TOS 0x06
33#define UAUDP_CONNECT_QOS_8021_VLID 0x07
34#define UAUDP_CONNECT_QOS_8021_PRI 0x08
35#define UAUDP_CONNECT_SUPERFAST_CONNECT 0x09
36
37 extern value_string_ext uaudp_opcode_str_ext;
38 extern value_string_ext uaudp_connect_vals_ext;
39
40 typedef enum _e_ua_direction {
41 SYS_TO_TERM, /* system -> terminal */
42 TERM_TO_SYS, /* terminal -> system */
43 DIR_UNKNOWN /* unknown direction */
44} e_ua_direction;
45
46/* struct for tap wireshark */
47 typedef struct _tap_struct_uaudp {
48 unsigned opcode;
49 unsigned expseq; /* expected sequence number */
50 unsigned sntseq; /* sent sequence number */
51} tap_struct_uaudp;
52
53#endif /* _PACKET_UAUDP_H_ */
_tap_struct_uaudp
Definition packet-uaudp.h:47