Home | History | Annotate | Line # | Download | only in common
linux_sysctl.h revision 1.3
      1  1.3  christos /*	$NetBSD: linux_sysctl.h,v 1.3 2005/12/11 12:20:19 christos Exp $	*/
      2  1.1  christos 
      3  1.1  christos /*-
      4  1.1  christos  * Copyright (c) 2002 The NetBSD Foundation, Inc.
      5  1.1  christos  * All rights reserved.
      6  1.1  christos  *
      7  1.1  christos  * This code is derived from software contributed to The NetBSD Foundation
      8  1.1  christos  * by Christos Zoulas.
      9  1.1  christos  *
     10  1.1  christos  * Redistribution and use in source and binary forms, with or without
     11  1.1  christos  * modification, are permitted provided that the following conditions
     12  1.1  christos  * are met:
     13  1.1  christos  * 1. Redistributions of source code must retain the above copyright
     14  1.1  christos  *    notice, this list of conditions and the following disclaimer.
     15  1.1  christos  * 2. Redistributions in binary form must reproduce the above copyright
     16  1.1  christos  *    notice, this list of conditions and the following disclaimer in the
     17  1.1  christos  *    documentation and/or other materials provided with the distribution.
     18  1.1  christos  * 3. All advertising materials mentioning features or use of this software
     19  1.1  christos  *    must display the following acknowledgement:
     20  1.1  christos  *	This product includes software developed by the NetBSD
     21  1.1  christos  *	Foundation, Inc. and its contributors.
     22  1.1  christos  * 4. Neither the name of The NetBSD Foundation nor the names of its
     23  1.1  christos  *    contributors may be used to endorse or promote products derived
     24  1.1  christos  *    from this software without specific prior written permission.
     25  1.1  christos  *
     26  1.1  christos  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
     27  1.1  christos  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     28  1.1  christos  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     29  1.1  christos  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
     30  1.1  christos  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     31  1.1  christos  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     32  1.1  christos  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     33  1.1  christos  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     34  1.1  christos  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     35  1.1  christos  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     36  1.1  christos  * POSSIBILITY OF SUCH DAMAGE.
     37  1.1  christos  */
     38  1.1  christos 
     39  1.1  christos #ifndef _LINUX_SYSCTL_H
     40  1.1  christos #define _LINUX_SYSCTL_H
     41  1.1  christos 
     42  1.1  christos #define LINUX_CTL_MAXNAME					10
     43  1.1  christos 
     44  1.1  christos #define	LINUX_CTL_NONE						0
     45  1.1  christos #define	LINUX_CTL_KERN						1
     46  1.1  christos #define	LINUX_CTL_VM						2
     47  1.1  christos #define	LINUX_CTL_NET						3
     48  1.1  christos #define	LINUX_CTL_PROC						4
     49  1.1  christos #define	LINUX_CTL_FS						5
     50  1.1  christos #define	LINUX_CTL_DEBUG						6
     51  1.1  christos #define	LINUX_CTL_DEV						7
     52  1.1  christos #define	LINUX_CTL_BUS						8
     53  1.1  christos 
     54  1.1  christos 
     55  1.1  christos #define	LINUX_KERN_OSTYPE					1
     56  1.1  christos #define	LINUX_KERN_OSRELEASE					2
     57  1.1  christos #define	LINUX_KERN_OSREV					3
     58  1.1  christos #define	LINUX_KERN_VERSION					4
     59  1.1  christos #define	LINUX_KERN_SECUREMASK					5
     60  1.1  christos #define	LINUX_KERN_PROF						6
     61  1.1  christos #define	LINUX_KERN_NODENAME					7
     62  1.1  christos #define	LINUX_KERN_DOMAINNAME					8
     63  1.1  christos #define	LINUX_KERN_CAP_BSET					14
     64  1.1  christos #define	LINUX_KERN_PANIC					15
     65  1.1  christos #define	LINUX_KERN_REALROOTDEV					16
     66  1.1  christos #define	LINUX_KERN_SPARC_REBOOT					21
     67  1.1  christos #define	LINUX_KERN_CTLALTDEL					22
     68  1.1  christos #define	LINUX_KERN_PRINTK					23
     69  1.1  christos #define	LINUX_KERN_NAMETRANS					24
     70  1.1  christos #define	LINUX_KERN_PPC_HTABRECLAIM				25
     71  1.1  christos #define	LINUX_KERN_PPC_ZEROPAGED				26
     72  1.1  christos #define	LINUX_KERN_PPC_POWERSAVE_NAP				27
     73  1.1  christos #define	LINUX_KERN_MODPROBE					28
     74  1.1  christos #define	LINUX_KERN_SG_BIG_BUFF					29
     75  1.1  christos #define	LINUX_KERN_ACCT						30
     76  1.1  christos #define	LINUX_KERN_PPC_L2CR					31
     77  1.1  christos #define	LINUX_KERN_RTSIGNR					32
     78  1.1  christos #define	LINUX_KERN_RTSIGMAX					33
     79  1.1  christos #define	LINUX_KERN_SHMMAX					34
     80  1.1  christos #define	LINUX_KERN_MSGMAX					35
     81  1.1  christos #define	LINUX_KERN_MSGMNB					36
     82  1.1  christos #define	LINUX_KERN_MSGPOOL					37
     83  1.1  christos #define	LINUX_KERN_SYSRQ					38
     84  1.1  christos #define	LINUX_KERN_MAX_THREADS					39
     85  1.1  christos #define	LINUX_KERN_RANDOM					40
     86  1.1  christos #define	LINUX_KERN_SHMALL					41
     87  1.1  christos #define	LINUX_KERN_MSGMNI					42
     88  1.1  christos #define	LINUX_KERN_SEM						43
     89  1.1  christos #define	LINUX_KERN_SPARC_STOP_A					44
     90  1.1  christos #define	LINUX_KERN_SHMMNI					45
     91  1.1  christos #define	LINUX_KERN_OVERFLOWUID					46
     92  1.1  christos #define	LINUX_KERN_OVERFLOWGID					47
     93  1.1  christos #define	LINUX_KERN_SHMPATH					48
     94  1.1  christos #define	LINUX_KERN_HOTPLUG					49
     95  1.1  christos #define	LINUX_KERN_IEEE_EMULATION_WARNINGS			50
     96  1.1  christos #define	LINUX_KERN_S390_USER_DEBUG_LOGGING			51
     97  1.1  christos #define	LINUX_KERN_PROF_PID					52
     98  1.1  christos 
     99  1.1  christos #define	LINUX_VM_SWAPCTL					1
    100  1.1  christos #define	LINUX_VM_SWAPOUT					2
    101  1.1  christos #define	LINUX_VM_FREEPG						3
    102  1.1  christos #define	LINUX_VM_BDFLUSH					4
    103  1.1  christos #define	LINUX_VM_OVERCOMMIT_MEMORY				5
    104  1.1  christos #define	LINUX_VM_BUFFERMEM					6
    105  1.1  christos #define	LINUX_VM_PAGECACHE					7
    106  1.1  christos #define	LINUX_VM_PAGERDAEMON					8
    107  1.1  christos #define	LINUX_VM_PGT_CACHE					9
    108  1.1  christos #define	LINUX_VM_PAGE_CLUSTER					10
    109  1.1  christos #define	LINUX_VM_MAX_MAP_COUNT					11
    110  1.1  christos 
    111  1.1  christos #define	LINUX_NET_CORE						1
    112  1.1  christos #define	LINUX_NET_ETHER						2
    113  1.1  christos #define	LINUX_NET_802						3
    114  1.1  christos #define	LINUX_NET_UNIX						4
    115  1.1  christos #define	LINUX_NET_IPV4						5
    116  1.1  christos #define	LINUX_NET_IPX						6
    117  1.1  christos #define	LINUX_NET_ATALK						7
    118  1.1  christos #define	LINUX_NET_NETROM					8
    119  1.1  christos #define	LINUX_NET_AX25						9
    120  1.1  christos #define	LINUX_NET_BRIDGE					10
    121  1.1  christos #define	LINUX_NET_ROSE						11
    122  1.1  christos #define	LINUX_NET_IPV6						12
    123  1.1  christos #define	LINUX_NET_X25						13
    124  1.1  christos #define	LINUX_NET_TR						14
    125  1.1  christos #define	LINUX_NET_DECNET					15
    126  1.1  christos #define	LINUX_NET_ECONET					16
    127  1.1  christos #define	LINUX_NET_KHTTPD					17
    128  1.1  christos #define	LINUX_NET_TUX						18
    129  1.1  christos 
    130  1.1  christos #define	LINUX_NET_CORE_RMEM_MAX					2
    131  1.1  christos #define	LINUX_NET_CORE_WMEM_DEFAULT				3
    132  1.1  christos #define	LINUX_NET_CORE_RMEM_DEFAULT				4
    133  1.1  christos #define	LINUX_NET_CORE_MAX_BACKLOG				6
    134  1.1  christos #define	LINUX_NET_CORE_FASTROUTE				7
    135  1.1  christos #define	LINUX_NET_CORE_MSG_COST					8
    136  1.1  christos #define	LINUX_NET_CORE_MSG_BURST				9
    137  1.1  christos #define	LINUX_NET_CORE_OPTMEM_MAX				10
    138  1.1  christos #define	LINUX_NET_CORE_HOT_LIST_LENGTH				11
    139  1.1  christos #define	LINUX_NET_CORE_DIVERT_VERSION				12
    140  1.1  christos #define	LINUX_NET_CORE_NO_CONG_THRESH				13
    141  1.1  christos #define	LINUX_NET_CORE_NO_CONG					14
    142  1.1  christos #define	LINUX_NET_CORE_LO_CONG					15
    143  1.1  christos #define	LINUX_NET_CORE_MOD_CONG					16
    144  1.1  christos 
    145  1.1  christos #define	LINUX_NET_UNIX_DESTROY_DELAY				1
    146  1.1  christos #define	LINUX_NET_UNIX_DELETE_DELAY				2
    147  1.1  christos #define	LINUX_NET_UNIX_MAX_DGRAM_QLEN				3
    148  1.1  christos 
    149  1.1  christos #define	LINUX_NET_IPV4_FORWARD					8
    150  1.1  christos #define	LINUX_NET_IPV4_DYNADDR					9
    151  1.1  christos #define	LINUX_NET_IPV4_CONF					16
    152  1.1  christos #define	LINUX_NET_IPV4_NEIGH					17
    153  1.1  christos #define	LINUX_NET_IPV4_ROUTE					18
    154  1.1  christos #define	LINUX_NET_IPV4_FIB_HASH					19
    155  1.1  christos #define	LINUX_NET_IPV4_TCP_TIMESTAMPS				33
    156  1.1  christos #define	LINUX_NET_IPV4_TCP_WINDOW_SCALING			34
    157  1.1  christos #define	LINUX_NET_IPV4_TCP_SACK					35
    158  1.1  christos #define	LINUX_NET_IPV4_TCP_RETRANS_COLLAPSE			36
    159  1.1  christos #define	LINUX_NET_IPV4_DEFAULT_TTL				37
    160  1.1  christos #define	LINUX_NET_IPV4_AUTOCONFIG				38
    161  1.1  christos #define	LINUX_NET_IPV4_NO_PMTU_DISC				39
    162  1.1  christos #define	LINUX_NET_IPV4_TCP_SYN_RETRIES				40
    163  1.1  christos #define	LINUX_NET_IPV4_IPFRAG_HIGH_THRESH			41
    164  1.1  christos #define	LINUX_NET_IPV4_IPFRAG_LOW_THRESH			42
    165  1.1  christos #define	LINUX_NET_IPV4_IPFRAG_TIME				43
    166  1.1  christos #define	LINUX_NET_IPV4_TCP_MAX_KA_PROBES			44
    167  1.1  christos #define	LINUX_NET_IPV4_TCP_KEEPALIVE_TIME			45
    168  1.1  christos #define	LINUX_NET_IPV4_TCP_KEEPALIVE_PROBES			46
    169  1.1  christos #define	LINUX_NET_IPV4_TCP_RETRIES1				47
    170  1.1  christos #define	LINUX_NET_IPV4_TCP_RETRIES2				48
    171  1.1  christos #define	LINUX_NET_IPV4_TCP_FIN_TIMEOUT				49
    172  1.1  christos #define	LINUX_NET_IPV4_IP_MASQ_DEBUG				50
    173  1.1  christos #define	LINUX_NET_TCP_SYNCOOKIES				51
    174  1.1  christos #define	LINUX_NET_TCP_STDURG					52
    175  1.1  christos #define	LINUX_NET_TCP_RFC1337					53
    176  1.1  christos #define	LINUX_NET_TCP_SYN_TAILDROP				54
    177  1.1  christos #define	LINUX_NET_TCP_MAX_SYN_BACKLOG				55
    178  1.1  christos #define	LINUX_NET_IPV4_LOCAL_PORT_RANGE				56
    179  1.1  christos #define	LINUX_NET_IPV4_ICMP_ECHO_IGNORE_ALL			57
    180  1.1  christos #define	LINUX_NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS		58
    181  1.1  christos #define	LINUX_NET_IPV4_ICMP_SOURCEQUENCH_RATE			59
    182  1.1  christos #define	LINUX_NET_IPV4_ICMP_DESTUNREACH_RATE			60
    183  1.1  christos #define	LINUX_NET_IPV4_ICMP_TIMEEXCEED_RATE			61
    184  1.1  christos #define	LINUX_NET_IPV4_ICMP_PARAMPROB_RATE			62
    185  1.1  christos #define	LINUX_NET_IPV4_ICMP_ECHOREPLY_RATE			63
    186  1.1  christos #define	LINUX_NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES	64
    187  1.1  christos #define	LINUX_NET_IPV4_IGMP_MAX_MEMBERSHIPS			65
    188  1.1  christos #define	LINUX_NET_TCP_TW_RECYCLE				66
    189  1.1  christos #define	LINUX_NET_IPV4_ALWAYS_DEFRAG				67
    190  1.1  christos #define	LINUX_NET_IPV4_TCP_KEEPALIVE_INTVL			68
    191  1.1  christos #define	LINUX_NET_IPV4_INET_PEER_THRESHOLD			69
    192  1.1  christos #define	LINUX_NET_IPV4_INET_PEER_MINTTL				70
    193  1.1  christos #define	LINUX_NET_IPV4_INET_PEER_MAXTTL				71
    194  1.1  christos #define	LINUX_NET_IPV4_INET_PEER_GC_MINTIME			72
    195  1.1  christos #define	LINUX_NET_IPV4_INET_PEER_GC_MAXTIME			73
    196  1.1  christos #define	LINUX_NET_TCP_ORPHAN_RETRIES				74
    197  1.1  christos #define	LINUX_NET_TCP_ABORT_ON_OVERFLOW				75
    198  1.1  christos #define	LINUX_NET_TCP_SYNACK_RETRIES				76
    199  1.1  christos #define	LINUX_NET_TCP_MAX_ORPHANS				77
    200  1.1  christos #define	LINUX_NET_TCP_MAX_TW_BUCKETS				78
    201  1.1  christos #define	LINUX_NET_TCP_FACK					79
    202  1.1  christos #define	LINUX_NET_TCP_REORDERING				80
    203  1.1  christos #define	LINUX_NET_TCP_ECN					81
    204  1.1  christos #define	LINUX_NET_TCP_DSACK					82
    205  1.1  christos #define	LINUX_NET_TCP_MEM					83
    206  1.1  christos #define	LINUX_NET_TCP_WMEM					84
    207  1.1  christos #define	LINUX_NET_TCP_RMEM					85
    208  1.1  christos #define	LINUX_NET_TCP_APP_WIN					86
    209  1.1  christos #define	LINUX_NET_TCP_ADV_WIN_SCALE				87
    210  1.1  christos #define	LINUX_NET_IPV4_NONLOCAL_BIND				88
    211  1.1  christos 
    212  1.1  christos #define	LINUX_NET_IPV4_ROUTE_FLUSH				1
    213  1.1  christos #define	LINUX_NET_IPV4_ROUTE_MIN_DELAY				2
    214  1.1  christos #define	LINUX_NET_IPV4_ROUTE_MAX_DELAY				3
    215  1.1  christos #define	LINUX_NET_IPV4_ROUTE_GC_THRESH				4
    216  1.1  christos #define	LINUX_NET_IPV4_ROUTE_MAX_SIZE				5
    217  1.1  christos #define	LINUX_NET_IPV4_ROUTE_GC_MIN_INTERVAL			6
    218  1.1  christos #define	LINUX_NET_IPV4_ROUTE_GC_TIMEOUT				7
    219  1.1  christos #define	LINUX_NET_IPV4_ROUTE_GC_INTERVAL			8
    220  1.1  christos #define	LINUX_NET_IPV4_ROUTE_REDIRECT_LOAD			9
    221  1.1  christos #define	LINUX_NET_IPV4_ROUTE_REDIRECT_NUMBER			10
    222  1.1  christos #define	LINUX_NET_IPV4_ROUTE_REDIRECT_SILENCE			11
    223  1.1  christos #define	LINUX_NET_IPV4_ROUTE_ERROR_COST				12
    224  1.1  christos #define	LINUX_NET_IPV4_ROUTE_ERROR_BURST			13
    225  1.1  christos #define	LINUX_NET_IPV4_ROUTE_GC_ELASTICITY			14
    226  1.1  christos #define	LINUX_NET_IPV4_ROUTE_MTU_EXPIRES			15
    227  1.1  christos #define	LINUX_NET_IPV4_ROUTE_MIN_PMTU				16
    228  1.1  christos #define	LINUX_NET_IPV4_ROUTE_MIN_ADVMSS				17
    229  1.1  christos 
    230  1.1  christos #define	LINUX_NET_PROTO_CONF_ALL				-2
    231  1.1  christos #define	LINUX_NET_PROTO_CONF_DEFAULT				-3
    232  1.1  christos 
    233  1.1  christos #define	LINUX_NET_IPV4_CONF_FORWARDING				1
    234  1.1  christos #define	LINUX_NET_IPV4_CONF_MC_FORWARDING			2
    235  1.1  christos #define	LINUX_NET_IPV4_CONF_PROXY_ARP				3
    236  1.1  christos #define	LINUX_NET_IPV4_CONF_ACCEPT_REDIRECTS			4
    237  1.1  christos #define	LINUX_NET_IPV4_CONF_SECURE_REDIRECTS			5
    238  1.1  christos #define	LINUX_NET_IPV4_CONF_SEND_REDIRECTS			6
    239  1.1  christos #define	LINUX_NET_IPV4_CONF_SHARED_MEDIA			7
    240  1.1  christos #define	LINUX_NET_IPV4_CONF_RP_FILTER				8
    241  1.1  christos #define	LINUX_NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE			9
    242  1.1  christos #define	LINUX_NET_IPV4_CONF_BOOTP_RELAY				10
    243  1.1  christos #define	LINUX_NET_IPV4_CONF_LOG_MARTIANS			11
    244  1.1  christos #define	LINUX_NET_IPV4_CONF_TAG					12
    245  1.1  christos 
    246  1.1  christos #define	LINUX_NET_IPV6_ROUTE_FLUSH				1
    247  1.1  christos #define	LINUX_NET_IPV6_ROUTE_GC_THRESH				2
    248  1.1  christos #define	LINUX_NET_IPV6_ROUTE_MAX_SIZE				3
    249  1.1  christos #define	LINUX_NET_IPV6_ROUTE_GC_MIN_INTERVAL			4
    250  1.1  christos #define	LINUX_NET_IPV6_ROUTE_GC_TIMEOUT				5
    251  1.1  christos #define	LINUX_NET_IPV6_ROUTE_GC_INTERVAL			6
    252  1.1  christos #define	LINUX_NET_IPV6_ROUTE_GC_ELASTICITY			7
    253  1.1  christos #define	LINUX_NET_IPV6_ROUTE_MTU_EXPIRES			8
    254  1.1  christos #define	LINUX_NET_IPV6_ROUTE_MIN_ADVMSS				9
    255  1.1  christos 
    256  1.1  christos #define	LINUX_NET_IPV6_FORWARDING				1
    257  1.1  christos #define	LINUX_NET_IPV6_HOP_LIMIT				2
    258  1.1  christos #define	LINUX_NET_IPV6_MTU					3
    259  1.1  christos #define	LINUX_NET_IPV6_ACCEPT_RA				4
    260  1.1  christos #define	LINUX_NET_IPV6_ACCEPT_REDIRECTS				5
    261  1.1  christos #define	LINUX_NET_IPV6_AUTOCONF					6
    262  1.1  christos #define	LINUX_NET_IPV6_DAD_TRANSMITS				7
    263  1.1  christos #define	LINUX_NET_IPV6_RTR_SOLICITS				8
    264  1.1  christos #define	LINUX_NET_IPV6_RTR_SOLICIT_INTERVAL			9
    265  1.1  christos #define	LINUX_NET_IPV6_RTR_SOLICIT_DELAY			10
    266  1.1  christos 
    267  1.1  christos #define	LINUX_NET_NEIGH_MCAST_SOLICIT				1
    268  1.1  christos #define	LINUX_NET_NEIGH_UCAST_SOLICIT				2
    269  1.1  christos #define	LINUX_NET_NEIGH_APP_SOLICIT				3
    270  1.1  christos #define	LINUX_NET_NEIGH_RETRANS_TIME				4
    271  1.1  christos #define	LINUX_NET_NEIGH_REACHABLE_TIME				5
    272  1.1  christos #define	LINUX_NET_NEIGH_DELAY_PROBE_TIME			6
    273  1.1  christos #define	LINUX_NET_NEIGH_GC_STALE_TIME				7
    274  1.1  christos #define	LINUX_NET_NEIGH_UNRES_QLEN				8
    275  1.1  christos #define	LINUX_NET_NEIGH_PROXY_QLEN				9
    276  1.1  christos #define	LINUX_NET_NEIGH_ANYCAST_DELAY				10
    277  1.1  christos #define	LINUX_NET_NEIGH_PROXY_DELAY				11
    278  1.1  christos #define	LINUX_NET_NEIGH_LOCKTIME				12
    279  1.1  christos #define	LINUX_NET_NEIGH_GC_INTERVAL				13
    280  1.1  christos #define	LINUX_NET_NEIGH_GC_THRESH1				14
    281  1.1  christos #define	LINUX_NET_NEIGH_GC_THRESH2				15
    282  1.1  christos #define	LINUX_NET_NEIGH_GC_THRESH3				16
    283  1.1  christos 
    284  1.1  christos #define	LINUX_NET_IPX_PPROP_BROADCASTING			1
    285  1.1  christos #define	LINUX_NET_IPX_FORWARDING				2
    286  1.1  christos 
    287  1.1  christos #define	LINUX_NET_ATALK_AARP_EXPIRY_TIME			1
    288  1.1  christos #define	LINUX_NET_ATALK_AARP_TICK_TIME				2
    289  1.1  christos #define	LINUX_NET_ATALK_AARP_RETRANSMIT_LIMIT			3
    290  1.1  christos #define	LINUX_NET_ATALK_AARP_RESOLVE_TIME			4
    291  1.1  christos 
    292  1.1  christos #define	LINUX_NET_NETROM_DEFAULT_PATH_QUALITY			1
    293  1.1  christos #define	LINUX_NET_NETROM_OBSOLESCENCE_COUNT_INITIALISER		2
    294  1.1  christos #define	LINUX_NET_NETROM_NETWORK_TTL_INITIALISER		3
    295  1.1  christos #define	LINUX_NET_NETROM_TRANSPORT_TIMEOUT			4
    296  1.1  christos #define	LINUX_NET_NETROM_TRANSPORT_MAXIMUM_TRIES		5
    297  1.1  christos #define	LINUX_NET_NETROM_TRANSPORT_ACKNOWLEDGE_DELAY		6
    298  1.1  christos #define	LINUX_NET_NETROM_TRANSPORT_BUSY_DELAY			7
    299  1.1  christos #define	LINUX_NET_NETROM_TRANSPORT_REQUESTED_WINDOW_SIZE	8
    300  1.1  christos #define	LINUX_NET_NETROM_TRANSPORT_NO_ACTIVITY_TIMEOUT		9
    301  1.1  christos #define	LINUX_NET_NETROM_ROUTING_CONTROL			10
    302  1.1  christos #define	LINUX_NET_NETROM_LINK_FAILS_COUNT			11
    303  1.1  christos 
    304  1.1  christos #define	LINUX_NET_AX25_IP_DEFAULT_MODE				1
    305  1.1  christos #define	LINUX_NET_AX25_DEFAULT_MODE				2
    306  1.1  christos #define	LINUX_NET_AX25_BACKOFF_TYPE				3
    307  1.1  christos #define	LINUX_NET_AX25_CONNECT_MODE				4
    308  1.1  christos #define	LINUX_NET_AX25_STANDARD_WINDOW				5
    309  1.1  christos #define	LINUX_NET_AX25_EXTENDED_WINDOW				6
    310  1.1  christos #define	LINUX_NET_AX25_T1_TIMEOUT				7
    311  1.1  christos #define	LINUX_NET_AX25_T2_TIMEOUT				8
    312  1.1  christos #define	LINUX_NET_AX25_T3_TIMEOUT				9
    313  1.1  christos #define	LINUX_NET_AX25_IDLE_TIMEOUT				10
    314  1.1  christos #define	LINUX_NET_AX25_N2					11
    315  1.1  christos #define	LINUX_NET_AX25_PACLEN					12
    316  1.1  christos #define	LINUX_NET_AX25_PROTOCOL					13
    317  1.1  christos #define	LINUX_NET_AX25_DAMA_SLAVE_TIMEOUT			14
    318  1.1  christos 
    319  1.1  christos #define	LINUX_NET_ROSE_RESTART_REQUEST_TIMEOUT			1
    320  1.1  christos #define	LINUX_NET_ROSE_CALL_REQUEST_TIMEOUT			2
    321  1.1  christos #define	LINUX_NET_ROSE_RESET_REQUEST_TIMEOUT			3
    322  1.1  christos #define	LINUX_NET_ROSE_CLEAR_REQUEST_TIMEOUT			4
    323  1.1  christos #define	LINUX_NET_ROSE_ACK_HOLD_BACK_TIMEOUT			5
    324  1.1  christos #define	LINUX_NET_ROSE_ROUTING_CONTROL				6
    325  1.1  christos #define	LINUX_NET_ROSE_LINK_FAIL_TIMEOUT			7
    326  1.1  christos #define	LINUX_NET_ROSE_MAX_VCS					8
    327  1.1  christos #define	LINUX_NET_ROSE_WINDOW_SIZE				9
    328  1.1  christos #define	LINUX_NET_ROSE_NO_ACTIVITY_TIMEOUT			10
    329  1.1  christos 
    330  1.1  christos #define	LINUX_NET_X25_RESTART_REQUEST_TIMEOUT			1
    331  1.1  christos #define	LINUX_NET_X25_CALL_REQUEST_TIMEOUT			2
    332  1.1  christos #define	LINUX_NET_X25_RESET_REQUEST_TIMEOUT			3
    333  1.1  christos #define	LINUX_NET_X25_CLEAR_REQUEST_TIMEOUT			4
    334  1.1  christos #define	LINUX_NET_X25_ACK_HOLD_BACK_TIMEOUT			5
    335  1.1  christos 
    336  1.1  christos #define	LINUX_NET_TR_RIF_TIMEOUT				1
    337  1.1  christos 
    338  1.1  christos #define	LINUX_NET_DECNET_NODE_TYPE 	 			1
    339  1.1  christos #define	LINUX_NET_DECNET_NODE_ADDRESS 				2
    340  1.1  christos #define	LINUX_NET_DECNET_NODE_NAME 				3
    341  1.1  christos #define	LINUX_NET_DECNET_DEFAULT_DEVICE 			4
    342  1.1  christos #define	LINUX_NET_DECNET_TIME_WAIT 	 			5
    343  1.1  christos #define	LINUX_NET_DECNET_DN_COUNT 	 			6
    344  1.1  christos #define	LINUX_NET_DECNET_DI_COUNT 	 			7
    345  1.1  christos #define	LINUX_NET_DECNET_DR_COUNT 	 			8
    346  1.1  christos #define	LINUX_NET_DECNET_DST_GC_INTERVAL 			9
    347  1.1  christos #define	LINUX_NET_DECNET_CONF 					10
    348  1.1  christos #define	LINUX_NET_DECNET_DEBUG_LEVEL 	 			255
    349  1.1  christos 
    350  1.1  christos #define	LINUX_NET_TUX_DOCROOT					1
    351  1.1  christos #define	LINUX_NET_TUX_LOGFILE					2
    352  1.1  christos #define	LINUX_NET_TUX_EXTCGI					3
    353  1.1  christos #define	LINUX_NET_TUX_STOP					4
    354  1.1  christos #define	LINUX_NET_TUX_CLIENTPORT				5
    355  1.1  christos #define	LINUX_NET_TUX_LOGGING					6
    356  1.1  christos #define	LINUX_NET_TUX_SERVERPORT				7
    357  1.1  christos #define	LINUX_NET_TUX_THREADS					8
    358  1.1  christos #define	LINUX_NET_TUX_KEEPALIVE_TIMEOUT				9
    359  1.1  christos #define	LINUX_NET_TUX_MAX_KEEPALIVE_BW				10
    360  1.1  christos #define	LINUX_NET_TUX_DEFER_ACCEPT				11
    361  1.1  christos #define	LINUX_NET_TUX_MAX_FREE_REQUESTS				12
    362  1.1  christos #define	LINUX_NET_TUX_MAX_CONNECT				13
    363  1.1  christos #define	LINUX_NET_TUX_MAX_BACKLOG				14
    364  1.1  christos #define	LINUX_NET_TUX_MODE_FORBIDDEN				15
    365  1.1  christos #define	LINUX_NET_TUX_MODE_ALLOWED				16
    366  1.1  christos #define	LINUX_NET_TUX_MODE_USERSPACE				17
    367  1.1  christos #define	LINUX_NET_TUX_MODE_CGI					18
    368  1.1  christos #define	LINUX_NET_TUX_CGI_UID					19
    369  1.1  christos #define	LINUX_NET_TUX_CGI_GID					20
    370  1.1  christos #define	LINUX_NET_TUX_CGIROOT					21
    371  1.1  christos #define	LINUX_NET_TUX_LOGENTRY_ALIGN_ORDER			22
    372  1.1  christos #define	LINUX_NET_TUX_NONAGLE					23
    373  1.1  christos #define	LINUX_NET_TUX_ACK_PINGPONG				24
    374  1.1  christos #define	LINUX_NET_TUX_PUSH_ALL					25
    375  1.1  christos #define	LINUX_NET_TUX_ZEROCOPY_PARSE				26
    376  1.1  christos #define	LINUX_NET_CONFIG_TUX_DEBUG_BLOCKING			27
    377  1.1  christos #define	LINUX_NET_TUX_PAGE_AGE_START				28
    378  1.1  christos 
    379  1.1  christos #define	LINUX_NET_KHTTPD_DOCROOT      	 			1
    380  1.1  christos #define	LINUX_NET_KHTTPD_START        	 			2
    381  1.1  christos #define	LINUX_NET_KHTTPD_STOP         	 			3
    382  1.1  christos #define	LINUX_NET_KHTTPD_UNLOAD       	 			4
    383  1.1  christos #define	LINUX_NET_KHTTPD_CLIENTPORT   	 			5
    384  1.1  christos #define	LINUX_NET_KHTTPD_PERMREQ      	 			6
    385  1.1  christos #define	LINUX_NET_KHTTPD_PERMFORBID   	 			7
    386  1.1  christos #define	LINUX_NET_KHTTPD_LOGGING      	 			8
    387  1.1  christos #define	LINUX_NET_KHTTPD_SERVERPORT   	 			9
    388  1.1  christos #define	LINUX_NET_KHTTPD_DYNAMICSTRING	 			10
    389  1.1  christos #define	LINUX_NET_KHTTPD_SLOPPYMIME   	 			11
    390  1.1  christos #define	LINUX_NET_KHTTPD_THREADS      	 			12
    391  1.1  christos #define	LINUX_NET_KHTTPD_MAXCONNECT   	 			13
    392  1.1  christos 
    393  1.1  christos #define	LINUX_NET_DECNET_CONF_LOOPBACK 				-2
    394  1.1  christos #define	LINUX_NET_DECNET_CONF_DDCMP 	 			-3
    395  1.1  christos #define	LINUX_NET_DECNET_CONF_PPP 	 			-4
    396  1.1  christos #define	LINUX_NET_DECNET_CONF_X25 	 			-5
    397  1.1  christos #define	LINUX_NET_DECNET_CONF_GRE 	 			-6
    398  1.1  christos #define	LINUX_NET_DECNET_CONF_ETHER 				-7
    399  1.1  christos 
    400  1.1  christos #define	LINUX_NET_DECNET_CONF_DEV_PRIORITY 	 		1
    401  1.1  christos #define	LINUX_NET_DECNET_CONF_DEV_T1 		 		2
    402  1.1  christos #define	LINUX_NET_DECNET_CONF_DEV_T2 		 		3
    403  1.1  christos #define	LINUX_NET_DECNET_CONF_DEV_T3 		 		4
    404  1.1  christos #define	LINUX_NET_DECNET_CONF_DEV_FORWARDING 	 		5
    405  1.1  christos #define	LINUX_NET_DECNET_CONF_DEV_BLKSIZE 	 		6
    406  1.1  christos #define	LINUX_NET_DECNET_CONF_DEV_STATE 			7
    407  1.1  christos 
    408  1.1  christos #define	LINUX_FS_NRINODE					1
    409  1.1  christos #define	LINUX_FS_STATINODE					2
    410  1.1  christos #define	LINUX_FS_MAXINODE					3
    411  1.1  christos #define	LINUX_FS_NRDQUOT					4
    412  1.1  christos #define	LINUX_FS_MAXDQUOT					5
    413  1.1  christos #define	LINUX_FS_NRFILE						6
    414  1.1  christos #define	LINUX_FS_MAXFILE					7
    415  1.1  christos #define	LINUX_FS_DENTRY						8
    416  1.1  christos #define	LINUX_FS_NRSUPER					9
    417  1.1  christos #define	LINUX_FS_MAXSUPER					10
    418  1.1  christos #define	LINUX_FS_OVERFLOWUID					11
    419  1.1  christos #define	LINUX_FS_OVERFLOWGID					12
    420  1.1  christos #define	LINUX_FS_LEASES						13
    421  1.1  christos #define	LINUX_FS_DIR_NOTIFY					14
    422  1.1  christos #define	LINUX_FS_LEASE_TIME					15
    423  1.1  christos 
    424  1.1  christos #define	LINUX_DEV_CDROM						1
    425  1.1  christos #define	LINUX_DEV_HWMON						2
    426  1.1  christos #define	LINUX_DEV_PARPORT					3
    427  1.1  christos #define	LINUX_DEV_RAID						4
    428  1.1  christos #define	LINUX_DEV_MAC_HID					5
    429  1.1  christos 
    430  1.1  christos #define	LINUX_DEV_CDROM_INFO					1
    431  1.1  christos #define	LINUX_DEV_CDROM_AUTOCLOSE				2
    432  1.1  christos #define	LINUX_DEV_CDROM_AUTOEJECT				3
    433  1.1  christos #define	LINUX_DEV_CDROM_DEBUG					4
    434  1.1  christos #define	LINUX_DEV_CDROM_LOCK					5
    435  1.1  christos #define	LINUX_DEV_CDROM_CHECK_MEDIA				6
    436  1.1  christos 
    437  1.1  christos #define	LINUX_DEV_PARPORT_DEFAULT				-3
    438  1.1  christos 
    439  1.1  christos #define	LINUX_DEV_RAID_SPEED_LIMIT_MIN				1
    440  1.1  christos #define	LINUX_DEV_RAID_SPEED_LIMIT_MAX				2
    441  1.1  christos 
    442  1.1  christos #define	LINUX_DEV_PARPORT_DEFAULT_TIMESLICE			1
    443  1.1  christos #define	LINUX_DEV_PARPORT_DEFAULT_SPINTIME			2
    444  1.1  christos 
    445  1.1  christos #define	LINUX_DEV_PARPORT_SPINTIME				1
    446  1.1  christos #define	LINUX_DEV_PARPORT_BASE_ADDR				2
    447  1.1  christos #define	LINUX_DEV_PARPORT_IRQ					3
    448  1.1  christos #define	LINUX_DEV_PARPORT_DMA					4
    449  1.1  christos #define	LINUX_DEV_PARPORT_MODES					5
    450  1.1  christos #define	LINUX_DEV_PARPORT_DEVICES				6
    451  1.1  christos #define	LINUX_DEV_PARPORT_AUTOPROBE				16
    452  1.1  christos 
    453  1.1  christos #define	LINUX_DEV_PARPORT_DEVICES_ACTIVE			-3
    454  1.1  christos #define	LINUX_DEV_PARPORT_DEVICE_TIMESLICE			1
    455  1.1  christos 
    456  1.1  christos #define	LINUX_DEV_MAC_HID_KEYBOARD_SENDS_LINUX_KEYCODES		1
    457  1.1  christos #define	LINUX_DEV_MAC_HID_KEYBOARD_LOCK_KEYCODES		2
    458  1.1  christos #define	LINUX_DEV_MAC_HID_MOUSE_BUTTON_EMULATION		3
    459  1.1  christos #define	LINUX_DEV_MAC_HID_MOUSE_BUTTON2_KEYCODE			4
    460  1.1  christos #define	LINUX_DEV_MAC_HID_MOUSE_BUTTON3_KEYCODE			5
    461  1.1  christos #define	LINUX_DEV_MAC_HID_ADB_MOUSE_SENDS_KEYCODES		6
    462  1.1  christos 
    463  1.1  christos #define	LINUX_RANDOM_POOLSIZE					1
    464  1.1  christos #define	LINUX_RANDOM_ENTROPY_COUNT				2
    465  1.1  christos #define	LINUX_RANDOM_READ_THRESH				3
    466  1.1  christos #define	LINUX_RANDOM_WRITE_THRESH				4
    467  1.1  christos #define	LINUX_RANDOM_BOOT_ID					5
    468  1.1  christos #define	LINUX_RANDOM_UUID					6
    469  1.1  christos 
    470  1.1  christos #define	LINUX_BUS_ISA						1
    471  1.1  christos 
    472  1.1  christos #define	LINUX_BUS_ISA_MEM_BASE					1
    473  1.1  christos #define	LINUX_BUS_ISA_PORT_BASE					2
    474  1.1  christos #define	LINUX_BUS_ISA_PORT_SHIFT				3
    475  1.1  christos 
    476  1.2    atatat #ifdef SYSCTL_SETUP_PROTO
    477  1.2    atatat SYSCTL_SETUP_PROTO(linux_sysctl_setup);
    478  1.2    atatat SYSCTL_SETUP_PROTO(sysctl_emul_linux_setup);
    479  1.2    atatat #endif /* SYSCTL_SETUP_PROTO */
    480  1.1  christos #endif /* !_LINUX_SYSCTL_H */
    481