/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_NF_CONNTRACK_TCP_H #define _UAPI_NF_CONNTRACK_TCP_H /* TCP tracking. */ #include <linux/types.h> /* This is exposed to userspace (ctnetlink) */ enum tcp_conntrack { … }; /* Window scaling is advertised by the sender */ #define IP_CT_TCP_FLAG_WINDOW_SCALE … /* SACK is permitted by the sender */ #define IP_CT_TCP_FLAG_SACK_PERM … /* This sender sent FIN first */ #define IP_CT_TCP_FLAG_CLOSE_INIT … /* Be liberal in window checking */ #define IP_CT_TCP_FLAG_BE_LIBERAL … /* Has unacknowledged data */ #define IP_CT_TCP_FLAG_DATA_UNACKNOWLEDGED … /* The field td_maxack has been set */ #define IP_CT_TCP_FLAG_MAXACK_SET … /* Marks possibility for expected RFC5961 challenge ACK */ #define IP_CT_EXP_CHALLENGE_ACK … /* Simultaneous open initialized */ #define IP_CT_TCP_SIMULTANEOUS_OPEN … struct nf_ct_tcp_flags { … }; #endif /* _UAPI_NF_CONNTRACK_TCP_H */