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_LINUX_SYSCTL_H
20 #define _UAPI_LINUX_SYSCTL_H
21 #include <linux/kernel.h>
22 #include <linux/types.h>
23 #include <linux/compiler.h>
24 #define CTL_MAXNAME 10
25 struct __sysctl_args {
26   int __user * name;
27   int nlen;
28   void __user * oldval;
29   size_t __user * oldlenp;
30   void __user * newval;
31   size_t newlen;
32   unsigned long __linux_unused[4];
33 };
34 enum {
35   CTL_KERN = 1,
36   CTL_VM = 2,
37   CTL_NET = 3,
38   CTL_PROC = 4,
39   CTL_FS = 5,
40   CTL_DEBUG = 6,
41   CTL_DEV = 7,
42   CTL_BUS = 8,
43   CTL_ABI = 9,
44   CTL_CPU = 10,
45   CTL_ARLAN = 254,
46   CTL_S390DBF = 5677,
47   CTL_SUNRPC = 7249,
48   CTL_PM = 9899,
49   CTL_FRV = 9898,
50 };
51 enum {
52   CTL_BUS_ISA = 1
53 };
54 enum {
55   INOTIFY_MAX_USER_INSTANCES = 1,
56   INOTIFY_MAX_USER_WATCHES = 2,
57   INOTIFY_MAX_QUEUED_EVENTS = 3
58 };
59 enum {
60   KERN_OSTYPE = 1,
61   KERN_OSRELEASE = 2,
62   KERN_OSREV = 3,
63   KERN_VERSION = 4,
64   KERN_SECUREMASK = 5,
65   KERN_PROF = 6,
66   KERN_NODENAME = 7,
67   KERN_DOMAINNAME = 8,
68   KERN_PANIC = 15,
69   KERN_REALROOTDEV = 16,
70   KERN_SPARC_REBOOT = 21,
71   KERN_CTLALTDEL = 22,
72   KERN_PRINTK = 23,
73   KERN_NAMETRANS = 24,
74   KERN_PPC_HTABRECLAIM = 25,
75   KERN_PPC_ZEROPAGED = 26,
76   KERN_PPC_POWERSAVE_NAP = 27,
77   KERN_MODPROBE = 28,
78   KERN_SG_BIG_BUFF = 29,
79   KERN_ACCT = 30,
80   KERN_PPC_L2CR = 31,
81   KERN_RTSIGNR = 32,
82   KERN_RTSIGMAX = 33,
83   KERN_SHMMAX = 34,
84   KERN_MSGMAX = 35,
85   KERN_MSGMNB = 36,
86   KERN_MSGPOOL = 37,
87   KERN_SYSRQ = 38,
88   KERN_MAX_THREADS = 39,
89   KERN_RANDOM = 40,
90   KERN_SHMALL = 41,
91   KERN_MSGMNI = 42,
92   KERN_SEM = 43,
93   KERN_SPARC_STOP_A = 44,
94   KERN_SHMMNI = 45,
95   KERN_OVERFLOWUID = 46,
96   KERN_OVERFLOWGID = 47,
97   KERN_SHMPATH = 48,
98   KERN_HOTPLUG = 49,
99   KERN_IEEE_EMULATION_WARNINGS = 50,
100   KERN_S390_USER_DEBUG_LOGGING = 51,
101   KERN_CORE_USES_PID = 52,
102   KERN_TAINTED = 53,
103   KERN_CADPID = 54,
104   KERN_PIDMAX = 55,
105   KERN_CORE_PATTERN = 56,
106   KERN_PANIC_ON_OOPS = 57,
107   KERN_HPPA_PWRSW = 58,
108   KERN_HPPA_UNALIGNED = 59,
109   KERN_PRINTK_RATELIMIT = 60,
110   KERN_PRINTK_RATELIMIT_BURST = 61,
111   KERN_PTY = 62,
112   KERN_NGROUPS_MAX = 63,
113   KERN_SPARC_SCONS_PWROFF = 64,
114   KERN_HZ_TIMER = 65,
115   KERN_UNKNOWN_NMI_PANIC = 66,
116   KERN_BOOTLOADER_TYPE = 67,
117   KERN_RANDOMIZE = 68,
118   KERN_SETUID_DUMPABLE = 69,
119   KERN_SPIN_RETRY = 70,
120   KERN_ACPI_VIDEO_FLAGS = 71,
121   KERN_IA64_UNALIGNED = 72,
122   KERN_COMPAT_LOG = 73,
123   KERN_MAX_LOCK_DEPTH = 74,
124   KERN_NMI_WATCHDOG = 75,
125   KERN_PANIC_ON_NMI = 76,
126   KERN_PANIC_ON_WARN = 77,
127   KERN_PANIC_PRINT = 78,
128 };
129 enum {
130   VM_UNUSED1 = 1,
131   VM_UNUSED2 = 2,
132   VM_UNUSED3 = 3,
133   VM_UNUSED4 = 4,
134   VM_OVERCOMMIT_MEMORY = 5,
135   VM_UNUSED5 = 6,
136   VM_UNUSED7 = 7,
137   VM_UNUSED8 = 8,
138   VM_UNUSED9 = 9,
139   VM_PAGE_CLUSTER = 10,
140   VM_DIRTY_BACKGROUND = 11,
141   VM_DIRTY_RATIO = 12,
142   VM_DIRTY_WB_CS = 13,
143   VM_DIRTY_EXPIRE_CS = 14,
144   VM_NR_PDFLUSH_THREADS = 15,
145   VM_OVERCOMMIT_RATIO = 16,
146   VM_PAGEBUF = 17,
147   VM_HUGETLB_PAGES = 18,
148   VM_SWAPPINESS = 19,
149   VM_LOWMEM_RESERVE_RATIO = 20,
150   VM_MIN_FREE_KBYTES = 21,
151   VM_MAX_MAP_COUNT = 22,
152   VM_LAPTOP_MODE = 23,
153   VM_BLOCK_DUMP = 24,
154   VM_HUGETLB_GROUP = 25,
155   VM_VFS_CACHE_PRESSURE = 26,
156   VM_LEGACY_VA_LAYOUT = 27,
157   VM_SWAP_TOKEN_TIMEOUT = 28,
158   VM_DROP_PAGECACHE = 29,
159   VM_PERCPU_PAGELIST_FRACTION = 30,
160   VM_ZONE_RECLAIM_MODE = 31,
161   VM_MIN_UNMAPPED = 32,
162   VM_PANIC_ON_OOM = 33,
163   VM_VDSO_ENABLED = 34,
164   VM_MIN_SLAB = 35,
165 };
166 enum {
167   NET_CORE = 1,
168   NET_ETHER = 2,
169   NET_802 = 3,
170   NET_UNIX = 4,
171   NET_IPV4 = 5,
172   NET_IPX = 6,
173   NET_ATALK = 7,
174   NET_NETROM = 8,
175   NET_AX25 = 9,
176   NET_BRIDGE = 10,
177   NET_ROSE = 11,
178   NET_IPV6 = 12,
179   NET_X25 = 13,
180   NET_TR = 14,
181   NET_DECNET = 15,
182   NET_ECONET = 16,
183   NET_SCTP = 17,
184   NET_LLC = 18,
185   NET_NETFILTER = 19,
186   NET_DCCP = 20,
187   NET_IRDA = 412,
188 };
189 enum {
190   RANDOM_POOLSIZE = 1,
191   RANDOM_ENTROPY_COUNT = 2,
192   RANDOM_READ_THRESH = 3,
193   RANDOM_WRITE_THRESH = 4,
194   RANDOM_BOOT_ID = 5,
195   RANDOM_UUID = 6
196 };
197 enum {
198   PTY_MAX = 1,
199   PTY_NR = 2
200 };
201 enum {
202   BUS_ISA_MEM_BASE = 1,
203   BUS_ISA_PORT_BASE = 2,
204   BUS_ISA_PORT_SHIFT = 3
205 };
206 enum {
207   NET_CORE_WMEM_MAX = 1,
208   NET_CORE_RMEM_MAX = 2,
209   NET_CORE_WMEM_DEFAULT = 3,
210   NET_CORE_RMEM_DEFAULT = 4,
211   NET_CORE_MAX_BACKLOG = 6,
212   NET_CORE_FASTROUTE = 7,
213   NET_CORE_MSG_COST = 8,
214   NET_CORE_MSG_BURST = 9,
215   NET_CORE_OPTMEM_MAX = 10,
216   NET_CORE_HOT_LIST_LENGTH = 11,
217   NET_CORE_DIVERT_VERSION = 12,
218   NET_CORE_NO_CONG_THRESH = 13,
219   NET_CORE_NO_CONG = 14,
220   NET_CORE_LO_CONG = 15,
221   NET_CORE_MOD_CONG = 16,
222   NET_CORE_DEV_WEIGHT = 17,
223   NET_CORE_SOMAXCONN = 18,
224   NET_CORE_BUDGET = 19,
225   NET_CORE_AEVENT_ETIME = 20,
226   NET_CORE_AEVENT_RSEQTH = 21,
227   NET_CORE_WARNINGS = 22,
228 };
229 enum {
230   NET_UNIX_DESTROY_DELAY = 1,
231   NET_UNIX_DELETE_DELAY = 2,
232   NET_UNIX_MAX_DGRAM_QLEN = 3,
233 };
234 enum {
235   NET_NF_CONNTRACK_MAX = 1,
236   NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT = 2,
237   NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV = 3,
238   NET_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED = 4,
239   NET_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT = 5,
240   NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT = 6,
241   NET_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK = 7,
242   NET_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT = 8,
243   NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE = 9,
244   NET_NF_CONNTRACK_UDP_TIMEOUT = 10,
245   NET_NF_CONNTRACK_UDP_TIMEOUT_STREAM = 11,
246   NET_NF_CONNTRACK_ICMP_TIMEOUT = 12,
247   NET_NF_CONNTRACK_GENERIC_TIMEOUT = 13,
248   NET_NF_CONNTRACK_BUCKETS = 14,
249   NET_NF_CONNTRACK_LOG_INVALID = 15,
250   NET_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS = 16,
251   NET_NF_CONNTRACK_TCP_LOOSE = 17,
252   NET_NF_CONNTRACK_TCP_BE_LIBERAL = 18,
253   NET_NF_CONNTRACK_TCP_MAX_RETRANS = 19,
254   NET_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED = 20,
255   NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT = 21,
256   NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED = 22,
257   NET_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED = 23,
258   NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT = 24,
259   NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD = 25,
260   NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT = 26,
261   NET_NF_CONNTRACK_COUNT = 27,
262   NET_NF_CONNTRACK_ICMPV6_TIMEOUT = 28,
263   NET_NF_CONNTRACK_FRAG6_TIMEOUT = 29,
264   NET_NF_CONNTRACK_FRAG6_LOW_THRESH = 30,
265   NET_NF_CONNTRACK_FRAG6_HIGH_THRESH = 31,
266   NET_NF_CONNTRACK_CHECKSUM = 32,
267 };
268 enum {
269   NET_IPV4_FORWARD = 8,
270   NET_IPV4_DYNADDR = 9,
271   NET_IPV4_CONF = 16,
272   NET_IPV4_NEIGH = 17,
273   NET_IPV4_ROUTE = 18,
274   NET_IPV4_FIB_HASH = 19,
275   NET_IPV4_NETFILTER = 20,
276   NET_IPV4_TCP_TIMESTAMPS = 33,
277   NET_IPV4_TCP_WINDOW_SCALING = 34,
278   NET_IPV4_TCP_SACK = 35,
279   NET_IPV4_TCP_RETRANS_COLLAPSE = 36,
280   NET_IPV4_DEFAULT_TTL = 37,
281   NET_IPV4_AUTOCONFIG = 38,
282   NET_IPV4_NO_PMTU_DISC = 39,
283   NET_IPV4_TCP_SYN_RETRIES = 40,
284   NET_IPV4_IPFRAG_HIGH_THRESH = 41,
285   NET_IPV4_IPFRAG_LOW_THRESH = 42,
286   NET_IPV4_IPFRAG_TIME = 43,
287   NET_IPV4_TCP_MAX_KA_PROBES = 44,
288   NET_IPV4_TCP_KEEPALIVE_TIME = 45,
289   NET_IPV4_TCP_KEEPALIVE_PROBES = 46,
290   NET_IPV4_TCP_RETRIES1 = 47,
291   NET_IPV4_TCP_RETRIES2 = 48,
292   NET_IPV4_TCP_FIN_TIMEOUT = 49,
293   NET_IPV4_IP_MASQ_DEBUG = 50,
294   NET_TCP_SYNCOOKIES = 51,
295   NET_TCP_STDURG = 52,
296   NET_TCP_RFC1337 = 53,
297   NET_TCP_SYN_TAILDROP = 54,
298   NET_TCP_MAX_SYN_BACKLOG = 55,
299   NET_IPV4_LOCAL_PORT_RANGE = 56,
300   NET_IPV4_ICMP_ECHO_IGNORE_ALL = 57,
301   NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS = 58,
302   NET_IPV4_ICMP_SOURCEQUENCH_RATE = 59,
303   NET_IPV4_ICMP_DESTUNREACH_RATE = 60,
304   NET_IPV4_ICMP_TIMEEXCEED_RATE = 61,
305   NET_IPV4_ICMP_PARAMPROB_RATE = 62,
306   NET_IPV4_ICMP_ECHOREPLY_RATE = 63,
307   NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES = 64,
308   NET_IPV4_IGMP_MAX_MEMBERSHIPS = 65,
309   NET_TCP_TW_RECYCLE = 66,
310   NET_IPV4_ALWAYS_DEFRAG = 67,
311   NET_IPV4_TCP_KEEPALIVE_INTVL = 68,
312   NET_IPV4_INET_PEER_THRESHOLD = 69,
313   NET_IPV4_INET_PEER_MINTTL = 70,
314   NET_IPV4_INET_PEER_MAXTTL = 71,
315   NET_IPV4_INET_PEER_GC_MINTIME = 72,
316   NET_IPV4_INET_PEER_GC_MAXTIME = 73,
317   NET_TCP_ORPHAN_RETRIES = 74,
318   NET_TCP_ABORT_ON_OVERFLOW = 75,
319   NET_TCP_SYNACK_RETRIES = 76,
320   NET_TCP_MAX_ORPHANS = 77,
321   NET_TCP_MAX_TW_BUCKETS = 78,
322   NET_TCP_FACK = 79,
323   NET_TCP_REORDERING = 80,
324   NET_TCP_ECN = 81,
325   NET_TCP_DSACK = 82,
326   NET_TCP_MEM = 83,
327   NET_TCP_WMEM = 84,
328   NET_TCP_RMEM = 85,
329   NET_TCP_APP_WIN = 86,
330   NET_TCP_ADV_WIN_SCALE = 87,
331   NET_IPV4_NONLOCAL_BIND = 88,
332   NET_IPV4_ICMP_RATELIMIT = 89,
333   NET_IPV4_ICMP_RATEMASK = 90,
334   NET_TCP_TW_REUSE = 91,
335   NET_TCP_FRTO = 92,
336   NET_TCP_LOW_LATENCY = 93,
337   NET_IPV4_IPFRAG_SECRET_INTERVAL = 94,
338   NET_IPV4_IGMP_MAX_MSF = 96,
339   NET_TCP_NO_METRICS_SAVE = 97,
340   NET_TCP_DEFAULT_WIN_SCALE = 105,
341   NET_TCP_MODERATE_RCVBUF = 106,
342   NET_TCP_TSO_WIN_DIVISOR = 107,
343   NET_TCP_BIC_BETA = 108,
344   NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR = 109,
345   NET_TCP_CONG_CONTROL = 110,
346   NET_TCP_ABC = 111,
347   NET_IPV4_IPFRAG_MAX_DIST = 112,
348   NET_TCP_MTU_PROBING = 113,
349   NET_TCP_BASE_MSS = 114,
350   NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS = 115,
351   NET_TCP_DMA_COPYBREAK = 116,
352   NET_TCP_SLOW_START_AFTER_IDLE = 117,
353   NET_CIPSOV4_CACHE_ENABLE = 118,
354   NET_CIPSOV4_CACHE_BUCKET_SIZE = 119,
355   NET_CIPSOV4_RBM_OPTFMT = 120,
356   NET_CIPSOV4_RBM_STRICTVALID = 121,
357   NET_TCP_AVAIL_CONG_CONTROL = 122,
358   NET_TCP_ALLOWED_CONG_CONTROL = 123,
359   NET_TCP_MAX_SSTHRESH = 124,
360   NET_TCP_FRTO_RESPONSE = 125,
361 };
362 enum {
363   NET_IPV4_ROUTE_FLUSH = 1,
364   NET_IPV4_ROUTE_MIN_DELAY = 2,
365   NET_IPV4_ROUTE_MAX_DELAY = 3,
366   NET_IPV4_ROUTE_GC_THRESH = 4,
367   NET_IPV4_ROUTE_MAX_SIZE = 5,
368   NET_IPV4_ROUTE_GC_MIN_INTERVAL = 6,
369   NET_IPV4_ROUTE_GC_TIMEOUT = 7,
370   NET_IPV4_ROUTE_GC_INTERVAL = 8,
371   NET_IPV4_ROUTE_REDIRECT_LOAD = 9,
372   NET_IPV4_ROUTE_REDIRECT_NUMBER = 10,
373   NET_IPV4_ROUTE_REDIRECT_SILENCE = 11,
374   NET_IPV4_ROUTE_ERROR_COST = 12,
375   NET_IPV4_ROUTE_ERROR_BURST = 13,
376   NET_IPV4_ROUTE_GC_ELASTICITY = 14,
377   NET_IPV4_ROUTE_MTU_EXPIRES = 15,
378   NET_IPV4_ROUTE_MIN_PMTU = 16,
379   NET_IPV4_ROUTE_MIN_ADVMSS = 17,
380   NET_IPV4_ROUTE_SECRET_INTERVAL = 18,
381   NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS = 19,
382 };
383 enum {
384   NET_PROTO_CONF_ALL = - 2,
385   NET_PROTO_CONF_DEFAULT = - 3
386 };
387 enum {
388   NET_IPV4_CONF_FORWARDING = 1,
389   NET_IPV4_CONF_MC_FORWARDING = 2,
390   NET_IPV4_CONF_PROXY_ARP = 3,
391   NET_IPV4_CONF_ACCEPT_REDIRECTS = 4,
392   NET_IPV4_CONF_SECURE_REDIRECTS = 5,
393   NET_IPV4_CONF_SEND_REDIRECTS = 6,
394   NET_IPV4_CONF_SHARED_MEDIA = 7,
395   NET_IPV4_CONF_RP_FILTER = 8,
396   NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE = 9,
397   NET_IPV4_CONF_BOOTP_RELAY = 10,
398   NET_IPV4_CONF_LOG_MARTIANS = 11,
399   NET_IPV4_CONF_TAG = 12,
400   NET_IPV4_CONF_ARPFILTER = 13,
401   NET_IPV4_CONF_MEDIUM_ID = 14,
402   NET_IPV4_CONF_NOXFRM = 15,
403   NET_IPV4_CONF_NOPOLICY = 16,
404   NET_IPV4_CONF_FORCE_IGMP_VERSION = 17,
405   NET_IPV4_CONF_ARP_ANNOUNCE = 18,
406   NET_IPV4_CONF_ARP_IGNORE = 19,
407   NET_IPV4_CONF_PROMOTE_SECONDARIES = 20,
408   NET_IPV4_CONF_ARP_ACCEPT = 21,
409   NET_IPV4_CONF_ARP_NOTIFY = 22,
410 };
411 enum {
412   NET_IPV4_NF_CONNTRACK_MAX = 1,
413   NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT = 2,
414   NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV = 3,
415   NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED = 4,
416   NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT = 5,
417   NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT = 6,
418   NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK = 7,
419   NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT = 8,
420   NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE = 9,
421   NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT = 10,
422   NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT_STREAM = 11,
423   NET_IPV4_NF_CONNTRACK_ICMP_TIMEOUT = 12,
424   NET_IPV4_NF_CONNTRACK_GENERIC_TIMEOUT = 13,
425   NET_IPV4_NF_CONNTRACK_BUCKETS = 14,
426   NET_IPV4_NF_CONNTRACK_LOG_INVALID = 15,
427   NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS = 16,
428   NET_IPV4_NF_CONNTRACK_TCP_LOOSE = 17,
429   NET_IPV4_NF_CONNTRACK_TCP_BE_LIBERAL = 18,
430   NET_IPV4_NF_CONNTRACK_TCP_MAX_RETRANS = 19,
431   NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED = 20,
432   NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT = 21,
433   NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED = 22,
434   NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED = 23,
435   NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT = 24,
436   NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD = 25,
437   NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT = 26,
438   NET_IPV4_NF_CONNTRACK_COUNT = 27,
439   NET_IPV4_NF_CONNTRACK_CHECKSUM = 28,
440 };
441 enum {
442   NET_IPV6_CONF = 16,
443   NET_IPV6_NEIGH = 17,
444   NET_IPV6_ROUTE = 18,
445   NET_IPV6_ICMP = 19,
446   NET_IPV6_BINDV6ONLY = 20,
447   NET_IPV6_IP6FRAG_HIGH_THRESH = 21,
448   NET_IPV6_IP6FRAG_LOW_THRESH = 22,
449   NET_IPV6_IP6FRAG_TIME = 23,
450   NET_IPV6_IP6FRAG_SECRET_INTERVAL = 24,
451   NET_IPV6_MLD_MAX_MSF = 25,
452 };
453 enum {
454   NET_IPV6_ROUTE_FLUSH = 1,
455   NET_IPV6_ROUTE_GC_THRESH = 2,
456   NET_IPV6_ROUTE_MAX_SIZE = 3,
457   NET_IPV6_ROUTE_GC_MIN_INTERVAL = 4,
458   NET_IPV6_ROUTE_GC_TIMEOUT = 5,
459   NET_IPV6_ROUTE_GC_INTERVAL = 6,
460   NET_IPV6_ROUTE_GC_ELASTICITY = 7,
461   NET_IPV6_ROUTE_MTU_EXPIRES = 8,
462   NET_IPV6_ROUTE_MIN_ADVMSS = 9,
463   NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS = 10
464 };
465 enum {
466   NET_IPV6_FORWARDING = 1,
467   NET_IPV6_HOP_LIMIT = 2,
468   NET_IPV6_MTU = 3,
469   NET_IPV6_ACCEPT_RA = 4,
470   NET_IPV6_ACCEPT_REDIRECTS = 5,
471   NET_IPV6_AUTOCONF = 6,
472   NET_IPV6_DAD_TRANSMITS = 7,
473   NET_IPV6_RTR_SOLICITS = 8,
474   NET_IPV6_RTR_SOLICIT_INTERVAL = 9,
475   NET_IPV6_RTR_SOLICIT_DELAY = 10,
476   NET_IPV6_USE_TEMPADDR = 11,
477   NET_IPV6_TEMP_VALID_LFT = 12,
478   NET_IPV6_TEMP_PREFERED_LFT = 13,
479   NET_IPV6_REGEN_MAX_RETRY = 14,
480   NET_IPV6_MAX_DESYNC_FACTOR = 15,
481   NET_IPV6_MAX_ADDRESSES = 16,
482   NET_IPV6_FORCE_MLD_VERSION = 17,
483   NET_IPV6_ACCEPT_RA_DEFRTR = 18,
484   NET_IPV6_ACCEPT_RA_PINFO = 19,
485   NET_IPV6_ACCEPT_RA_RTR_PREF = 20,
486   NET_IPV6_RTR_PROBE_INTERVAL = 21,
487   NET_IPV6_ACCEPT_RA_RT_INFO_MAX_PLEN = 22,
488   NET_IPV6_PROXY_NDP = 23,
489   NET_IPV6_ACCEPT_SOURCE_ROUTE = 25,
490   NET_IPV6_ACCEPT_RA_FROM_LOCAL = 26,
491   NET_IPV6_ACCEPT_RA_RT_INFO_MIN_PLEN = 27,
492   __NET_IPV6_MAX
493 };
494 enum {
495   NET_IPV6_ICMP_RATELIMIT = 1,
496   NET_IPV6_ICMP_ECHO_IGNORE_ALL = 2
497 };
498 enum {
499   NET_NEIGH_MCAST_SOLICIT = 1,
500   NET_NEIGH_UCAST_SOLICIT = 2,
501   NET_NEIGH_APP_SOLICIT = 3,
502   NET_NEIGH_RETRANS_TIME = 4,
503   NET_NEIGH_REACHABLE_TIME = 5,
504   NET_NEIGH_DELAY_PROBE_TIME = 6,
505   NET_NEIGH_GC_STALE_TIME = 7,
506   NET_NEIGH_UNRES_QLEN = 8,
507   NET_NEIGH_PROXY_QLEN = 9,
508   NET_NEIGH_ANYCAST_DELAY = 10,
509   NET_NEIGH_PROXY_DELAY = 11,
510   NET_NEIGH_LOCKTIME = 12,
511   NET_NEIGH_GC_INTERVAL = 13,
512   NET_NEIGH_GC_THRESH1 = 14,
513   NET_NEIGH_GC_THRESH2 = 15,
514   NET_NEIGH_GC_THRESH3 = 16,
515   NET_NEIGH_RETRANS_TIME_MS = 17,
516   NET_NEIGH_REACHABLE_TIME_MS = 18,
517 };
518 enum {
519   NET_DCCP_DEFAULT = 1,
520 };
521 enum {
522   NET_IPX_PPROP_BROADCASTING = 1,
523   NET_IPX_FORWARDING = 2
524 };
525 enum {
526   NET_LLC2 = 1,
527   NET_LLC_STATION = 2,
528 };
529 enum {
530   NET_LLC2_TIMEOUT = 1,
531 };
532 enum {
533   NET_LLC_STATION_ACK_TIMEOUT = 1,
534 };
535 enum {
536   NET_LLC2_ACK_TIMEOUT = 1,
537   NET_LLC2_P_TIMEOUT = 2,
538   NET_LLC2_REJ_TIMEOUT = 3,
539   NET_LLC2_BUSY_TIMEOUT = 4,
540 };
541 enum {
542   NET_ATALK_AARP_EXPIRY_TIME = 1,
543   NET_ATALK_AARP_TICK_TIME = 2,
544   NET_ATALK_AARP_RETRANSMIT_LIMIT = 3,
545   NET_ATALK_AARP_RESOLVE_TIME = 4
546 };
547 enum {
548   NET_NETROM_DEFAULT_PATH_QUALITY = 1,
549   NET_NETROM_OBSOLESCENCE_COUNT_INITIALISER = 2,
550   NET_NETROM_NETWORK_TTL_INITIALISER = 3,
551   NET_NETROM_TRANSPORT_TIMEOUT = 4,
552   NET_NETROM_TRANSPORT_MAXIMUM_TRIES = 5,
553   NET_NETROM_TRANSPORT_ACKNOWLEDGE_DELAY = 6,
554   NET_NETROM_TRANSPORT_BUSY_DELAY = 7,
555   NET_NETROM_TRANSPORT_REQUESTED_WINDOW_SIZE = 8,
556   NET_NETROM_TRANSPORT_NO_ACTIVITY_TIMEOUT = 9,
557   NET_NETROM_ROUTING_CONTROL = 10,
558   NET_NETROM_LINK_FAILS_COUNT = 11,
559   NET_NETROM_RESET = 12
560 };
561 enum {
562   NET_AX25_IP_DEFAULT_MODE = 1,
563   NET_AX25_DEFAULT_MODE = 2,
564   NET_AX25_BACKOFF_TYPE = 3,
565   NET_AX25_CONNECT_MODE = 4,
566   NET_AX25_STANDARD_WINDOW = 5,
567   NET_AX25_EXTENDED_WINDOW = 6,
568   NET_AX25_T1_TIMEOUT = 7,
569   NET_AX25_T2_TIMEOUT = 8,
570   NET_AX25_T3_TIMEOUT = 9,
571   NET_AX25_IDLE_TIMEOUT = 10,
572   NET_AX25_N2 = 11,
573   NET_AX25_PACLEN = 12,
574   NET_AX25_PROTOCOL = 13,
575   NET_AX25_DAMA_SLAVE_TIMEOUT = 14
576 };
577 enum {
578   NET_ROSE_RESTART_REQUEST_TIMEOUT = 1,
579   NET_ROSE_CALL_REQUEST_TIMEOUT = 2,
580   NET_ROSE_RESET_REQUEST_TIMEOUT = 3,
581   NET_ROSE_CLEAR_REQUEST_TIMEOUT = 4,
582   NET_ROSE_ACK_HOLD_BACK_TIMEOUT = 5,
583   NET_ROSE_ROUTING_CONTROL = 6,
584   NET_ROSE_LINK_FAIL_TIMEOUT = 7,
585   NET_ROSE_MAX_VCS = 8,
586   NET_ROSE_WINDOW_SIZE = 9,
587   NET_ROSE_NO_ACTIVITY_TIMEOUT = 10
588 };
589 enum {
590   NET_X25_RESTART_REQUEST_TIMEOUT = 1,
591   NET_X25_CALL_REQUEST_TIMEOUT = 2,
592   NET_X25_RESET_REQUEST_TIMEOUT = 3,
593   NET_X25_CLEAR_REQUEST_TIMEOUT = 4,
594   NET_X25_ACK_HOLD_BACK_TIMEOUT = 5,
595   NET_X25_FORWARD = 6
596 };
597 enum {
598   NET_TR_RIF_TIMEOUT = 1
599 };
600 enum {
601   NET_DECNET_NODE_TYPE = 1,
602   NET_DECNET_NODE_ADDRESS = 2,
603   NET_DECNET_NODE_NAME = 3,
604   NET_DECNET_DEFAULT_DEVICE = 4,
605   NET_DECNET_TIME_WAIT = 5,
606   NET_DECNET_DN_COUNT = 6,
607   NET_DECNET_DI_COUNT = 7,
608   NET_DECNET_DR_COUNT = 8,
609   NET_DECNET_DST_GC_INTERVAL = 9,
610   NET_DECNET_CONF = 10,
611   NET_DECNET_NO_FC_MAX_CWND = 11,
612   NET_DECNET_MEM = 12,
613   NET_DECNET_RMEM = 13,
614   NET_DECNET_WMEM = 14,
615   NET_DECNET_DEBUG_LEVEL = 255
616 };
617 enum {
618   NET_DECNET_CONF_LOOPBACK = - 2,
619   NET_DECNET_CONF_DDCMP = - 3,
620   NET_DECNET_CONF_PPP = - 4,
621   NET_DECNET_CONF_X25 = - 5,
622   NET_DECNET_CONF_GRE = - 6,
623   NET_DECNET_CONF_ETHER = - 7
624 };
625 enum {
626   NET_DECNET_CONF_DEV_PRIORITY = 1,
627   NET_DECNET_CONF_DEV_T1 = 2,
628   NET_DECNET_CONF_DEV_T2 = 3,
629   NET_DECNET_CONF_DEV_T3 = 4,
630   NET_DECNET_CONF_DEV_FORWARDING = 5,
631   NET_DECNET_CONF_DEV_BLKSIZE = 6,
632   NET_DECNET_CONF_DEV_STATE = 7
633 };
634 enum {
635   NET_SCTP_RTO_INITIAL = 1,
636   NET_SCTP_RTO_MIN = 2,
637   NET_SCTP_RTO_MAX = 3,
638   NET_SCTP_RTO_ALPHA = 4,
639   NET_SCTP_RTO_BETA = 5,
640   NET_SCTP_VALID_COOKIE_LIFE = 6,
641   NET_SCTP_ASSOCIATION_MAX_RETRANS = 7,
642   NET_SCTP_PATH_MAX_RETRANS = 8,
643   NET_SCTP_MAX_INIT_RETRANSMITS = 9,
644   NET_SCTP_HB_INTERVAL = 10,
645   NET_SCTP_PRESERVE_ENABLE = 11,
646   NET_SCTP_MAX_BURST = 12,
647   NET_SCTP_ADDIP_ENABLE = 13,
648   NET_SCTP_PRSCTP_ENABLE = 14,
649   NET_SCTP_SNDBUF_POLICY = 15,
650   NET_SCTP_SACK_TIMEOUT = 16,
651   NET_SCTP_RCVBUF_POLICY = 17,
652 };
653 enum {
654   NET_BRIDGE_NF_CALL_ARPTABLES = 1,
655   NET_BRIDGE_NF_CALL_IPTABLES = 2,
656   NET_BRIDGE_NF_CALL_IP6TABLES = 3,
657   NET_BRIDGE_NF_FILTER_VLAN_TAGGED = 4,
658   NET_BRIDGE_NF_FILTER_PPPOE_TAGGED = 5,
659 };
660 enum {
661   FS_NRINODE = 1,
662   FS_STATINODE = 2,
663   FS_MAXINODE = 3,
664   FS_NRDQUOT = 4,
665   FS_MAXDQUOT = 5,
666   FS_NRFILE = 6,
667   FS_MAXFILE = 7,
668   FS_DENTRY = 8,
669   FS_NRSUPER = 9,
670   FS_MAXSUPER = 10,
671   FS_OVERFLOWUID = 11,
672   FS_OVERFLOWGID = 12,
673   FS_LEASES = 13,
674   FS_DIR_NOTIFY = 14,
675   FS_LEASE_TIME = 15,
676   FS_DQSTATS = 16,
677   FS_XFS = 17,
678   FS_AIO_NR = 18,
679   FS_AIO_MAX_NR = 19,
680   FS_INOTIFY = 20,
681   FS_OCFS2 = 988,
682 };
683 enum {
684   FS_DQ_LOOKUPS = 1,
685   FS_DQ_DROPS = 2,
686   FS_DQ_READS = 3,
687   FS_DQ_WRITES = 4,
688   FS_DQ_CACHE_HITS = 5,
689   FS_DQ_ALLOCATED = 6,
690   FS_DQ_FREE = 7,
691   FS_DQ_SYNCS = 8,
692   FS_DQ_WARNINGS = 9,
693 };
694 enum {
695   DEV_CDROM = 1,
696   DEV_HWMON = 2,
697   DEV_PARPORT = 3,
698   DEV_RAID = 4,
699   DEV_MAC_HID = 5,
700   DEV_SCSI = 6,
701   DEV_IPMI = 7,
702 };
703 enum {
704   DEV_CDROM_INFO = 1,
705   DEV_CDROM_AUTOCLOSE = 2,
706   DEV_CDROM_AUTOEJECT = 3,
707   DEV_CDROM_DEBUG = 4,
708   DEV_CDROM_LOCK = 5,
709   DEV_CDROM_CHECK_MEDIA = 6
710 };
711 enum {
712   DEV_PARPORT_DEFAULT = - 3
713 };
714 enum {
715   DEV_RAID_SPEED_LIMIT_MIN = 1,
716   DEV_RAID_SPEED_LIMIT_MAX = 2
717 };
718 enum {
719   DEV_PARPORT_DEFAULT_TIMESLICE = 1,
720   DEV_PARPORT_DEFAULT_SPINTIME = 2
721 };
722 enum {
723   DEV_PARPORT_SPINTIME = 1,
724   DEV_PARPORT_BASE_ADDR = 2,
725   DEV_PARPORT_IRQ = 3,
726   DEV_PARPORT_DMA = 4,
727   DEV_PARPORT_MODES = 5,
728   DEV_PARPORT_DEVICES = 6,
729   DEV_PARPORT_AUTOPROBE = 16
730 };
731 enum {
732   DEV_PARPORT_DEVICES_ACTIVE = - 3,
733 };
734 enum {
735   DEV_PARPORT_DEVICE_TIMESLICE = 1,
736 };
737 enum {
738   DEV_MAC_HID_KEYBOARD_SENDS_LINUX_KEYCODES = 1,
739   DEV_MAC_HID_KEYBOARD_LOCK_KEYCODES = 2,
740   DEV_MAC_HID_MOUSE_BUTTON_EMULATION = 3,
741   DEV_MAC_HID_MOUSE_BUTTON2_KEYCODE = 4,
742   DEV_MAC_HID_MOUSE_BUTTON3_KEYCODE = 5,
743   DEV_MAC_HID_ADB_MOUSE_SENDS_KEYCODES = 6
744 };
745 enum {
746   DEV_SCSI_LOGGING_LEVEL = 1,
747 };
748 enum {
749   DEV_IPMI_POWEROFF_POWERCYCLE = 1,
750 };
751 enum {
752   ABI_DEFHANDLER_COFF = 1,
753   ABI_DEFHANDLER_ELF = 2,
754   ABI_DEFHANDLER_LCALL7 = 3,
755   ABI_DEFHANDLER_LIBCSO = 4,
756   ABI_TRACE = 5,
757   ABI_FAKE_UTSNAME = 6,
758 };
759 #endif
760