2 * Definitions for packet disassembly structures and routines
4 * $Id: packet-rx.h,v 1.9 2002/02/05 21:02:36 nneul Exp $
6 * Ethereal - Network traffic analyzer
7 * By Gerald Combs <gerald@ethereal.com>
8 * Copyright 1998 Gerald Combs
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29 * Private data passed from the RX dissector to the AFS dissector.
40 * RX protocol definitions.
46 #define RX_PACKET_TYPE_DATA 1
47 #define RX_PACKET_TYPE_ACK 2
48 #define RX_PACKET_TYPE_BUSY 3
49 #define RX_PACKET_TYPE_ABORT 4
50 #define RX_PACKET_TYPE_ACKALL 5
51 #define RX_PACKET_TYPE_CHALLENGE 6
52 #define RX_PACKET_TYPE_RESPONSE 7
53 #define RX_PACKET_TYPE_DEBUG 8
54 #define RX_PACKET_TYPE_PARAMS 9
55 #define RX_PACKET_TYPE_VERSION 13
58 * Flag bits in the RX header.
60 #define RX_CLIENT_INITIATED 1
61 #define RX_REQUEST_ACK 2
62 #define RX_LAST_PACKET 4
63 #define RX_MORE_PACKETS 8
64 #define RX_FREE_PACKET 16
65 #define RX_SLOW_START_OR_JUMBO 32
67 #define RX_ACK_TYPE_NACK 0
68 #define RX_ACK_TYPE_ACK 1
70 #define RX_ACK_REQUESTED 1
71 #define RX_ACK_DUPLICATE 2
72 #define RX_ACK_OUT_OF_SEQUENCE 3
73 #define RX_ACK_EXEEDS_WINDOW 4
74 #define RX_ACK_NOSPACE 5
76 #define RX_ACK_PING_RESPONSE 7
77 #define RX_ACK_DELAY 8