search for: siocxxx

Displaying 5 results from an estimated 5 matches for "siocxxx".

Did you mean: sif_xxx
2010 Feb 23
0
[PATCH 3/3] Add relevant socket.h definitions
...clude/sys/socket.h b/usr/include/sys/socket.h index 7d47087..a6357d1 100644 --- a/usr/include/sys/socket.h +++ b/usr/include/sys/socket.h @@ -9,6 +9,9 @@ #include <klibc/compiler.h> #include <klibc/sysconfig.h> #include <linux/socket.h> +#include <linux/sockios.h> /* the SIOCxxx I/O controls */ +#include <linux/uio.h> /* iovec support */ +#include <asm/socket.h> /* arch-dependent defines */ #if _KLIBC_HAS_ARCHSOCKET_H #include <klibc/archsocket.h> #endif @@ -27,6 +30,40 @@ # define SOCK_PACKET 10 #endif + +typedef un...
2011 Aug 08
1
[socket.h] add (more) missing definitions
...de/linux/sockios.h:#define SIOCSIFFLAGS 0x8914 /* set flags */ Now, the patch we are using in OpenEmbedded is +#include <linux/socket.h> + +#include <linux/version.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) +#include <linux/sockios.h> /* the SIOCxxx I/O controls */ +#endif + +#include <linux/uio.h> but it looks like you could as well add the SIOCGIFCONF and SIOCSIFFLAGS. Regards Andrea
2011 Aug 08
0
[PATCH] include: [sys/ioctl.h] needs linux/sockios.h
...3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/usr/include/sys/ioctl.h b/usr/include/sys/ioctl.h index 559f111..81ae756 100644 --- a/usr/include/sys/ioctl.h +++ b/usr/include/sys/ioctl.h @@ -9,6 +9,9 @@ #include <linux/ioctl.h> #include <asm/ioctls.h> +/* the SIOCxxx I/O are hidden */ +#include <linux/sockios.h> + __extern int ioctl(int, int, void *); #endif /* _SYS_IOCTL_H */ -- 1.7.5.4
2013 Aug 16
3
[PATCH] vhost: Drop linux/socket.h
On Thu, Aug 15, 2013 at 02:07:40PM -0700, David Miller wrote: > From: Asias He <asias at redhat.com> > Date: Thu, 15 Aug 2013 11:20:16 +0800 > > > memcpy_fromiovec is moved to lib/iovec.c. No need to include > > linux/socket.h for it. > > > > Signed-off-by: Asias He <asias at redhat.com> > > You can't do this. > > Because this file
2013 Aug 16
3
[PATCH] vhost: Drop linux/socket.h
On Thu, Aug 15, 2013 at 02:07:40PM -0700, David Miller wrote: > From: Asias He <asias at redhat.com> > Date: Thu, 15 Aug 2013 11:20:16 +0800 > > > memcpy_fromiovec is moved to lib/iovec.c. No need to include > > linux/socket.h for it. > > > > Signed-off-by: Asias He <asias at redhat.com> > > You can't do this. > > Because this file