Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net...
[firefly-linux-kernel-4.4.55.git] / include / linux / netfilter / nf_conntrack_tcp.h
index 74c27ca770e589fce9a036d97f4d3f74b1afa092..4352feed23775831bfbf8373c85c44df9dfd14be 100644 (file)
@@ -36,6 +36,9 @@ enum tcp_conntrack {
 /* Has unacknowledged data */
 #define IP_CT_TCP_FLAG_DATA_UNACKNOWLEDGED     0x10
 
+/* The field td_maxack has been set */
+#define IP_CT_TCP_FLAG_MAXACK_SET              0x20
+
 struct nf_ct_tcp_flags {
        __u8 flags;
        __u8 mask;
@@ -47,6 +50,7 @@ struct ip_ct_tcp_state {
        u_int32_t       td_end;         /* max of seq + len */
        u_int32_t       td_maxend;      /* max of ack + max(win, 1) */
        u_int32_t       td_maxwin;      /* max(win) */
+       u_int32_t       td_maxack;      /* max of ack */
        u_int8_t        td_scale;       /* window scale factor */
        u_int8_t        flags;          /* per direction options */
 };