Re: [PATCH] uapi: fix linux/tls.h userspace compilation error

2017-11-15 Thread Mikko Rapeli
/tcp.h: No such file or > directory > > As to this point uapi/linux/tls.h was totaly unusuable for userspace, > cleanup this header file further by moving other redundant includes > to net/tls.h. > > Fixes: 3c4d7559159b ("tls: kernel TLS support") > Cc: # v4.13+ &

Re: [PATCH v06 35/36] uapi linux/tls.h: don't include in user space

2017-09-18 Thread Mikko Rapeli
On Mon, Sep 04, 2017 at 07:15:11PM +0300, Dmitry V. Levin wrote: > On Wed, Aug 09, 2017 at 02:25:54AM +0300, Dmitry V. Levin wrote: > > On Sun, Aug 06, 2017 at 06:44:26PM +0200, Mikko Rapeli wrote: > > > It is not needed and not part of uapi headers, but causes > > > u

Re: [PATCH v06 18/36] uapi linux/errqueue.h: include linux/time.h in user space

2017-08-06 Thread Mikko Rapeli
On Sun, Aug 06, 2017 at 05:42:13PM -0400, Willem de Bruijn wrote: > On Sun, Aug 6, 2017 at 5:33 PM, Mikko Rapeli wrote: > > On Sun, Aug 06, 2017 at 05:24:20PM -0400, Willem de Bruijn wrote: > >> >> > +#ifdef __KERNEL__ > >> >> > +#include > >&

Re: [PATCH v06 18/36] uapi linux/errqueue.h: include linux/time.h in user space

2017-08-06 Thread Mikko Rapeli
On Sun, Aug 06, 2017 at 05:24:20PM -0400, Willem de Bruijn wrote: > >> > +#ifdef __KERNEL__ > >> > +#include > >> > +#else > >> > +#include > >> > +#endif /* __KERNEL__ */ > >> > >> This will break applications that include manually. > >> I previously sent a patch to use libc-compat to make comp

Re: [PATCH v06 18/36] uapi linux/errqueue.h: include linux/time.h in user space

2017-08-06 Thread Mikko Rapeli
On Sun, Aug 06, 2017 at 04:26:50PM -0400, Willem de Bruijn wrote: > On Sun, Aug 6, 2017 at 4:23 PM, Willem de Bruijn > wrote: > > On Sun, Aug 6, 2017 at 12:44 PM, Mikko Rapeli wrote: > >> linux/time.h conflicts with user space header time.h. Try to be compatible > >&

Re: [PATCH v06 18/36] uapi linux/errqueue.h: include linux/time.h in user space

2017-08-06 Thread Mikko Rapeli
On Sun, Aug 06, 2017 at 04:23:16PM -0400, Willem de Bruijn wrote: > On Sun, Aug 6, 2017 at 12:44 PM, Mikko Rapeli wrote: > > linux/time.h conflicts with user space header time.h. Try to be compatible > > with both. > > > > Fixes userspace compilation error: &g

[PATCH v06 18/36] uapi linux/errqueue.h: include linux/time.h in user space

2017-08-06 Thread Mikko Rapeli
linux/time.h conflicts with user space header time.h. Try to be compatible with both. Fixes userspace compilation error: error: array type has incomplete element type struct timespec ts[3]; Signed-off-by: Mikko Rapeli Cc: Willem de Bruijn Cc: Soheil Hassas Yeganeh Cc: netdev@vger.kernel.org

[PATCH v06 35/36] uapi linux/tls.h: don't include in user space

2017-08-06 Thread Mikko Rapeli
It is not needed and not part of uapi headers, but causes user space compilation error: fatal error: net/tcp.h: No such file or directory #include ^ Signed-off-by: Mikko Rapeli Cc: Dave Watson Cc: Ilya Lesokhin Cc: Aviad Yehezkel --- include/uapi/linux/tls.h | 2 ++ 1

[PATCH v06 15/36] uapi linux/socket.h: include sys/socket.h in user space

2017-08-06 Thread Mikko Rapeli
_sockaddr; error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr’ With this following uapi headers now compile in user space: rdma/rdma_user_rxe.h linux/vm_sockets.h linux/ncp_fs.h linux/nfc.h linux/phonet.h Signed-off-by: Mikko Rapeli Cc: netdev@vger.kernel.org Cc: Dmitry V. Levin

[PATCH v06 20/36] uapi linux/scc.h: include linux/sockios.h

2017-08-06 Thread Mikko Rapeli
Fixes userspace compilation error: error: ‘SIOCDEVPRIVATE’ undeclared here (not in a function) SIOCSCCRESERVED = SIOCDEVPRIVATE Signed-off-by: Mikko Rapeli Cc: netdev@vger.kernel.org Cc: linux-h...@vger.kernel.org Cc: Joerg Reuter --- include/uapi/linux/scc.h | 1 + 1 file changed, 1

[PATCH v06 01/36] Add scripts/headers_compile_test.sh: compile test for exported uapi headers

2017-08-06 Thread Mikko Rapeli
: 73 files failed libc before kernel include test. 790 files passed libc before kernel include test. Since I've been stubborn enough to work with this script and fixes to the test failures for a few years, I added my self to MAINTAINERS. Signed-off-by: Mikko Rapeli Cc: Alexander Stein Cc: Gab

Re: uapi: MAX_ADDR_LEN vs. numeric 32

2017-08-04 Thread Mikko Rapeli
On Sat, Aug 05, 2017 at 01:25:19AM +0300, Dmitry V. Levin wrote: > > On Sat, Aug 05, 2017 at 12:33:25AM +0300, Mikko Rapeli wrote: > > > > I find using MAX_ADDR_LEN better than numeric 32, though I doubt this will > > change any time soon. Would you mind if I

uapi: MAX_ADDR_LEN vs. numeric 32

2017-08-04 Thread Mikko Rapeli
Hi, First, thanks Dmitry for fixing several uapi compilation problems in user space. I got a bit demotivated about the slow review progress, e.g. no feedback what so ever, on some of the patches, but lets try again... I rebased my tree now and saw commit 745cb7f8a5de0805cade3de3991b7a95317c7c73

Re: [PATCH 3/4] uapi glibc compat: Do not check for __USE_MISC

