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