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 _CTTIMEOUT_NETLINK_H
20 #define _CTTIMEOUT_NETLINK_H
21 #include <linux/netfilter/nfnetlink.h>
22 enum ctnl_timeout_msg_types {
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24   IPCTNL_MSG_TIMEOUT_NEW,
25   IPCTNL_MSG_TIMEOUT_GET,
26   IPCTNL_MSG_TIMEOUT_DELETE,
27   IPCTNL_MSG_TIMEOUT_DEFAULT_SET,
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29   IPCTNL_MSG_TIMEOUT_DEFAULT_GET,
30   IPCTNL_MSG_TIMEOUT_MAX
31 };
32 enum ctattr_timeout {
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34   CTA_TIMEOUT_UNSPEC,
35   CTA_TIMEOUT_NAME,
36   CTA_TIMEOUT_L3PROTO,
37   CTA_TIMEOUT_L4PROTO,
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39   CTA_TIMEOUT_DATA,
40   CTA_TIMEOUT_USE,
41   __CTA_TIMEOUT_MAX
42 };
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #define CTA_TIMEOUT_MAX (__CTA_TIMEOUT_MAX - 1)
45 enum ctattr_timeout_generic {
46   CTA_TIMEOUT_GENERIC_UNSPEC,
47   CTA_TIMEOUT_GENERIC_TIMEOUT,
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49   __CTA_TIMEOUT_GENERIC_MAX
50 };
51 #define CTA_TIMEOUT_GENERIC_MAX (__CTA_TIMEOUT_GENERIC_MAX - 1)
52 enum ctattr_timeout_tcp {
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54   CTA_TIMEOUT_TCP_UNSPEC,
55   CTA_TIMEOUT_TCP_SYN_SENT,
56   CTA_TIMEOUT_TCP_SYN_RECV,
57   CTA_TIMEOUT_TCP_ESTABLISHED,
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59   CTA_TIMEOUT_TCP_FIN_WAIT,
60   CTA_TIMEOUT_TCP_CLOSE_WAIT,
61   CTA_TIMEOUT_TCP_LAST_ACK,
62   CTA_TIMEOUT_TCP_TIME_WAIT,
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64   CTA_TIMEOUT_TCP_CLOSE,
65   CTA_TIMEOUT_TCP_SYN_SENT2,
66   CTA_TIMEOUT_TCP_RETRANS,
67   CTA_TIMEOUT_TCP_UNACK,
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69   __CTA_TIMEOUT_TCP_MAX
70 };
71 #define CTA_TIMEOUT_TCP_MAX (__CTA_TIMEOUT_TCP_MAX - 1)
72 enum ctattr_timeout_udp {
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74   CTA_TIMEOUT_UDP_UNSPEC,
75   CTA_TIMEOUT_UDP_UNREPLIED,
76   CTA_TIMEOUT_UDP_REPLIED,
77   __CTA_TIMEOUT_UDP_MAX
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 };
80 #define CTA_TIMEOUT_UDP_MAX (__CTA_TIMEOUT_UDP_MAX - 1)
81 enum ctattr_timeout_udplite {
82   CTA_TIMEOUT_UDPLITE_UNSPEC,
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84   CTA_TIMEOUT_UDPLITE_UNREPLIED,
85   CTA_TIMEOUT_UDPLITE_REPLIED,
86   __CTA_TIMEOUT_UDPLITE_MAX
87 };
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89 #define CTA_TIMEOUT_UDPLITE_MAX (__CTA_TIMEOUT_UDPLITE_MAX - 1)
90 enum ctattr_timeout_icmp {
91   CTA_TIMEOUT_ICMP_UNSPEC,
92   CTA_TIMEOUT_ICMP_TIMEOUT,
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94   __CTA_TIMEOUT_ICMP_MAX
95 };
96 #define CTA_TIMEOUT_ICMP_MAX (__CTA_TIMEOUT_ICMP_MAX - 1)
97 enum ctattr_timeout_dccp {
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99   CTA_TIMEOUT_DCCP_UNSPEC,
100   CTA_TIMEOUT_DCCP_REQUEST,
101   CTA_TIMEOUT_DCCP_RESPOND,
102   CTA_TIMEOUT_DCCP_PARTOPEN,
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104   CTA_TIMEOUT_DCCP_OPEN,
105   CTA_TIMEOUT_DCCP_CLOSEREQ,
106   CTA_TIMEOUT_DCCP_CLOSING,
107   CTA_TIMEOUT_DCCP_TIMEWAIT,
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109   __CTA_TIMEOUT_DCCP_MAX
110 };
111 #define CTA_TIMEOUT_DCCP_MAX (__CTA_TIMEOUT_DCCP_MAX - 1)
112 enum ctattr_timeout_sctp {
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114   CTA_TIMEOUT_SCTP_UNSPEC,
115   CTA_TIMEOUT_SCTP_CLOSED,
116   CTA_TIMEOUT_SCTP_COOKIE_WAIT,
117   CTA_TIMEOUT_SCTP_COOKIE_ECHOED,
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119   CTA_TIMEOUT_SCTP_ESTABLISHED,
120   CTA_TIMEOUT_SCTP_SHUTDOWN_SENT,
121   CTA_TIMEOUT_SCTP_SHUTDOWN_RECD,
122   CTA_TIMEOUT_SCTP_SHUTDOWN_ACK_SENT,
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124   CTA_TIMEOUT_SCTP_HEARTBEAT_SENT,
125   CTA_TIMEOUT_SCTP_HEARTBEAT_ACKED,
126   __CTA_TIMEOUT_SCTP_MAX
127 };
128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129 #define CTA_TIMEOUT_SCTP_MAX (__CTA_TIMEOUT_SCTP_MAX - 1)
130 enum ctattr_timeout_icmpv6 {
131   CTA_TIMEOUT_ICMPV6_UNSPEC,
132   CTA_TIMEOUT_ICMPV6_TIMEOUT,
133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134   __CTA_TIMEOUT_ICMPV6_MAX
135 };
136 #define CTA_TIMEOUT_ICMPV6_MAX (__CTA_TIMEOUT_ICMPV6_MAX - 1)
137 enum ctattr_timeout_gre {
138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139   CTA_TIMEOUT_GRE_UNSPEC,
140   CTA_TIMEOUT_GRE_UNREPLIED,
141   CTA_TIMEOUT_GRE_REPLIED,
142   __CTA_TIMEOUT_GRE_MAX
143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144 };
145 #define CTA_TIMEOUT_GRE_MAX (__CTA_TIMEOUT_GRE_MAX - 1)
146 #define CTNL_TIMEOUT_NAME_MAX 32
147 #endif
148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149