summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlaforge <laforge>2004-03-02 18:38:27 +0000
committerlaforge <laforge>2004-03-02 18:38:27 +0000
commit5878bea5760c079cf91c506c4e5d5372bd4b123e (patch)
tree5c8de06e07687a320e917eee637309d28fe05d6b /include
parent3a6c091ee301ed004083c6bb3cb0c68d1d762440 (diff)
update for matching chunk flags (Kiran Kumar)
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter_ipv4/ipt_sctp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_sctp.h b/include/linux/netfilter_ipv4/ipt_sctp.h
index 575c672..e93a9ec 100644
--- a/include/linux/netfilter_ipv4/ipt_sctp.h
+++ b/include/linux/netfilter_ipv4/ipt_sctp.h
@@ -9,6 +9,15 @@
#define ELEMCOUNT(x) (sizeof(x)/sizeof(x[0]))
+
+struct ipt_sctp_flag_info {
+ u_int8_t chunktype;
+ u_int8_t flag;
+ u_int8_t flag_mask;
+};
+
+#define IPT_NUM_SCTP_FLAGS 4
+
struct ipt_sctp_info {
u_int16_t dpts[2]; /* Min, Max */
u_int16_t spts[2]; /* Min, Max */
@@ -20,6 +29,8 @@ struct ipt_sctp_info {
#define SCTP_CHUNK_MATCH_ONLY 0x04 /* Match if these are the only chunk types present */
u_int32_t chunk_match_type;
+ struct ipt_sctp_flag_info flag_info[IPT_NUM_SCTP_FLAGS];
+ int flag_count;
u_int32_t flags;
u_int32_t invflags;