2017-03-16 Thread Mikko Rapeli
On Thu, Mar 16, 2017 at 07:59:12AM +, David Woodhouse wrote: > On Sun, 2017-03-12 at 23:00 +0100, Hauke Mehrtens wrote: > > __USE_MISC is glibc specific and not available in musl libc. Only do > > this check when glibc is used. This fixes a problem with musl libc. > > ... > > -/* Coordinate wit

Re: [PATCH 4/4] uapi/if_ether.h: prevent redefinition of struct ethhdr

2017-03-13 Thread Mikko Rapeli
> Tested-by: David Heidelberger > Signed-off-by: Jonas Gorski Acked-by: Mikko Rapeli > --- > include/uapi/linux/if_ether.h| 3 +++ > include/uapi/linux/libc-compat.h | 11 +++ > 2 files changed, 14 insertions(+) > > diff --git a/include/uapi/linux/if_ether

Re: [PATCH 3/4] uapi glibc compat: Do not check for __USE_MISC

2017-03-13 Thread Mikko Rapeli
On Sun, Mar 12, 2017 at 11:00:38PM +0100, Hauke Mehrtens wrote: > __USE_MISC is glibc specific and not available in musl libc. Only do > this check when glibc is used. This fixes a problem with musl libc. > Signed-off-by: Hauke Mehrtens Acked-by: Mikko Rapeli > --- > include/

Re: [PATCH 2/4] uapi glibc compat: fix build if libc defines IFF_ECHO

2017-03-13 Thread Mikko Rapeli
_ECHO only when > it is needed. This should also make this work in case glibc will add > these defines. > > Signed-off-by: Hauke Mehrtens Acked-by: Mikko Rapeli > --- > include/uapi/linux/libc-compat.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/

Re: [PATCH 1/4] uapi glibc compat: add libc compat code when not build for kernel

2017-03-13 Thread Mikko Rapeli
ens Accked-by: Mikko Rapeli > --- > include/uapi/linux/libc-compat.h | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/include/uapi/linux/libc-compat.h > b/include/uapi/linux/libc-compat.h > index 44b8a6bd5fe1..7c1fead03c50 100644 > --- a/i

Re: Commit 1fe8e0... (include more headers in if_tunnel.h) breaks my user-space build.

2017-01-13 Thread Mikko Rapeli
/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and > >>>>linux/in6.h > >>>> > >>>> Fixes userspace compilation errors like: > >>>> > >>>> error: field ‘iph’ has incomplete type > >>>> error: fi

Re: [PATCH] Revert "include/uapi/linux/atm_zatm.h: include linux/time.h"

2016-11-11 Thread Mikko Rapeli
one year earlier, commit 70ba07b675b5 > ("atm: remove 'struct zatm_t_hist'") deleted the struct in question. Acked-by: Mikko Rapeli Yep, sorry about this. My development branches are living for too long and I should check each patch again before submitting. Simply rebasing

Re: linux/atm_zatm.h not really usable in userspace since cf00713a655d3019be7faa184402f16c43a0fed3

2016-10-15 Thread Mikko Rapeli
On Sat, Oct 15, 2016 at 03:33:22PM +0100, Pascal Terjan wrote: > On 15 October 2016 at 15:09, Mikko Rapeli wrote: > > On Sat, Oct 15, 2016 at 01:05:10PM +0100, Pascal Terjan wrote: > >> It is no longer possible to include + userspace > >> headers using time, for exampl

Re: linux/atm_zatm.h not really usable in userspace since cf00713a655d3019be7faa184402f16c43a0fed3

2016-10-15 Thread Mikko Rapeli
On Sat, Oct 15, 2016 at 01:05:10PM +0100, Pascal Terjan wrote: > It is no longer possible to include + userspace > headers using time, for example , this broke for example > the build of linux-atm. > > Reproducer: > > $ cat test.c > #include > #include If possible, please reverse the order o

Re: userspace build broken by include changes

2016-10-15 Thread Mikko Rapeli
Hi, On Sat, Oct 15, 2016 at 12:40:43PM +0100, Pascal Terjan wrote: > rp-pppoe plugin of ppp no longer builds: > > In file included from pppoe.h:87:0, > from plugin.c:29: > /usr/include/linux/in.h:28:3: error: redeclaration of enumerator 'IPPROTO_IP' >IPPROTO_IP = 0, /* Dummy

Re: [PATCH v05 66/72] uapi icmp.h: glibc netinet/ip_icmp.h header file compatibility fixes

2016-08-23 Thread Mikko Rapeli
On Mon, Aug 22, 2016 at 04:32:51PM -0700, David Miller wrote: > You have to post this properly to the netdev list. > > If netdev is not CC:'d it doesn't get properly logged in patchwork, > and won't be applied. Sorry, get_maintainers.pl did not find netdev list for these patches. Could you updat

[PATCH v05 69/72] uapi rose.h: glibc netrose/rose.h header file compatibility fixes

2016-08-23 Thread Mikko Rapeli
rose.h:74:8: error: redefinition of ‘struct rose_cause_struct’ linux/rose.h:79:8: error: redefinition of ‘struct rose_facilities_struct’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/libc-compat.h | 30 ++ include/uapi/linux/rose.h| 15 +++ 2

[PATCH v05 68/72] uapi ax25.h: glibc netax25/ax25.h header file compatibility fixes

2016-08-23 Thread Mikko Rapeli
efinition of ‘struct ax25_ctl_struct’ linux/ax25.h:98:8: error: redefinition of ‘struct ax25_info_struct’ linux/ax25.h:111:8: error: redefinition of ‘struct ax25_fwd_struct’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/ax25.h| 22 + include/uapi/linu

[PATCH v05 66/72] uapi icmp.h: glibc netinet/ip_icmp.h header file compatibility fixes

2016-08-23 Thread Mikko Rapeli
Fixes this userspace compile error when glibc netinet/ip_icmp.h is included before linux/icmp.h: linux/icmp.h:68:8: error: redefinition of ‘struct icmphdr’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/icmp.h| 4 +++- include/uapi/linux/libc-compat.h | 10 ++ 2 files

[PATCH v05 72/72] uapi route.h: glibc net/route.h compat fix

2016-08-23 Thread Mikko Rapeli
Fixes this userspace compile error when net/route.h is included before linux/route.h: linux/route.h:30:8: error: redefinition of ‘struct rtentry’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/libc-compat.h | 10 ++ include/uapi/linux/route.h | 4 +++- 2 files changed, 13

Re: [PATCH v05 38/72] include/uapi/linux/openvswitch.h: use __u32 from linux/types.h

2016-08-23 Thread Mikko Rapeli
On Mon, Aug 22, 2016 at 12:39:38PM -0700, Stephen Hemminger wrote: > On Mon, 22 Aug 2016 20:32:55 +0200 > Mikko Rapeli wrote: > > > Fixes userspace compiler error: > > > > error: unknown type name ‘uint32_t’ > > > > Signed-off-by: Mikko Rapeli > >

Re: [PATCH v05 21/72] include/uapi/linux/if_pppox.h: include linux/if.h

2016-08-22 Thread Mikko Rapeli
On Mon, Aug 22, 2016 at 12:37:45PM -0700, Stephen Hemminger wrote: > On Mon, 22 Aug 2016 20:32:38 +0200 > Mikko Rapeli wrote: > > > Fixes userspace compilation error: > > > > error: ‘IFNAMSIZ’ undeclared here (not in a function) > > > > Signed-off-by:

[PATCH v05 22/72] include/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and linux/in6.h

2016-08-22 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘iph’ has incomplete type error: field ‘prefix’ has incomplete type Signed-off-by: Mikko Rapeli --- include/uapi/linux/if_tunnel.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/if_tunnel.h b/include/uapi/linux

[PATCH v05 64/72] include/uapi/linux/ipx.h: fix conflicting defitions with glibc netipx/ipx.h

2016-08-22 Thread Mikko Rapeli
ipx_interface_definition’ ./linux/ipx.h:49:8: error: redefinition of ‘struct ipx_config_data’ ./linux/ipx.h:58:8: error: redefinition of ‘struct ipx_route_def’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/ipx.h | 13 - include/uapi/linux/libc-compat.h | 26

[PATCH v05 21/72] include/uapi/linux/if_pppox.h: include linux/if.h

2016-08-22 Thread Mikko Rapeli
Fixes userspace compilation error: error: ‘IFNAMSIZ’ undeclared here (not in a function) Signed-off-by: Mikko Rapeli --- include/uapi/linux/if_pppox.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/if_pppox.h b/include/uapi/linux/if_pppox.h index e128769..473c3c4 100644

[PATCH v05 62/72] include/uapi/linux/openvswitch.h: use __u32 from linux/types.h

2016-08-22 Thread Mikko Rapeli
Kernel uapi header are supposed to use them. Fixes userspace compile error: linux/openvswitch.h:583:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/openvswitch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux

[PATCH v05 25/72] include/uapi/linux/if_pppol2tp.h: include linux/in.h and linux/in6.h

2016-08-22 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘addr’ has incomplete type struct sockaddr_in addr; /* IP address and port to send to */ ^ error: field ‘addr’ has incomplete type struct sockaddr_in6 addr; /* IP address and port to send to */ Signed-off-by: Mikko

