about summary refs log tree commit diff
path: root/sysdeps/gnu/net
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-06-26 04:59:41 +0000
committerUlrich Drepper <drepper@redhat.com>2001-06-26 04:59:41 +0000
commitda0debaa44d30e57e2949d4e90ca0d5c4dc9e69c (patch)
treeb2983216bb17e3a6b66eadfd40191d0937e65000 /sysdeps/gnu/net
parent1574022402a6778139747dda23b126c22dbc6fa7 (diff)
downloadglibc-da0debaa44d30e57e2949d4e90ca0d5c4dc9e69c.tar.gz
glibc-da0debaa44d30e57e2949d4e90ca0d5c4dc9e69c.tar.xz
glibc-da0debaa44d30e57e2949d4e90ca0d5c4dc9e69c.zip
Update.
	* sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
	and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
Diffstat (limited to 'sysdeps/gnu/net')
-rw-r--r--sysdeps/gnu/net/if.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/gnu/net/if.h b/sysdeps/gnu/net/if.h
index 45d2937ea7..562dd44ba2 100644
--- a/sysdeps/gnu/net/if.h
+++ b/sysdeps/gnu/net/if.h
@@ -163,7 +163,9 @@ struct ifreq
 # define ifr_bandwidth	ifr_ifru.ifru_ivalue	/* link bandwidth	*/
 # define ifr_qlen	ifr_ifru.ifru_ivalue	/* queue length		*/
 # define ifr_newname	ifr_ifru.ifru_newname	/* New name		*/
-# define _IOT_ifreq	_IOT(_IOTS(struct ifreq),1,0,0,0,0) /* not right */
+# define _IOT_ifreq	_IOT(_IOTS(char),IFNAMSIZ,_IOTS(char),16,0,0)
+# define _IOT_ifreq_short _IOT(_IOTS(char),IFNAMSIZ,_IOTS(short),1,0,0)
+# define _IOT_ifreq_int	_IOT(_IOTS(char),IFNAMSIZ,_IOTS(int),1,0,0)
 
 
 /* Structure used in SIOCGIFCONF request.  Used to retrieve interface