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