2 * Reliable Multicast Transport (RMT)
3 * NORM Protocol Instantiation function definitions
4 * Copyright 2005, Stefano Pettini <spettini@users.sourceforge.net>
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
12 * Extensive changes to decode more information Julian Onions
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29 #ifndef __PACKET_RMT_NORM__
30 #define __PACKET_RMT_NORM__
32 #include "packet-rmt-common.h"
33 #include "packet-rmt-fec.h"
34 #include "packet-rmt-lct.h"
36 /* Type definitions */
37 /* ================ */
39 /* Logical NORM packet representation */
63 NORM_CMD_REPAIR_ADV = 5,
65 NORM_CMD_APPLICATION = 7,
68 NORM_FLAG_REPAIR = 0x01,
69 NORM_FLAG_EXPLICIT = 0x02,
70 NORM_FLAG_INFO = 0x04,
71 NORM_FLAG_UNRELIABLE = 0x08,
72 NORM_FLAG_FILE = 0x10,
73 NORM_FLAG_STREAM = 0x20,
74 NORM_FLAG_MSG_START = 0x40,
81 NORM_NACK_ERASURES = 3,
83 NORM_NACK_SEGMENT = 0x01,
84 NORM_NACK_BLOCK = 0x02,
85 NORM_NACK_INFO = 0x04,
86 NORM_NACK_OBJECT = 0x08,
89 NORM_FLAG_CC_CLR = 0x01,
90 NORM_FLAG_CC_PLR = 0x02,
91 NORM_FLAG_CC_RTT = 0x04,
92 NORM_FLAG_CC_START = 0x08,
93 NORM_FLAG_CC_LEAVE = 0x10
101 /* NORM header field definitions*/
140 int nack_flags_segment;
141 int nack_flags_block;
143 int nack_flags_object;
153 int object_transport_id;
169 gint congestioncontrol;
174 /* NORM preferences */
177 struct _fec_prefs fec;
180 /* Function declarations */
181 /* ===================== */