about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/netax25/ax25.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-02 21:09:34 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-02 21:09:34 +0000
commit2d8e6e74c10426510b38a4406b79657f5376ba40 (patch)
treec06d93b05fcf6d5897f4e16b063ac9cd5682af14 /sysdeps/unix/sysv/linux/netax25/ax25.h
parent238ae1eb669cd42b99471653c32d18a1c90cc787 (diff)
downloadglibc-2d8e6e74c10426510b38a4406b79657f5376ba40.tar.gz
glibc-2d8e6e74c10426510b38a4406b79657f5376ba40.tar.xz
glibc-2d8e6e74c10426510b38a4406b79657f5376ba40.zip
Update.
	* sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
	* sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
	* sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
	Patch by Craig Small <csmall@scooter.eye-net.com.au>.
Diffstat (limited to 'sysdeps/unix/sysv/linux/netax25/ax25.h')
-rw-r--r--sysdeps/unix/sysv/linux/netax25/ax25.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/netax25/ax25.h b/sysdeps/unix/sysv/linux/netax25/ax25.h
index 1bec5920aa..9a4212be70 100644
--- a/sysdeps/unix/sysv/linux/netax25/ax25.h
+++ b/sysdeps/unix/sysv/linux/netax25/ax25.h
@@ -36,6 +36,7 @@
 #define AX25_IDLE	9
 #define	AX25_PACLEN	10
 #define AX25_IPMAXQUEUE 11
+#define AX25_IAMDIGI	12
 #define AX25_KILL	99
 
 /* AX.25 socket ioctls: */
@@ -48,6 +49,9 @@
 #define SIOCAX25SETPARMS	(SIOCPROTOPRIVATE+6)
 #define SIOCAX25OPTRT		(SIOCPROTOPRIVATE+7)
 #define SIOCAX25CTLCON		(SIOCPROTOPRIVATE+8)
+#define SIOCAX25GETINFO		(SIOCPROTOPRIVATE+9)
+#define SIOCAX25ADDFWD		(SIOCPROTOPRIVATE+10)
+#define SIOCAX25DELFWD		(SIOCPROTOPRIVATE+11)
 
 /* unknown: */
 #define AX25_NOUID_DEFAULT	0
@@ -101,6 +105,25 @@ struct ax25_ctl_struct
     ax25_address dest_addr;
     unsigned int cmd;
     unsigned long arg;
+    unsigned char digi_count;
+    ax25_address digi_addr[AX25_MAX_DIGIS];
+  };
+
+struct ax25_info_struct 
+  {
+    unsigned int  n2, n2count;
+    unsigned int t1, t1timer;
+    unsigned int t2, t2timer;
+    unsigned int t3, t3timer;
+    unsigned int idle, idletimer;
+    unsigned int state;
+    unsigned int rcv_q, snd_q;
+  };
+
+struct ax25_fwd_struct 
+  {
+    ax25_address port_from;
+    ax25_address port_to;
   };
 
 /* AX.25 route structure: */