blob: 3aa0f840170be5b9fca522500ad3b5b5b7b7a23c [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
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 _IP_VS_H
20#define _IP_VS_H
21#include <linux/types.h>
22#define IP_VS_VERSION_CODE 0x010201
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define NVERSION(version) (version >> 16) & 0xFF, (version >> 8) & 0xFF, version & 0xFF
25#define IP_VS_SVC_F_PERSISTENT 0x0001
26#define IP_VS_SVC_F_HASHED 0x0002
27#define IP_VS_SVC_F_ONEPACKET 0x0004
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070029#define IP_VS_SVC_F_SCHED1 0x0008
30#define IP_VS_SVC_F_SCHED2 0x0010
31#define IP_VS_SVC_F_SCHED3 0x0020
32#define IP_VS_SVC_F_SCHED_SH_FALLBACK IP_VS_SVC_F_SCHED1
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define IP_VS_SVC_F_SCHED_SH_PORT IP_VS_SVC_F_SCHED2
Ben Cheng655a7c02013-10-16 16:09:24 -070035#define IP_VS_DEST_F_AVAILABLE 0x0001
36#define IP_VS_DEST_F_OVERLOAD 0x0002
37#define IP_VS_STATE_NONE 0x0000
Elliott Hughes8cb52b02013-11-21 13:43:23 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070039#define IP_VS_STATE_MASTER 0x0001
Ben Cheng655a7c02013-10-16 16:09:24 -070040#define IP_VS_STATE_BACKUP 0x0002
41#define IP_VS_BASE_CTL (64+1024+64)
42#define IP_VS_SO_SET_NONE IP_VS_BASE_CTL
Elliott Hughes8cb52b02013-11-21 13:43:23 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070044#define IP_VS_SO_SET_INSERT (IP_VS_BASE_CTL+1)
Ben Cheng655a7c02013-10-16 16:09:24 -070045#define IP_VS_SO_SET_ADD (IP_VS_BASE_CTL+2)
46#define IP_VS_SO_SET_EDIT (IP_VS_BASE_CTL+3)
47#define IP_VS_SO_SET_DEL (IP_VS_BASE_CTL+4)
Elliott Hughes8cb52b02013-11-21 13:43:23 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070049#define IP_VS_SO_SET_FLUSH (IP_VS_BASE_CTL+5)
Ben Cheng655a7c02013-10-16 16:09:24 -070050#define IP_VS_SO_SET_LIST (IP_VS_BASE_CTL+6)
51#define IP_VS_SO_SET_ADDDEST (IP_VS_BASE_CTL+7)
52#define IP_VS_SO_SET_DELDEST (IP_VS_BASE_CTL+8)
Elliott Hughes8cb52b02013-11-21 13:43:23 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070054#define IP_VS_SO_SET_EDITDEST (IP_VS_BASE_CTL+9)
Ben Cheng655a7c02013-10-16 16:09:24 -070055#define IP_VS_SO_SET_TIMEOUT (IP_VS_BASE_CTL+10)
56#define IP_VS_SO_SET_STARTDAEMON (IP_VS_BASE_CTL+11)
57#define IP_VS_SO_SET_STOPDAEMON (IP_VS_BASE_CTL+12)
Elliott Hughes8cb52b02013-11-21 13:43:23 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070059#define IP_VS_SO_SET_RESTORE (IP_VS_BASE_CTL+13)
Ben Cheng655a7c02013-10-16 16:09:24 -070060#define IP_VS_SO_SET_SAVE (IP_VS_BASE_CTL+14)
61#define IP_VS_SO_SET_ZERO (IP_VS_BASE_CTL+15)
62#define IP_VS_SO_SET_MAX IP_VS_SO_SET_ZERO
Elliott Hughes8cb52b02013-11-21 13:43:23 -080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070064#define IP_VS_SO_GET_VERSION IP_VS_BASE_CTL
Ben Cheng655a7c02013-10-16 16:09:24 -070065#define IP_VS_SO_GET_INFO (IP_VS_BASE_CTL+1)
66#define IP_VS_SO_GET_SERVICES (IP_VS_BASE_CTL+2)
67#define IP_VS_SO_GET_SERVICE (IP_VS_BASE_CTL+3)
Elliott Hughes8cb52b02013-11-21 13:43:23 -080068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070069#define IP_VS_SO_GET_DESTS (IP_VS_BASE_CTL+4)
Ben Cheng655a7c02013-10-16 16:09:24 -070070#define IP_VS_SO_GET_DEST (IP_VS_BASE_CTL+5)
71#define IP_VS_SO_GET_TIMEOUT (IP_VS_BASE_CTL+6)
72#define IP_VS_SO_GET_DAEMON (IP_VS_BASE_CTL+7)
Elliott Hughes8cb52b02013-11-21 13:43:23 -080073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070074#define IP_VS_SO_GET_MAX IP_VS_SO_GET_DAEMON
Ben Cheng655a7c02013-10-16 16:09:24 -070075#define IP_VS_CONN_F_FWD_MASK 0x0007
76#define IP_VS_CONN_F_MASQ 0x0000
77#define IP_VS_CONN_F_LOCALNODE 0x0001
Elliott Hughes8cb52b02013-11-21 13:43:23 -080078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070079#define IP_VS_CONN_F_TUNNEL 0x0002
Ben Cheng655a7c02013-10-16 16:09:24 -070080#define IP_VS_CONN_F_DROUTE 0x0003
81#define IP_VS_CONN_F_BYPASS 0x0004
82#define IP_VS_CONN_F_SYNC 0x0020
Elliott Hughes8cb52b02013-11-21 13:43:23 -080083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070084#define IP_VS_CONN_F_HASHED 0x0040
Ben Cheng655a7c02013-10-16 16:09:24 -070085#define IP_VS_CONN_F_NOOUTPUT 0x0080
86#define IP_VS_CONN_F_INACTIVE 0x0100
87#define IP_VS_CONN_F_OUT_SEQ 0x0200
Elliott Hughes8cb52b02013-11-21 13:43:23 -080088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070089#define IP_VS_CONN_F_IN_SEQ 0x0400
Ben Cheng655a7c02013-10-16 16:09:24 -070090#define IP_VS_CONN_F_SEQ_MASK 0x0600
91#define IP_VS_CONN_F_NO_CPORT 0x0800
92#define IP_VS_CONN_F_TEMPLATE 0x1000
Elliott Hughes8cb52b02013-11-21 13:43:23 -080093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070094#define IP_VS_CONN_F_ONE_PACKET 0x2000
Ben Cheng655a7c02013-10-16 16:09:24 -070095#define IP_VS_CONN_F_BACKUP_MASK (IP_VS_CONN_F_FWD_MASK | IP_VS_CONN_F_NOOUTPUT | IP_VS_CONN_F_INACTIVE | IP_VS_CONN_F_SEQ_MASK | IP_VS_CONN_F_NO_CPORT | IP_VS_CONN_F_TEMPLATE )
96#define IP_VS_CONN_F_BACKUP_UPD_MASK (IP_VS_CONN_F_INACTIVE | IP_VS_CONN_F_SEQ_MASK)
97#define IP_VS_CONN_F_NFCT (1 << 16)
Elliott Hughes8cb52b02013-11-21 13:43:23 -080098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070099#define IP_VS_CONN_F_DEST_MASK (IP_VS_CONN_F_FWD_MASK | IP_VS_CONN_F_ONE_PACKET | IP_VS_CONN_F_NFCT | 0)
Ben Cheng655a7c02013-10-16 16:09:24 -0700100#define IP_VS_SCHEDNAME_MAXLEN 16
101#define IP_VS_PENAME_MAXLEN 16
102#define IP_VS_IFNAME_MAXLEN 16
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700104#define IP_VS_PEDATA_MAXLEN 255
Ben Cheng655a7c02013-10-16 16:09:24 -0700105struct ip_vs_service_user {
106 __u16 protocol;
107 __be32 addr;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700109 __be16 port;
Ben Cheng655a7c02013-10-16 16:09:24 -0700110 __u32 fwmark;
111 char sched_name[IP_VS_SCHEDNAME_MAXLEN];
112 unsigned int flags;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700114 unsigned int timeout;
Ben Cheng655a7c02013-10-16 16:09:24 -0700115 __be32 netmask;
116};
117struct ip_vs_dest_user {
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700119 __be32 addr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700120 __be16 port;
121 unsigned int conn_flags;
122 int weight;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700124 __u32 u_threshold;
Ben Cheng655a7c02013-10-16 16:09:24 -0700125 __u32 l_threshold;
126};
127struct ip_vs_stats_user {
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700129 __u32 conns;
Ben Cheng655a7c02013-10-16 16:09:24 -0700130 __u32 inpkts;
131 __u32 outpkts;
132 __u64 inbytes;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700134 __u64 outbytes;
Ben Cheng655a7c02013-10-16 16:09:24 -0700135 __u32 cps;
136 __u32 inpps;
137 __u32 outpps;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700139 __u32 inbps;
Ben Cheng655a7c02013-10-16 16:09:24 -0700140 __u32 outbps;
141};
142struct ip_vs_getinfo {
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700144 unsigned int version;
Ben Cheng655a7c02013-10-16 16:09:24 -0700145 unsigned int size;
146 unsigned int num_services;
147};
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700149struct ip_vs_service_entry {
Ben Cheng655a7c02013-10-16 16:09:24 -0700150 __u16 protocol;
151 __be32 addr;
152 __be16 port;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700154 __u32 fwmark;
Ben Cheng655a7c02013-10-16 16:09:24 -0700155 char sched_name[IP_VS_SCHEDNAME_MAXLEN];
156 unsigned int flags;
157 unsigned int timeout;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700159 __be32 netmask;
Ben Cheng655a7c02013-10-16 16:09:24 -0700160 unsigned int num_dests;
161 struct ip_vs_stats_user stats;
162};
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700164struct ip_vs_dest_entry {
Ben Cheng655a7c02013-10-16 16:09:24 -0700165 __be32 addr;
166 __be16 port;
167 unsigned int conn_flags;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700169 int weight;
Ben Cheng655a7c02013-10-16 16:09:24 -0700170 __u32 u_threshold;
171 __u32 l_threshold;
172 __u32 activeconns;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700174 __u32 inactconns;
Ben Cheng655a7c02013-10-16 16:09:24 -0700175 __u32 persistconns;
176 struct ip_vs_stats_user stats;
177};
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700179struct ip_vs_get_dests {
Ben Cheng655a7c02013-10-16 16:09:24 -0700180 __u16 protocol;
181 __be32 addr;
182 __be16 port;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700184 __u32 fwmark;
Ben Cheng655a7c02013-10-16 16:09:24 -0700185 unsigned int num_dests;
186 struct ip_vs_dest_entry entrytable[0];
187};
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700189struct ip_vs_get_services {
Ben Cheng655a7c02013-10-16 16:09:24 -0700190 unsigned int num_services;
191 struct ip_vs_service_entry entrytable[0];
192};
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700194struct ip_vs_timeout_user {
Ben Cheng655a7c02013-10-16 16:09:24 -0700195 int tcp_timeout;
196 int tcp_fin_timeout;
197 int udp_timeout;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700199};
Ben Cheng655a7c02013-10-16 16:09:24 -0700200struct ip_vs_daemon_user {
201 int state;
202 char mcast_ifn[IP_VS_IFNAME_MAXLEN];
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700204 int syncid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700205};
206#define IPVS_GENL_NAME "IPVS"
207#define IPVS_GENL_VERSION 0x1
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700209struct ip_vs_flags {
Ben Cheng655a7c02013-10-16 16:09:24 -0700210 __u32 flags;
211 __u32 mask;
212};
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700214enum {
Ben Cheng655a7c02013-10-16 16:09:24 -0700215 IPVS_CMD_UNSPEC = 0,
216 IPVS_CMD_NEW_SERVICE,
217 IPVS_CMD_SET_SERVICE,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700219 IPVS_CMD_DEL_SERVICE,
Ben Cheng655a7c02013-10-16 16:09:24 -0700220 IPVS_CMD_GET_SERVICE,
221 IPVS_CMD_NEW_DEST,
222 IPVS_CMD_SET_DEST,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700224 IPVS_CMD_DEL_DEST,
Ben Cheng655a7c02013-10-16 16:09:24 -0700225 IPVS_CMD_GET_DEST,
226 IPVS_CMD_NEW_DAEMON,
227 IPVS_CMD_DEL_DAEMON,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700229 IPVS_CMD_GET_DAEMON,
Ben Cheng655a7c02013-10-16 16:09:24 -0700230 IPVS_CMD_SET_CONFIG,
231 IPVS_CMD_GET_CONFIG,
232 IPVS_CMD_SET_INFO,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700234 IPVS_CMD_GET_INFO,
Ben Cheng655a7c02013-10-16 16:09:24 -0700235 IPVS_CMD_ZERO,
236 IPVS_CMD_FLUSH,
237 __IPVS_CMD_MAX,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700239};
Ben Cheng655a7c02013-10-16 16:09:24 -0700240#define IPVS_CMD_MAX (__IPVS_CMD_MAX - 1)
241enum {
242 IPVS_CMD_ATTR_UNSPEC = 0,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700244 IPVS_CMD_ATTR_SERVICE,
Ben Cheng655a7c02013-10-16 16:09:24 -0700245 IPVS_CMD_ATTR_DEST,
246 IPVS_CMD_ATTR_DAEMON,
247 IPVS_CMD_ATTR_TIMEOUT_TCP,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700249 IPVS_CMD_ATTR_TIMEOUT_TCP_FIN,
Ben Cheng655a7c02013-10-16 16:09:24 -0700250 IPVS_CMD_ATTR_TIMEOUT_UDP,
251 __IPVS_CMD_ATTR_MAX,
252};
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700254#define IPVS_CMD_ATTR_MAX (__IPVS_CMD_ATTR_MAX - 1)
Ben Cheng655a7c02013-10-16 16:09:24 -0700255enum {
256 IPVS_SVC_ATTR_UNSPEC = 0,
257 IPVS_SVC_ATTR_AF,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700259 IPVS_SVC_ATTR_PROTOCOL,
Ben Cheng655a7c02013-10-16 16:09:24 -0700260 IPVS_SVC_ATTR_ADDR,
261 IPVS_SVC_ATTR_PORT,
262 IPVS_SVC_ATTR_FWMARK,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700264 IPVS_SVC_ATTR_SCHED_NAME,
Ben Cheng655a7c02013-10-16 16:09:24 -0700265 IPVS_SVC_ATTR_FLAGS,
266 IPVS_SVC_ATTR_TIMEOUT,
267 IPVS_SVC_ATTR_NETMASK,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700269 IPVS_SVC_ATTR_STATS,
Ben Cheng655a7c02013-10-16 16:09:24 -0700270 IPVS_SVC_ATTR_PE_NAME,
271 __IPVS_SVC_ATTR_MAX,
272};
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700274#define IPVS_SVC_ATTR_MAX (__IPVS_SVC_ATTR_MAX - 1)
Ben Cheng655a7c02013-10-16 16:09:24 -0700275enum {
276 IPVS_DEST_ATTR_UNSPEC = 0,
277 IPVS_DEST_ATTR_ADDR,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700279 IPVS_DEST_ATTR_PORT,
Ben Cheng655a7c02013-10-16 16:09:24 -0700280 IPVS_DEST_ATTR_FWD_METHOD,
281 IPVS_DEST_ATTR_WEIGHT,
282 IPVS_DEST_ATTR_U_THRESH,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700284 IPVS_DEST_ATTR_L_THRESH,
Ben Cheng655a7c02013-10-16 16:09:24 -0700285 IPVS_DEST_ATTR_ACTIVE_CONNS,
286 IPVS_DEST_ATTR_INACT_CONNS,
287 IPVS_DEST_ATTR_PERSIST_CONNS,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700289 IPVS_DEST_ATTR_STATS,
Ben Cheng655a7c02013-10-16 16:09:24 -0700290 __IPVS_DEST_ATTR_MAX,
291};
292#define IPVS_DEST_ATTR_MAX (__IPVS_DEST_ATTR_MAX - 1)
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700294enum {
Ben Cheng655a7c02013-10-16 16:09:24 -0700295 IPVS_DAEMON_ATTR_UNSPEC = 0,
296 IPVS_DAEMON_ATTR_STATE,
297 IPVS_DAEMON_ATTR_MCAST_IFN,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700299 IPVS_DAEMON_ATTR_SYNC_ID,
Ben Cheng655a7c02013-10-16 16:09:24 -0700300 __IPVS_DAEMON_ATTR_MAX,
301};
302#define IPVS_DAEMON_ATTR_MAX (__IPVS_DAEMON_ATTR_MAX - 1)
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700304enum {
Ben Cheng655a7c02013-10-16 16:09:24 -0700305 IPVS_STATS_ATTR_UNSPEC = 0,
306 IPVS_STATS_ATTR_CONNS,
307 IPVS_STATS_ATTR_INPKTS,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700309 IPVS_STATS_ATTR_OUTPKTS,
Ben Cheng655a7c02013-10-16 16:09:24 -0700310 IPVS_STATS_ATTR_INBYTES,
311 IPVS_STATS_ATTR_OUTBYTES,
312 IPVS_STATS_ATTR_CPS,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700314 IPVS_STATS_ATTR_INPPS,
Ben Cheng655a7c02013-10-16 16:09:24 -0700315 IPVS_STATS_ATTR_OUTPPS,
316 IPVS_STATS_ATTR_INBPS,
317 IPVS_STATS_ATTR_OUTBPS,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700319 __IPVS_STATS_ATTR_MAX,
Ben Cheng655a7c02013-10-16 16:09:24 -0700320};
321#define IPVS_STATS_ATTR_MAX (__IPVS_STATS_ATTR_MAX - 1)
322enum {
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700324 IPVS_INFO_ATTR_UNSPEC = 0,
Ben Cheng655a7c02013-10-16 16:09:24 -0700325 IPVS_INFO_ATTR_VERSION,
326 IPVS_INFO_ATTR_CONN_TAB_SIZE,
327 __IPVS_INFO_ATTR_MAX,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700329};
Ben Cheng655a7c02013-10-16 16:09:24 -0700330#define IPVS_INFO_ATTR_MAX (__IPVS_INFO_ATTR_MAX - 1)
331#endif