2 * Definitions for packet disassembly structures and routines
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
15 * Private data passed from the RX dissector to the AFS dissector.
28 * RX protocol definitions.
34 #define RX_PACKET_TYPE_DATA 1
35 #define RX_PACKET_TYPE_ACK 2
36 #define RX_PACKET_TYPE_BUSY 3
37 #define RX_PACKET_TYPE_ABORT 4
38 #define RX_PACKET_TYPE_ACKALL 5
39 #define RX_PACKET_TYPE_CHALLENGE 6
40 #define RX_PACKET_TYPE_RESPONSE 7
41 #define RX_PACKET_TYPE_DEBUG 8
42 #define RX_PACKET_TYPE_PARAMS 9
43 #define RX_PACKET_TYPE_VERSION 13
46 * Flag bits in the RX header.
48 #define RX_CLIENT_INITIATED 1
49 #define RX_REQUEST_ACK 2
50 #define RX_LAST_PACKET 4
51 #define RX_MORE_PACKETS 8
52 #define RX_FREE_PACKET 16
53 #define RX_SLOW_START_OR_JUMBO 32
55 #define RX_ACK_TYPE_NACK 0
56 #define RX_ACK_TYPE_ACK 1
59 #define RX_ACK_REQUESTED 1
60 #define RX_ACK_DUPLICATE 2
61 #define RX_ACK_OUT_OF_SEQUENCE 3
62 #define RX_ACK_EXEEDS_WINDOW 4
63 #define RX_ACK_NOSPACE 5
65 #define RX_ACK_PING_RESPONSE 7
66 #define RX_ACK_DELAY 8