#define _IP_CONNTRACK_FTP_H
/* FTP tracking. */
-#ifdef __KERNEL__
-
-#define FTP_PORT 21
-
-#endif /* __KERNEL__ */
-
+/* This enum is exposed to userspace */
enum ip_ct_ftp_type
{
/* PORT command from client */
IP_CT_FTP_EPSV,
};
+#ifdef __KERNEL__
+
+#define FTP_PORT 21
+
#define NUM_SEQ_TO_REMEMBER 2
/* This structure exists only once per master */
struct ip_ct_ftp_master {
unsigned int matchlen,
struct ip_conntrack_expect *exp,
u32 *seq);
+#endif /* __KERNEL__ */
+
#endif /* _IP_CONNTRACK_FTP_H */