This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Add ifru_newname to <net/if.h>
- To: libc-alpha Mailinglist <libc-alpha at sourceware dot cygnus dot com>
- Subject: Add ifru_newname to <net/if.h>
- From: Andreas Jaeger <aj at suse dot de>
- Date: 17 Aug 2000 11:53:42 +0200
- Cc: Andi Kleen <ak at suse dot de>
Andi told me that ifru_newname is missing from our headers (it's in
the current Linux kernel).
Ok to commit?
Andreas
2000-08-17 Andreas Jaeger <aj@suse.de>
* sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
(ifr_newname): New.
Reported by Andi Kleen <ak@suse.de>.
============================================================
Index: sysdeps/gnu/net/if.h
--- sysdeps/gnu/net/if.h 2000/03/24 20:58:39 1.1
+++ sysdeps/gnu/net/if.h 2000/08/17 09:53:22
@@ -129,6 +129,7 @@
int ifru_mtu;
struct ifmap ifru_map;
char ifru_slave[IFNAMSIZ]; /* Just fits the size */
+ char ifru_newname[IFNAMSIZ];
__caddr_t ifru_data;
} ifr_ifru;
};
@@ -147,6 +148,7 @@
#define ifr_ifindex ifr_ifru.ifru_ivalue /* interface index */
#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 */
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj