nf_conntrack_tcp.h revision 655a7c081f83b8351ed5f11a6c6accd9458293a8
1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_NF_CONNTRACK_TCP_H
20#define _UAPI_NF_CONNTRACK_TCP_H
21#include <linux/types.h>
22enum tcp_conntrack {
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 TCP_CONNTRACK_NONE,
25 TCP_CONNTRACK_SYN_SENT,
26 TCP_CONNTRACK_SYN_RECV,
27 TCP_CONNTRACK_ESTABLISHED,
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 TCP_CONNTRACK_FIN_WAIT,
30 TCP_CONNTRACK_CLOSE_WAIT,
31 TCP_CONNTRACK_LAST_ACK,
32 TCP_CONNTRACK_TIME_WAIT,
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 TCP_CONNTRACK_CLOSE,
35 TCP_CONNTRACK_LISTEN,
36#define TCP_CONNTRACK_SYN_SENT2 TCP_CONNTRACK_LISTEN
37 TCP_CONNTRACK_MAX,
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 TCP_CONNTRACK_IGNORE,
40 TCP_CONNTRACK_RETRANS,
41 TCP_CONNTRACK_UNACK,
42 TCP_CONNTRACK_TIMEOUT_MAX
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44};
45#define IP_CT_TCP_FLAG_WINDOW_SCALE 0x01
46#define IP_CT_TCP_FLAG_SACK_PERM 0x02
47#define IP_CT_TCP_FLAG_CLOSE_INIT 0x04
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define IP_CT_TCP_FLAG_BE_LIBERAL 0x08
50#define IP_CT_TCP_FLAG_DATA_UNACKNOWLEDGED 0x10
51#define IP_CT_TCP_FLAG_MAXACK_SET 0x20
52struct nf_ct_tcp_flags {
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 __u8 flags;
55 __u8 mask;
56};
57#endif
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59