about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/netrose/rose.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/netrose/rose.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/netrose/rose.h')
-rw-r--r--sysdeps/unix/sysv/linux/netrose/rose.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/netrose/rose.h b/sysdeps/unix/sysv/linux/netrose/rose.h
index 96ea1eb7e5..1c7d5d5a1f 100644
--- a/sysdeps/unix/sysv/linux/netrose/rose.h
+++ b/sysdeps/unix/sysv/linux/netrose/rose.h
@@ -46,6 +46,7 @@
 #define	SIOCRSACCEPT		(SIOCPROTOPRIVATE + 3)
 #define	SIOCRSCLRRT		(SIOCPROTOPRIVATE + 4)
 #define	SIOCRSGL2CALL		(SIOCPROTOPRIVATE + 5)
+#define	SIOCRSGFACILITIES	(SIOCPROTOPRIVATE + 6)
 
 #define	ROSE_DTE_ORIGINATED	0x00
 #define	ROSE_NUMBER_BUSY	0x01
@@ -73,6 +74,15 @@ struct sockaddr_rose
   ax25_address	srose_digi;
 };
 
+struct full_sockaddr_rose 
+{
+  sa_family_t srose_family;
+  rose_address srose_addr;
+  ax25_address srose_call;
+  unsigned int srose_ndigis;
+  ax25_address srose_digis[ROSE_MAX_DIGIS];
+};
+
 struct rose_route_struct
 {
   rose_address address;
@@ -89,4 +99,16 @@ struct rose_cause_struct
   unsigned char	diagnostic;
 };
 
+struct rose_facilities_struct 
+{
+  rose_address source_addr,   dest_addr;
+  ax25_address source_call,   dest_call;
+  unsigned char source_ndigis, dest_ndigis;
+  ax25_address source_digis[ROSE_MAX_DIGIS];
+  ax25_address dest_digis[ROSE_MAX_DIGIS];
+  unsigned int rand;
+  rose_address fail_addr;
+  ax25_address fail_call;
+};
+
 #endif	/* netrose/rose.h */