Sync with kernel headers
PATCH 1/1 Sync with kernel headers
Signed-off-by Felix Janda <[email protected]>
--- include/linux/netfilter/nf_conntrack_tcp.h | 28 -------------- include/linux/netfilter/nfnetlink.h | 53 ++++++--------------------- include/linux/netfilter/nfnetlink_cttimeout.h | 2 + 3 files changed, 14 insertions(+), 69 deletions(-)
include/linux/netfilter/nf_conntrack_tcp.h +0 -28
@@ -47,33 +47,5 @@ struct nf_ct_tcp_flags { __u8 mask; }; -#ifdef __KERNEL__ - -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 */ -}; - -struct ip_ct_tcp { -struct ip_ct_tcp_state seen[2 ];/* connection parameters per direction */ -u_int8_t state;/* state of the connection (enum tcp_conntrack) */ -/* For detecting stale connections */ -u_int8_t last_dir;/* Direction of the last packet (enum ip_conntrack_dir) */ -u_int8_t retrans;/* Number of retransmitted packets */ -u_int8_t last_index;/* Index of the last packet */ -u_int32_t last_seq;/* Last sequence number seen in dir */ -u_int32_t last_ack;/* Last sequence number seen in opposite dir */ -u_int32_t last_end;/* Last seq + len */ -u_int16_t last_win;/* Last window advertisement seen in dir */ -/* For SYN packets while we may be out-of-sync */ -u_int8_t last_wscale;/* Last window scaling factor seen */ -u_int8_t last_flags;/* Last flags set */ -}; - -#endif /* __KERNEL__ */ #endif /* _NF_CONNTRACK_TCP_H */
include/linux/netfilter/nfnetlink.h +12 -41
64 lines not on this page · raw message
include/linux/netfilter/nfnetlink_cttimeout.h +2 -0
@@ -6,6 +6,8 @@ enum ctnl_timeout_msg_types {IPCTNL_MSG_TIMEOUT_NEW ,IPCTNL_MSG_TIMEOUT_GET ,IPCTNL_MSG_TIMEOUT_DELETE , +IPCTNL_MSG_TIMEOUT_DEFAULT_SET , +IPCTNL_MSG_TIMEOUT_DEFAULT_GET , IPCTNL_MSG_TIMEOUT_MAX };
Signature · 1 line
2.3.6
Applied.