diff options
author | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-23 17:27:29 +0000 |
---|---|---|
committer | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-23 17:27:29 +0000 |
commit | edb5704a47918802bf30f4de0a9497b6df3bbf12 (patch) | |
tree | 35ff66ef15c6010eb035798cbe2a9b3d65763054 /packet-sctp.h | |
parent | 9bea152089d8a95d5a66dc49dda8331f4f9ed810 (diff) |
Include file for packet-sctp.c and tap listeners.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10457 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-sctp.h')
-rw-r--r-- | packet-sctp.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/packet-sctp.h b/packet-sctp.h new file mode 100644 index 0000000000..0af4b562cd --- /dev/null +++ b/packet-sctp.h @@ -0,0 +1,43 @@ +/* packet-sctp.h + * + * Defintion of SCTP specific structures used b tap listeners. + * + * $Id: packet-sctp.h,v 1.1 2004/03/23 17:27:29 tuexen Exp $ + * Copyright 2004 Michael Tuexen <tuexen [AT] fh-muenster.de> + + * Ethereal - Network traffic analyzer + * By Gerald Combs <gerald@ethereal.com> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __PACKET_SCTP_H__ +#define __PACKET_SCTP_H__ + +#define MAXIMUM_NUMBER_OF_TVBS 2048 + +struct _sctp_info { + gboolean incomplete; + gboolean adler32_calculated; + gboolean adler32_correct; + gboolean crc32c_calculated; + gboolean crc32c_correct; + guint32 verification_tag; + guint32 number_of_tvbs; + tvbuff_t *tvb[MAXIMUM_NUMBER_OF_TVBS]; +}; + +#endif |