This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Linux's SIOCSIFNAME ioctl seems to be missing from the relevant bits/ioctls.h file. Here's a patch to add it. p. 2003-01-21 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define. Index: sysdeps/unix/sysv/linux/bits/ioctls.h =================================================================== RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/bits/ioctls.h,v retrieving revision 1.6 diff -u -r1.6 ioctls.h --- sysdeps/unix/sysv/linux/bits/ioctls.h 6 Jul 2001 04:56:14 -0000 1.6 +++ sysdeps/unix/sysv/linux/bits/ioctls.h 21 Jan 2003 10:40:06 -0000 @@ -48,6 +48,7 @@ #define SIOCSIFMEM 0x8920 /* set memory address (BSD) */ #define SIOCGIFMTU 0x8921 /* get MTU size */ #define SIOCSIFMTU 0x8922 /* set MTU size */ +#define SIOCSIFNAME 0x8923 /* set interface name */ #define SIOCSIFHWADDR 0x8924 /* set hardware address */ #define SIOCGIFENCAP 0x8925 /* get/set encapsulations */ #define SIOCSIFENCAP 0x8926
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |