summaryrefslogtreecommitdiffstats
path: root/include/libnetfilter_conntrack/libnetfilter_conntrack_sctp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libnetfilter_conntrack/libnetfilter_conntrack_sctp.h')
-rw-r--r--include/libnetfilter_conntrack/libnetfilter_conntrack_sctp.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/include/libnetfilter_conntrack/libnetfilter_conntrack_sctp.h b/include/libnetfilter_conntrack/libnetfilter_conntrack_sctp.h
new file mode 100644
index 0000000..366bc9c
--- /dev/null
+++ b/include/libnetfilter_conntrack/libnetfilter_conntrack_sctp.h
@@ -0,0 +1,34 @@
+/*
+ * (C) 2005 by Pablo Neira Ayuso <pablo@eurodev.net>
+ *
+ * This software may be used and distributed according to the terms
+ * of the GNU General Public License, incorporated herein by reference.
+ */
+
+#ifndef _LIBNETFILTER_CONNTRACK_SCTP_H_
+#define _LIBNETFILTER_CONNTRACK_SCTP_H_
+
+enum sctp_flags {
+ SCTP_ORIG_SPORT_BIT = 0,
+ SCTP_ORIG_SPORT = (1 << SCTP_ORIG_SPORT_BIT),
+
+ SCTP_ORIG_DPORT_BIT = 1,
+ SCTP_ORIG_DPORT = (1 << SCTP_ORIG_DPORT_BIT),
+
+ SCTP_REPL_SPORT_BIT = 2,
+ SCTP_REPL_SPORT = (1 << SCTP_REPL_SPORT_BIT),
+
+ SCTP_REPL_DPORT_BIT = 3,
+ SCTP_REPL_DPORT = (1 << SCTP_REPL_DPORT_BIT),
+
+ SCTP_MASK_SPORT_BIT = 4,
+ SCTP_MASK_SPORT = (1 << SCTP_MASK_SPORT_BIT),
+
+ SCTP_MASK_DPORT_BIT = 5,
+ SCTP_MASK_DPORT = (1 << SCTP_MASK_DPORT_BIT),
+
+ SCTP_STATE_BIT = 6,
+ SCTP_STATE = (1 << SCTP_STATE_BIT)
+};
+
+#endif