diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter_ipv4/ipt_sctp.h | 11 |
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; |