Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
24 #define UAUDP_CONNECT_VERSION 0x00
25 #define UAUDP_CONNECT_WINDOW_SIZE 0x01
26 #define UAUDP_CONNECT_MTU 0x02
27 #define UAUDP_CONNECT_UDP_LOST 0x03
28 #define UAUDP_CONNECT_UDP_LOST_REINIT 0x04
29 #define UAUDP_CONNECT_KEEPALIVE 0x05
30 #define UAUDP_CONNECT_QOS_IP_TOS 0x06
31 #define UAUDP_CONNECT_QOS_8021_VLID 0x07
32 #define UAUDP_CONNECT_QOS_8021_PRI 0x08
33 #define UAUDP_CONNECT_SUPERFAST_CONNECT 0x09
34
35 extern value_string_ext uaudp_opcode_str_ext;
36 extern value_string_ext uaudp_connect_vals_ext;
37
38 typedef enum _e_ua_direction {
39 SYS_TO_TERM, /* system -> terminal */
40 TERM_TO_SYS, /* terminal -> system */
41 DIR_UNKNOWN /* unknown direction */
42 } e_ua_direction;
43
44 /* struct for tap wireshark */
45 typedef struct _tap_struct_uaudp {
46 guint opcode;
47 guint expseq; /* expected sequence number */
48 guint sntseq; /* sent sequence number */
49 } tap_struct_uaudp;
50
51 #endif /* _PACKET_UAUDP_H_ */
_tap_struct_uaudp
Definition: packet-uaudp.h:45
_value_string_ext
Definition: value_string.h:164