3 * Defintion of SCTP specific structures used by tap listeners.
6 * Copyright 2004 Michael Tuexen <tuexen [AT] fh-muenster.de>
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 #ifndef __PACKET_SCTP_H__
28 #define __PACKET_SCTP_H__
30 #define MAXIMUM_NUMBER_OF_TVBS 2048
34 gboolean adler32_calculated
;
35 gboolean adler32_correct
;
36 gboolean crc32c_calculated
;
37 gboolean crc32c_correct
;
38 gboolean checksum_zero
;
39 gboolean vtag_reflected
;
44 guint32 verification_tag
;
45 guint32 number_of_tvbs
;
46 tvbuff_t
*tvb
[MAXIMUM_NUMBER_OF_TVBS
];
49 typedef struct _sctp_fragment
{
54 struct _sctp_fragment
*next
;
57 typedef struct _sctp_frag_be
{
58 sctp_fragment
* fragment
;
59 struct _sctp_frag_be
*next
;
62 typedef struct _sctp_complete_msg
{
65 sctp_fragment
* reassembled_in
;
68 struct _sctp_complete_msg
*next
;
71 typedef struct _sctp_frag_msg
{
74 sctp_fragment
* fragments
;
75 sctp_complete_msg
* messages
;
76 struct _sctp_frag_msg
* next
;