Commit 1d35a127 authored by Stephen Hemminger's avatar Stephen Hemminger

Update headers to santized versions of 2.6.18

parent a1f1143e
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <linux/types.h> #include <linux/types.h>
#define NETLINK_ROUTE 0 /* Routing/device hook */ #define NETLINK_ROUTE 0 /* Routing/device hook */
#define NETLINK_W1 1 /* 1-wire subsystem */ #define NETLINK_UNUSED 1 /* Unused number */
#define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */ #define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */
#define NETLINK_FIREWALL 3 /* Firewalling hook */ #define NETLINK_FIREWALL 3 /* Firewalling hook */
#define NETLINK_INET_DIAG 4 /* INET socket monitoring */ #define NETLINK_INET_DIAG 4 /* INET socket monitoring */
......
...@@ -18,8 +18,6 @@ struct __kernel_sockaddr_storage { ...@@ -18,8 +18,6 @@ struct __kernel_sockaddr_storage {
#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
#include <linux/config.h> /* for CONFIG_COMPAT */
#include <linux/linkage.h>
#include <asm/socket.h> /* arch-dependent defines */ #include <asm/socket.h> /* arch-dependent defines */
#include <linux/sockios.h> /* the SIOCxxx I/O controls */ #include <linux/sockios.h> /* the SIOCxxx I/O controls */
#include <linux/uio.h> /* iovec support */ #include <linux/uio.h> /* iovec support */
......
...@@ -118,6 +118,10 @@ enum ...@@ -118,6 +118,10 @@ enum
XFRM_SHARE_UNIQUE /* Use once */ XFRM_SHARE_UNIQUE /* Use once */
}; };
#define XFRM_MODE_TRANSPORT 0
#define XFRM_MODE_TUNNEL 1
#define XFRM_MODE_MAX 2
/* Netlink configuration messages. */ /* Netlink configuration messages. */
enum { enum {
XFRM_MSG_BASE = 0x10, XFRM_MSG_BASE = 0x10,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment