1 /* iptables module for matching the SCTP header
3 * (C) 2003 Harald Welte <laforge@gnumonks.org>
5 * This software is distributed under GNU GPL v2, 1991
7 * $Id: ipt_sctp.h,v 1.1 2003/05/03 18:05:58 laforge Exp $
12 struct ipt_sctp_info {
13 u_int16_t spts[2]; /* Souce port range */
14 u_int16_t dpts[2]; /* Destination port range */
15 u_int32_t chunks; /* chunks to be matched */
16 u_int32_t chunk_mask; /* chunk mask to be matched */
17 u_int8_t invflags; /* Inverse flags */
20 #define IPT_SCTP_INV_SRCPT 0x01 /* Invert the sense of source ports */
21 #define IPT_SCTP_INV_DSTPT 0x02 /* Invert the sense of dest ports */
22 #define IPT_SCTP_INV_CHUNKS 0x03 /* Invert the sense of chunks */
23 #define IPT_SCTP_INV_MASK 0x03 /* All possible flags */
25 #endif /* _IPT_SCTP_H */