Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 1 | #ifndef _NF_CONNTRACK_SCTP_H |
| 2 | #define _NF_CONNTRACK_SCTP_H |
| 3 | /* SCTP tracking. */ |
| 4 | |
| 5 | #include <linux/netfilter/nf_conntrack_tuple_common.h> |
| 6 | |
| 7 | enum sctp_conntrack { |
| 8 | SCTP_CONNTRACK_NONE, |
| 9 | SCTP_CONNTRACK_CLOSED, |
| 10 | SCTP_CONNTRACK_COOKIE_WAIT, |
| 11 | SCTP_CONNTRACK_COOKIE_ECHOED, |
| 12 | SCTP_CONNTRACK_ESTABLISHED, |
| 13 | SCTP_CONNTRACK_SHUTDOWN_SENT, |
| 14 | SCTP_CONNTRACK_SHUTDOWN_RECD, |
| 15 | SCTP_CONNTRACK_SHUTDOWN_ACK_SENT, |
| 16 | SCTP_CONNTRACK_MAX |
| 17 | }; |
| 18 | |
Eric Dumazet | d94d9fe | 2009-11-04 09:50:58 -0800 | [diff] [blame] | 19 | struct ip_ct_sctp { |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 20 | enum sctp_conntrack state; |
| 21 | |
Al Viro | 962c837 | 2006-11-20 17:26:08 -0800 | [diff] [blame] | 22 | __be32 vtag[IP_CT_DIR_MAX]; |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 23 | }; |
| 24 | |
| 25 | #endif /* _NF_CONNTRACK_SCTP_H */ |