Add ifru_newname to <net/if.h>
Andreas Jaeger
aj@suse.de
Thu Aug 17 02:59:00 GMT 2000
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
More information about the Libc-alpha
mailing list