Dan Albert | 287553d | 2017-02-16 10:47:51 -0800 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | **************************************************************************** |
| 11 | ****************************************************************************/ |
| 12 | #ifndef _NF_CONNTRACK_SCTP_H |
| 13 | #define _NF_CONNTRACK_SCTP_H |
| 14 | |
| 15 | #include <linux/netfilter/nf_conntrack_tuple_common.h> |
| 16 | |
| 17 | enum sctp_conntrack { |
| 18 | SCTP_CONNTRACK_NONE, |
| 19 | SCTP_CONNTRACK_CLOSED, |
| 20 | SCTP_CONNTRACK_COOKIE_WAIT, |
| 21 | SCTP_CONNTRACK_COOKIE_ECHOED, |
| 22 | SCTP_CONNTRACK_ESTABLISHED, |
| 23 | SCTP_CONNTRACK_SHUTDOWN_SENT, |
| 24 | SCTP_CONNTRACK_SHUTDOWN_RECD, |
| 25 | SCTP_CONNTRACK_SHUTDOWN_ACK_SENT, |
| 26 | SCTP_CONNTRACK_MAX |
| 27 | }; |
| 28 | |
| 29 | struct ip_ct_sctp |
| 30 | { |
| 31 | enum sctp_conntrack state; |
| 32 | |
| 33 | u_int32_t vtag[IP_CT_DIR_MAX]; |
| 34 | u_int32_t ttag[IP_CT_DIR_MAX]; |
| 35 | }; |
| 36 | |
| 37 | #endif |