| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | The following parameters should be tunable at compile time. Some of them | 
|  | 2 | exist as sysctls too. | 
|  | 3 |  | 
|  | 4 | This is far from complete | 
|  | 5 |  | 
|  | 6 | Item			Description | 
|  | 7 | ---------------------------------------------------------------------------- | 
|  | 8 | MAX_LINKS		Maximum number of netlink minor devices. (1-32) | 
|  | 9 | RIF_TABLE_SIZE		Token ring RIF cache size (tunable) | 
|  | 10 | AARP_HASH_SIZE		Size of Appletalk hash table (tunable) | 
|  | 11 | AX25_DEF_T1		AX.25 parameters. These are all tunable via | 
|  | 12 | AX25_DEF_T2		SIOCAX25SETPARMS | 
|  | 13 | AX25_DEF_T3		T1-T3,N2 have the meanings in the specification | 
|  | 14 | AX25_DEF_N2 | 
|  | 15 | AX25_DEF_AXDEFMODE	8 = normal 128 is PE1CHL extended | 
|  | 16 | AX25_DEF_IPDEFMODE	'D' - datagram  'V' - virtual connection | 
|  | 17 | AX25_DEF_BACKOFF	'E'xponential 'L'inear | 
|  | 18 | AX25_DEF_NETROM		Allow netrom 1=Y | 
|  | 19 | AX25_DF_TEXT		Allow PID=Text 1=Y | 
|  | 20 | AX25_DEF_WINDOW		Window for normal mode | 
|  | 21 | AX25_DEF_EWINDOW	Window for PE1CHL mode | 
|  | 22 | AX25_DEF_DIGI		1 for inband 2 for cross band 3 for both | 
|  | 23 | AX25_DEF_CONMODE	Allow connected modes 1=Yes | 
|  | 24 | AX25_ROUTE_MAX		AX.25 route cache size - no currently tunable | 
|  | 25 | Unnamed (16)		Number of protocol hash slots (tunable) | 
|  | 26 | DEV_NUMBUFFS		Number of priority levels (not easily tunable) | 
|  | 27 | Unnamed (300)		Maximum packet backlog queue (tunable) | 
|  | 28 | MAX_IOVEC		Maximum number of iovecs in a message (tunable) | 
|  | 29 | MIN_WINDOW		Offered minimum window (tunable) | 
|  | 30 | MAX_WINDOW		Offered maximum window (tunable) | 
|  | 31 | MAX_HEADER		Largest physical header (tunable) | 
|  | 32 | MAX_ADDR_LEN		Largest physical address (tunable) | 
|  | 33 | SOCK_ARRAY_SIZE		IP socket array hash size (tunable) | 
|  | 34 | IP_MAX_MEMBERSHIPS	Largest number of groups per socket (BSD style) (tunable) | 
|  | 35 | 16			Hard coded constant for amount of room allowed for | 
|  | 36 | cache align and faster forwarding (tunable) | 
|  | 37 | IP_FRAG_TIME		Time we hold a fragment for. (tunable) | 
|  | 38 | PORT_MASQ_BEGIN		First port reserved for masquerade (tunable) | 
|  | 39 | PORT_MASQ_END		Last port used for masquerade	(tunable) | 
|  | 40 | MASQUERADE_EXPIRE_TCP_FIN	Time we keep a masquerade for after a FIN | 
|  | 41 | MASQUERADE_EXPIRE_UDP	Time we keep a UDP masquerade for (tunable) | 
|  | 42 | MAXVIFS			Maximum mrouted vifs (1-32) | 
|  | 43 | MFC_LINES		Lines in the multicast router cache (tunable) | 
|  | 44 |  | 
|  | 45 | NetROM parameters are tunable via an ioctl passing a struct | 
|  | 46 |  | 
|  | 47 | 4000			Size a Unix domain socket malloc falls back to | 
|  | 48 | (tunable) should be 8K - a bit for 8K machines like | 
|  | 49 | the ALPHA | 
|  | 50 |  |