From: Stephen Hemminger Date: Mon, 6 Jul 2015 21:47:26 +0000 (-0700) Subject: headers update X-Git-Tag: v4.2.0~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5386e1150bb1c008446f458b3aef6954ebf83d1;p=thirdparty%2Fiproute2.git headers update if_tun: new ioctl value libc-compat.h: add definitions for kernel build --- diff --git a/include/linux/if_tun.h b/include/linux/if_tun.h index ffee58397..d5ecb4254 100644 --- a/include/linux/if_tun.h +++ b/include/linux/if_tun.h @@ -50,6 +50,12 @@ #define TUNGETFILTER _IOR('T', 219, struct sock_fprog) #define TUNSETVNETLE _IOW('T', 220, int) #define TUNGETVNETLE _IOR('T', 221, int) +/* The TUNSETVNETBE and TUNGETVNETBE ioctls are for cross-endian support on + * little-endian hosts. Not all kernel configurations support them, but all + * configurations that support SET also support GET. + */ +#define TUNSETVNETBE _IOW('T', 222, int) +#define TUNGETVNETBE _IOR('T', 223, int) /* TUNSETIFF ifr flags */ #define IFF_TUN 0x0001 diff --git a/include/linux/libc-compat.h b/include/linux/libc-compat.h index 5dbc9c8dc..9bed5b6ae 100644 --- a/include/linux/libc-compat.h +++ b/include/linux/libc-compat.h @@ -117,6 +117,14 @@ * that we need. */ #else /* !defined(__GLIBC__) */ +/* Definitions for in.h */ +#define __UAPI_DEF_IN_ADDR 1 +#define __UAPI_DEF_IN_IPPROTO 1 +#define __UAPI_DEF_IN_PKTINFO 1 +#define __UAPI_DEF_IP_MREQ 1 +#define __UAPI_DEF_SOCKADDR_IN 1 +#define __UAPI_DEF_IN_CLASS 1 + /* Definitions for in6.h */ #define __UAPI_DEF_IN6_ADDR 1 #define __UAPI_DEF_IN6_ADDR_ALT 1