[PATCH v05 26/72] include/uapi/linux/if_pppox.h: include linux/in.h and linux/in6.h

2016-08-22 Thread Mikko Rapeli
Fixes userspace compilation errors: error: field ‘addr’ has incomplete type struct sockaddr_in addr; /* IP address and port to send to */ error: field ‘addr’ has incomplete type struct sockaddr_in6 addr; /* IP address and port to send to */ Signed-off-by: Mikko Rapeli --- include/uapi/linux

[PATCH v05 38/72] include/uapi/linux/openvswitch.h: use __u32 from linux/types.h

2016-08-22 Thread Mikko Rapeli
Fixes userspace compiler error: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/openvswitch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h index d95a301

[PATCH v05 41/72] include/uapi/linux/atm_zatm.h: include linux/time.h

2016-08-22 Thread Mikko Rapeli
Fixes userspace compile error: error: field ‘real’ has incomplete type struct timeval real; /* real (wall-clock) time */ Signed-off-by: Mikko Rapeli --- include/uapi/linux/atm_zatm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/atm_zatm.h b/include/uapi/linux

Re: [PATCH net] uapi glibc compat: fix compilation when !__USE_MISC in glibc

2016-05-21 Thread Mikko Rapeli
_DEFAULT_SOURCE. ... In the compile test I go with the defaults. I guess I should test all of these feature variants and in the future check deeper into the glibc ifdefs. > CC: Jan Engelhardt > CC: Josh Boyer > CC: Stephen Hemminger > CC: Waldemar Brodkorb > CC: Gabriel Lask

