patch-2.1.16 linux/include/linux/sysctl.h

Next file: linux/include/linux/x25.h
Previous file: linux/include/linux/skbuff.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/include/linux/sysctl.h linux/include/linux/sysctl.h
@@ -61,6 +61,7 @@
 #define KERN_NFSRADDRS	18	/* NFS root addresses */
 #define KERN_JAVA_INTERPRETER 19 /* path to Java(tm) interpreter */
 #define KERN_JAVA_APPLETVIEWER 20 /* path to Java(tm) appletviewer */
+#define KERN_SPARC_REBOOT 21 /* reboot command on Sparc */
 
 /* CTL_VM names: */
 #define VM_SWAPCTL	1	/* struct: Set vm swapping control */
@@ -127,35 +128,42 @@
 /* /proc/sys/net/appletalk */
 
 /* /proc/sys/net/netrom */
-#define	NET_NETROM_DEFAULT_PATH_QUALITY			1
-#define	NET_NETROM_OBSOLESCENCE_COUNT_INITIALISER	2
-#define	NET_NETROM_NETWORK_TTL_INITIALISER		3
-#define	NET_NETROM_TRANSPORT_TIMEOUT			4
-#define	NET_NETROM_TRANSPORT_MAXIMUM_TRIES		5
-#define	NET_NETROM_TRANSPORT_ACKNOWLEDGE_DELAY		6
-#define	NET_NETROM_TRANSPORT_BUSY_DELAY			7
-#define	NET_NETROM_TRANSPORT_REQUESTED_WINDOW_SIZE	8
-#define	NET_NETROM_TRANSPORT_NO_ACTIVITY_TIMEOUT	9
-#define	NET_NETROM_TRANSPORT_PACKET_LENGTH		10
-#define	NET_NETROM_ROUTING_CONTROL			11
+enum {
+	NET_NETROM_DEFAULT_PATH_QUALITY = 1,
+	NET_NETROM_OBSOLESCENCE_COUNT_INITIALISER,
+	NET_NETROM_NETWORK_TTL_INITIALISER,
+	NET_NETROM_TRANSPORT_TIMEOUT,
+	NET_NETROM_TRANSPORT_MAXIMUM_TRIES,
+	NET_NETROM_TRANSPORT_ACKNOWLEDGE_DELAY,
+	NET_NETROM_TRANSPORT_BUSY_DELAY,
+	NET_NETROM_TRANSPORT_REQUESTED_WINDOW_SIZE,
+	NET_NETROM_TRANSPORT_NO_ACTIVITY_TIMEOUT,
+	NET_NETROM_TRANSPORT_PACKET_LENGTH,
+	NET_NETROM_ROUTING_CONTROL
+};
 
 /* /proc/sys/net/ax25 */
 /* Values are generated dynamically */
 
 /* /proc/sys/net/rose */
-#define	NET_ROSE_RESTART_REQUEST_TIMEOUT		1
-#define	NET_ROSE_CALL_REQUEST_TIMEOUT			2
-#define	NET_ROSE_RESET_REQUEST_TIMEOUT			3
-#define	NET_ROSE_CLEAR_REQUEST_TIMEOUT			4
-#define	NET_ROSE_NO_ACTIVITY_TIMEOUT			5
-#define	NET_ROSE_ROUTING_CONTROL			6
+enum {
+	NET_ROSE_RESTART_REQUEST_TIMEOUT = 1,
+	NET_ROSE_CALL_REQUEST_TIMEOUT,
+	NET_ROSE_RESET_REQUEST_TIMEOUT,
+	NET_ROSE_CLEAR_REQUEST_TIMEOUT,
+	NET_ROSE_NO_ACTIVITY_TIMEOUT,
+	NET_ROSE_ACK_HOLD_BACK_TIMEOUT,
+	NET_ROSE_ROUTING_CONTROL
+};
 
 /* /proc/sys/net/x25 */
-#define	NET_X25_RESTART_REQUEST_TIMEOUT			1
-#define	NET_X25_CALL_REQUEST_TIMEOUT			2
-#define	NET_X25_RESET_REQUEST_TIMEOUT			3
-#define	NET_X25_CLEAR_REQUEST_TIMEOUT			4
-#define	NET_X25_ACK_HOLDBACK_TIMEOUT			5
+enum {
+	NET_X25_RESTART_REQUEST_TIMEOUT = 1,
+	NET_X25_CALL_REQUEST_TIMEOUT,
+	NET_X25_RESET_REQUEST_TIMEOUT,
+	NET_X25_CLEAR_REQUEST_TIMEOUT,
+	NET_X25_ACK_HOLD_BACK_TIMEOUT
+};
 
 /* CTL_PROC names: */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov