patch-1.3.91 linux/include/linux/netrom.h

Next file: linux/include/linux/stallion.h
Previous file: linux/include/linux/ncp_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.90/linux/include/linux/netrom.h linux/include/linux/netrom.h
@@ -5,11 +5,15 @@
 #define NETROM_T2	2
 #define NETROM_N2	3
 #define	NETROM_HDRINCL	4
+#define	NETROM_PACLEN	5
+
+#define	NETROM_KILL	99
 
 #define	SIOCNRGETPARMS		(SIOCPROTOPRIVATE+0)
 #define	SIOCNRSETPARMS		(SIOCPROTOPRIVATE+1)
 #define	SIOCNRDECOBS		(SIOCPROTOPRIVATE+2)
 #define	SIOCNRRTCTL		(SIOCPROTOPRIVATE+3)
+#define	SIOCNRCTLCON		(SIOCPROTOPRIVATE+4)
 
 struct nr_route_struct {
 #define	NETROM_NEIGH	0
@@ -32,4 +36,12 @@
 	unsigned int busy_delay;
 	unsigned int tries;
 	unsigned int window;
+	unsigned int paclen;
+};
+
+struct nr_ctl_struct {
+	unsigned char index;
+	unsigned char id;
+	unsigned int  cmd;
+	unsigned long arg;
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this