Re: [PATCH v2] uapi glibc compat: fix compile errors when glibc net/if.h included before linux/if.h

2016-05-09 Thread Mikko Rapeli
On Mon, May 09, 2016 at 11:35:35PM +0200, Pablo Neira Ayuso wrote: > It seems linux-netdev was not Cc'ed. I cannot find this in David's > patchwork [1]. > > @Mikko: Could you resubmit including netdev@vger.kernel.org? Thanks. Done: http://patchwork.ozlabs.org/patch/620262/ -Mikko

[PATCH v2] uapi glibc compat: fix compile errors when glibc net/if.h included before linux/if.h

2016-05-09 Thread Mikko Rapeli
isk/src/linux-2.6/usr/headers_compile_test_include.2uX2zH/i586-linux-gnu -o /dev/null ./linux/if.h_libc_before_kernel.h PASSED libc before kernel test: ./linux/if.h Reported-by: Jan Engelhardt Reported-by: Josh Boyer Reported-by: Stephen Hemminger Reported-by: Waldemar Brodkorb Cc: Gabriel Laskar

Re: [PATCH] uapi glibc compat: fix cases where glibc net/if.h is included before linux/if.h

2016-02-25 Thread Mikko Rapeli
(Adding libc-alpha list, review of https://lkml.org/lkml/2016/2/7/89 ) On Wed, Feb 17, 2016 at 10:46:20AM -0500, David Miller wrote: > From: Mikko Rapeli > Date: Sun, 7 Feb 2016 16:03:21 +0200 > > > @@ -68,6 +72,8 @@ > > * @IFF_ECHO: echo sent packets. Volatil

Re: header conflict introduced by change to netfilter_ipv4/ip_tables.h

2016-02-25 Thread Mikko Rapeli
On Thu, Feb 25, 2016 at 10:08:56PM +0100, Thomas Graf wrote: > On 01/06/16 at 09:20am, Stephen Hemminger wrote: > > This commit breaks compilation of iproute2 with net-next. > > > > commit 1ffad83dffd675cd742286ae82dca7d746cb0da8 > > Author: Mikko Rapeli > >

Re: header conflict introduced by change to netfilter_ipv4/ip_tables.h

2016-02-25 Thread Mikko Rapeli
On Thu, Feb 25, 2016 at 09:53:32PM +0100, Daniel Borkmann wrote: > On 02/04/2016 08:13 AM, Josh Boyer wrote: > >On Thu, Jan 7, 2016 at 2:15 PM, Mikko Rapeli wrote: > >>On Thu, Jan 07, 2016 at 10:30:40AM -0800, Stephen Hemminger wrote: > >>>On Thu, 7 Jan 2016 07

[PATCH] uapi glibc compat: fix cases where glibc net/if.h is included before linux/if.h

2016-02-07 Thread Mikko Rapeli
-fixed -I . -I /home/mcfrisk/src/linux-2.6/usr/headers_compile_test_include.ddxtNf -I /home/mcfrisk/src/linux-2.6/usr/headers_compile_test_include.ddxtNf/i586-linux-gnu -o /dev/null ./iproute2_bug.h Reported-by: Stephen Hemminger Reported-by: Josh Boyer Signed-off-by: Mikko Rapeli --- in

Kernel uapi and glibc header conflicts (was Re: header conflict introduced by change to netfilter_ipv4/ip_tables.h )

2016-02-07 Thread Mikko Rapeli
On Thu, Jan 07, 2016 at 10:30:40AM -0800, Stephen Hemminger wrote: > On Thu, 7 Jan 2016 07:29:50 + > Mikko Rapeli wrote: > > > On Wed, Jan 06, 2016 at 09:20:07AM -0800, Stephen Hemminger wrote: > > > This commit breaks compilation of iproute2 with net-next. > >

Re: header conflict introduced by change to netfilter_ipv4/ip_tables.h

2016-01-06 Thread Mikko Rapeli
her ifndef for IFNAMSIZ into kernel uapi headers? -Mikko > commit 1ffad83dffd675cd742286ae82dca7d746cb0da8 > Author: Mikko Rapeli > Date: Thu Oct 15 07:56:30 2015 +0200 > > netfilter: fix include files for compilation > > Add missing header dependencies and oth

[PATCH v4 60/79] include/uapi/linux/atm_zatm.h: include linux/time.h

2015-10-14 Thread Mikko Rapeli
Fixes userspace compile error: error: field ‘real’ has incomplete type struct timeval real; /* real (wall-clock) time */ Signed-off-by: Mikko Rapeli --- include/uapi/linux/atm_zatm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/atm_zatm.h b/include/uapi/linux

[PATCH v4 57/79] include/uapi/linux/openvswitch.h: use __u32 from linux/types.h

2015-10-14 Thread Mikko Rapeli
Fixes userspace compiler error: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/openvswitch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h index 32e07d8

[PATCH v4 39/79] include/uapi/linux/if_pppox.h: include linux/if.h

2015-10-14 Thread Mikko Rapeli
Fixes userspace compilation error: error: ‘IFNAMSIZ’ undeclared here (not in a function) Signed-off-by: Mikko Rapeli --- include/uapi/linux/if_pppox.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/if_pppox.h b/include/uapi/linux/if_pppox.h index e128769..473c3c4 100644

[PATCH v4 44/79] include/uapi/linux/if_pppox.h: include linux/in.h and linux/in6.h

2015-10-14 Thread Mikko Rapeli
Fixes userspace compilation errors: error: field ‘addr’ has incomplete type struct sockaddr_in addr; /* IP address and port to send to */ error: field ‘addr’ has incomplete type struct sockaddr_in6 addr; /* IP address and port to send to */ Signed-off-by: Mikko Rapeli --- include/uapi/linux

[PATCH v4 43/79] include/uapi/linux/if_pppol2tp.h: include linux/in.h and linux/in6.h

2015-10-14 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘addr’ has incomplete type struct sockaddr_in addr; /* IP address and port to send to */ ^ error: field ‘addr’ has incomplete type struct sockaddr_in6 addr; /* IP address and port to send to */ Signed-off-by: Mikko

[PATCH v4 40/79] include/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and linux/in6.h

2015-10-14 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘iph’ has incomplete type error: field ‘prefix’ has incomplete type Signed-off-by: Mikko Rapeli --- include/uapi/linux/if_tunnel.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/if_tunnel.h b/include/uapi/linux

[PATCH 81/98] include/uapi/linux/openvswitch.h: use __u32 from linux/types.h

2015-05-30 Thread Mikko Rapeli
Fixes userspace compiler error: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/openvswitch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h index bbd49a0

[PATCH 84/98] include/uapi/linux/atm_zatm.h: include linux/time.h

2015-05-30 Thread Mikko Rapeli
Fixes userspace compile error: error: field ‘real’ has incomplete type struct timeval real; /* real (wall-clock) time */ Signed-off-by: Mikko Rapeli --- include/uapi/linux/atm_zatm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/atm_zatm.h b/include/uapi/linux

[PATCH 41/98] include/uapi/linux/if_pppox.h: include linux/if.h

2015-05-30 Thread Mikko Rapeli
Fixes userspace compilation error: error: ‘IFNAMSIZ’ undeclared here (not in a function) Signed-off-by: Mikko Rapeli --- include/uapi/linux/if_pppox.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/if_pppox.h b/include/uapi/linux/if_pppox.h index e128769..473c3c4 100644

[PATCH 48/98] include/uapi/linux/if_pppox.h: include linux/in.h and linux/in6.h

2015-05-30 Thread Mikko Rapeli
Fixes userspace compilation errors: error: field ‘addr’ has incomplete type struct sockaddr_in addr; /* IP address and port to send to */ error: field ‘addr’ has incomplete type struct sockaddr_in6 addr; /* IP address and port to send to */ Signed-off-by: Mikko Rapeli --- include/uapi/linux

[PATCH 47/98] include/uapi/linux/if_pppol2tp.h: include linux/in.h and linux/in6.h

2015-05-30 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘addr’ has incomplete type struct sockaddr_in addr; /* IP address and port to send to */ ^ error: field ‘addr’ has incomplete type struct sockaddr_in6 addr; /* IP address and port to send to */ Signed-off-by: Mikko

[PATCH 42/98] include/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and linux/in6.h

2015-05-30 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘iph’ has incomplete type error: field ‘prefix’ has incomplete type Signed-off-by: Mikko Rapeli --- include/uapi/linux/if_tunnel.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/if_tunnel.h b/include/uapi/linux