Use sanatized headers from 2.6.29
Update to final 2.6.29 headers
This commit is contained in:
parent
ced61d7dc4
commit
6788115142
|
|
@ -231,10 +231,11 @@ static __inline__ int atmpvc_addr_in_use(struct sockaddr_atmpvc addr)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct atmif_sioc {
|
struct atmif_sioc {
|
||||||
int number;
|
int number;
|
||||||
int length;
|
int length;
|
||||||
void *arg;
|
void *arg;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
typedef unsigned short atm_backend_t;
|
typedef unsigned short atm_backend_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef __LINUX_GENERIC_NETLINK_H
|
#ifndef __LINUX_GENERIC_NETLINK_H
|
||||||
#define __LINUX_GENERIC_NETLINK_H
|
#define __LINUX_GENERIC_NETLINK_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
#include <linux/netlink.h>
|
#include <linux/netlink.h>
|
||||||
|
|
||||||
#define GENL_NAMSIZ 16 /* length of family name */
|
#define GENL_NAMSIZ 16 /* length of family name */
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,7 @@
|
||||||
#define IFF_BONDING 0x20 /* bonding master or slave */
|
#define IFF_BONDING 0x20 /* bonding master or slave */
|
||||||
#define IFF_SLAVE_NEEDARP 0x40 /* need ARPs for validation */
|
#define IFF_SLAVE_NEEDARP 0x40 /* need ARPs for validation */
|
||||||
#define IFF_ISATAP 0x80 /* ISATAP interface (RFC4214) */
|
#define IFF_ISATAP 0x80 /* ISATAP interface (RFC4214) */
|
||||||
|
#define IFF_MASTER_ARPMON 0x100 /* bonding master, ARP mon in use */
|
||||||
|
|
||||||
#define IF_GET_IFACE 0x0001 /* for querying only */
|
#define IF_GET_IFACE 0x0001 /* for querying only */
|
||||||
#define IF_GET_PROTO 0x0002
|
#define IF_GET_PROTO 0x0002
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef __LINUX_IF_ADDR_H
|
#ifndef __LINUX_IF_ADDR_H
|
||||||
#define __LINUX_IF_ADDR_H
|
#define __LINUX_IF_ADDR_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
#include <linux/netlink.h>
|
#include <linux/netlink.h>
|
||||||
|
|
||||||
struct ifaddrmsg
|
struct ifaddrmsg
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@
|
||||||
#ifndef __LINUX_IF_ADDRLABEL_H
|
#ifndef __LINUX_IF_ADDRLABEL_H
|
||||||
#define __LINUX_IF_ADDRLABEL_H
|
#define __LINUX_IF_ADDRLABEL_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
struct ifaddrlblmsg
|
struct ifaddrlblmsg
|
||||||
{
|
{
|
||||||
__u8 ifal_family; /* Address family */
|
__u8 ifal_family; /* Address family */
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef _LINUX_IF_LINK_H
|
#ifndef _LINUX_IF_LINK_H
|
||||||
#define _LINUX_IF_LINK_H
|
#define _LINUX_IF_LINK_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
#include <linux/netlink.h>
|
#include <linux/netlink.h>
|
||||||
|
|
||||||
/* The struct should be in sync with struct net_device_stats */
|
/* The struct should be in sync with struct net_device_stats */
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
#define _IF_TUNNEL_H_
|
#define _IF_TUNNEL_H_
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/ip.h>
|
|
||||||
|
|
||||||
#define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0)
|
#define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0)
|
||||||
#define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1)
|
#define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
#ifndef _INET_DIAG_H_
|
#ifndef _INET_DIAG_H_
|
||||||
#define _INET_DIAG_H_ 1
|
#define _INET_DIAG_H_ 1
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
/* Just some random number */
|
/* Just some random number */
|
||||||
#define TCPDIAG_GETSOCK 18
|
#define TCPDIAG_GETSOCK 18
|
||||||
#define DCCPDIAG_GETSOCK 19
|
#define DCCPDIAG_GETSOCK 19
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
#ifndef _IP6_TUNNEL_H
|
#ifndef _IP6_TUNNEL_H
|
||||||
#define _IP6_TUNNEL_H
|
#define _IP6_TUNNEL_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
#define IPV6_TLV_TNL_ENCAP_LIMIT 4
|
#define IPV6_TLV_TNL_ENCAP_LIMIT 4
|
||||||
#define IPV6_DEFAULT_TNL_ENCAP_LIMIT 4
|
#define IPV6_DEFAULT_TNL_ENCAP_LIMIT 4
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef __LINUX_NEIGHBOUR_H
|
#ifndef __LINUX_NEIGHBOUR_H
|
||||||
#define __LINUX_NEIGHBOUR_H
|
#define __LINUX_NEIGHBOUR_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
#include <linux/netlink.h>
|
#include <linux/netlink.h>
|
||||||
|
|
||||||
struct ndmsg
|
struct ndmsg
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef __LINUX_PKT_CLS_H
|
#ifndef __LINUX_PKT_CLS_H
|
||||||
#define __LINUX_PKT_CLS_H
|
#define __LINUX_PKT_CLS_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
#include <linux/pkt_sched.h>
|
#include <linux/pkt_sched.h>
|
||||||
|
|
||||||
/* I think i could have done better macros ; for now this is stolen from
|
/* I think i could have done better macros ; for now this is stolen from
|
||||||
|
|
@ -394,6 +395,20 @@ enum
|
||||||
|
|
||||||
#define TCA_BASIC_MAX (__TCA_BASIC_MAX - 1)
|
#define TCA_BASIC_MAX (__TCA_BASIC_MAX - 1)
|
||||||
|
|
||||||
|
|
||||||
|
/* Cgroup classifier */
|
||||||
|
|
||||||
|
enum
|
||||||
|
{
|
||||||
|
TCA_CGROUP_UNSPEC,
|
||||||
|
TCA_CGROUP_ACT,
|
||||||
|
TCA_CGROUP_POLICE,
|
||||||
|
TCA_CGROUP_EMATCHES,
|
||||||
|
__TCA_CGROUP_MAX,
|
||||||
|
};
|
||||||
|
|
||||||
|
#define TCA_CGROUP_MAX (__TCA_CGROUP_MAX - 1)
|
||||||
|
|
||||||
/* Extended Matches */
|
/* Extended Matches */
|
||||||
|
|
||||||
struct tcf_ematch_tree_hdr
|
struct tcf_ematch_tree_hdr
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
#ifndef __LINUX_PKT_SCHED_H
|
#ifndef __LINUX_PKT_SCHED_H
|
||||||
#define __LINUX_PKT_SCHED_H
|
#define __LINUX_PKT_SCHED_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
/* Logical priority bands not depending on specific packet scheduler.
|
/* Logical priority bands not depending on specific packet scheduler.
|
||||||
Every scheduler will map them to real traffic classes, if it has
|
Every scheduler will map them to real traffic classes, if it has
|
||||||
no more precise mechanism to classify packets.
|
no more precise mechanism to classify packets.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef __LINUX_RTNETLINK_H
|
#ifndef __LINUX_RTNETLINK_H
|
||||||
#define __LINUX_RTNETLINK_H
|
#define __LINUX_RTNETLINK_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
#include <linux/netlink.h>
|
#include <linux/netlink.h>
|
||||||
#include <linux/if_link.h>
|
#include <linux/if_link.h>
|
||||||
#include <linux/if_addr.h>
|
#include <linux/if_addr.h>
|
||||||
|
|
@ -107,6 +108,11 @@ enum {
|
||||||
RTM_GETADDRLABEL,
|
RTM_GETADDRLABEL,
|
||||||
#define RTM_GETADDRLABEL RTM_GETADDRLABEL
|
#define RTM_GETADDRLABEL RTM_GETADDRLABEL
|
||||||
|
|
||||||
|
RTM_GETDCB = 78,
|
||||||
|
#define RTM_GETDCB RTM_GETDCB
|
||||||
|
RTM_SETDCB,
|
||||||
|
#define RTM_SETDCB RTM_SETDCB
|
||||||
|
|
||||||
__RTM_MAX,
|
__RTM_MAX,
|
||||||
#define RTM_MAX (((__RTM_MAX + 3) & ~3) - 1)
|
#define RTM_MAX (((__RTM_MAX + 3) & ~3) - 1)
|
||||||
};
|
};
|
||||||
|
|
@ -211,7 +217,7 @@ enum
|
||||||
#define RTPROT_DNROUTED 13 /* DECnet routing daemon */
|
#define RTPROT_DNROUTED 13 /* DECnet routing daemon */
|
||||||
#define RTPROT_XORP 14 /* XORP */
|
#define RTPROT_XORP 14 /* XORP */
|
||||||
#define RTPROT_NTK 15 /* Netsukuku */
|
#define RTPROT_NTK 15 /* Netsukuku */
|
||||||
#define RTPROT_DHCP 16 /* DHCP client */
|
#define RTPROT_DHCP 16 /* DHCP client */
|
||||||
|
|
||||||
/* rtm_scope
|
/* rtm_scope
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ struct cmsghdr {
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
#define __KINLINE static __inline__
|
#define __KINLINE static __inline__
|
||||||
#elif defined(__cplusplus)
|
#elif defined(__cplusplus)
|
||||||
#define __KINLINE static inline
|
#define __KINLINE static __inline__
|
||||||
#else
|
#else
|
||||||
#define __KINLINE static
|
#define __KINLINE static
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef __LINUX_TC_GACT_H
|
#ifndef __LINUX_TC_GACT_H
|
||||||
#define __LINUX_TC_GACT_H
|
#define __LINUX_TC_GACT_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
#include <linux/pkt_cls.h>
|
#include <linux/pkt_cls.h>
|
||||||
|
|
||||||
#define TCA_ACT_GACT 5
|
#define TCA_ACT_GACT 5
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef __LINUX_TC_MIR_H
|
#ifndef __LINUX_TC_MIR_H
|
||||||
#define __LINUX_TC_MIR_H
|
#define __LINUX_TC_MIR_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
#include <linux/pkt_cls.h>
|
#include <linux/pkt_cls.h>
|
||||||
|
|
||||||
#define TCA_ACT_MIRRED 8
|
#define TCA_ACT_MIRRED 8
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef __LINUX_TC_PED_H
|
#ifndef __LINUX_TC_PED_H
|
||||||
#define __LINUX_TC_PED_H
|
#define __LINUX_TC_PED_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
#include <linux/pkt_cls.h>
|
#include <linux/pkt_cls.h>
|
||||||
|
|
||||||
#define TCA_ACT_PEDIT 7
|
#define TCA_ACT_PEDIT 7
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef __LINUX_TC_EM_CMP_H
|
#ifndef __LINUX_TC_EM_CMP_H
|
||||||
#define __LINUX_TC_EM_CMP_H
|
#define __LINUX_TC_EM_CMP_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
#include <linux/pkt_cls.h>
|
#include <linux/pkt_cls.h>
|
||||||
|
|
||||||
struct tcf_em_cmp
|
struct tcf_em_cmp
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef __LINUX_TC_EM_META_H
|
#ifndef __LINUX_TC_EM_META_H
|
||||||
#define __LINUX_TC_EM_META_H
|
#define __LINUX_TC_EM_META_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
#include <linux/pkt_cls.h>
|
#include <linux/pkt_cls.h>
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef __LINUX_TC_EM_NBYTE_H
|
#ifndef __LINUX_TC_EM_NBYTE_H
|
||||||
#define __LINUX_TC_EM_NBYTE_H
|
#define __LINUX_TC_EM_NBYTE_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
#include <linux/pkt_cls.h>
|
#include <linux/pkt_cls.h>
|
||||||
|
|
||||||
struct tcf_em_nbyte
|
struct tcf_em_nbyte
|
||||||
|
|
|
||||||
|
|
@ -108,19 +108,14 @@ typedef __s64 int64_t;
|
||||||
*
|
*
|
||||||
* Linux always considers sectors to be 512 bytes long independently
|
* Linux always considers sectors to be 512 bytes long independently
|
||||||
* of the devices real block size.
|
* of the devices real block size.
|
||||||
|
*
|
||||||
|
* blkcnt_t is the type of the inode's block count.
|
||||||
*/
|
*/
|
||||||
#ifdef CONFIG_LBD
|
#ifdef CONFIG_LBD
|
||||||
typedef u64 sector_t;
|
typedef u64 sector_t;
|
||||||
#else
|
|
||||||
typedef unsigned long sector_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* The type of the inode's block count.
|
|
||||||
*/
|
|
||||||
#ifdef CONFIG_LSF
|
|
||||||
typedef u64 blkcnt_t;
|
typedef u64 blkcnt_t;
|
||||||
#else
|
#else
|
||||||
|
typedef unsigned long sector_t;
|
||||||
typedef unsigned long blkcnt_t;
|
typedef unsigned long blkcnt_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -154,10 +149,9 @@ typedef __u16 __bitwise __le16;
|
||||||
typedef __u16 __bitwise __be16;
|
typedef __u16 __bitwise __be16;
|
||||||
typedef __u32 __bitwise __le32;
|
typedef __u32 __bitwise __le32;
|
||||||
typedef __u32 __bitwise __be32;
|
typedef __u32 __bitwise __be32;
|
||||||
#if defined(__GNUC__)
|
|
||||||
typedef __u64 __bitwise __le64;
|
typedef __u64 __bitwise __le64;
|
||||||
typedef __u64 __bitwise __be64;
|
typedef __u64 __bitwise __be64;
|
||||||
#endif
|
|
||||||
typedef __u16 __bitwise __sum16;
|
typedef __u16 __bitwise __sum16;
|
||||||
typedef __u32 __bitwise __wsum;
|
typedef __u32 __bitwise __wsum;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -199,6 +199,9 @@ enum {
|
||||||
#define XFRM_MSG_NEWSPDINFO XFRM_MSG_NEWSPDINFO
|
#define XFRM_MSG_NEWSPDINFO XFRM_MSG_NEWSPDINFO
|
||||||
XFRM_MSG_GETSPDINFO,
|
XFRM_MSG_GETSPDINFO,
|
||||||
#define XFRM_MSG_GETSPDINFO XFRM_MSG_GETSPDINFO
|
#define XFRM_MSG_GETSPDINFO XFRM_MSG_GETSPDINFO
|
||||||
|
|
||||||
|
XFRM_MSG_MAPPING,
|
||||||
|
#define XFRM_MSG_MAPPING XFRM_MSG_MAPPING
|
||||||
__XFRM_MSG_MAX
|
__XFRM_MSG_MAX
|
||||||
};
|
};
|
||||||
#define XFRM_MSG_MAX (__XFRM_MSG_MAX - 1)
|
#define XFRM_MSG_MAX (__XFRM_MSG_MAX - 1)
|
||||||
|
|
@ -438,6 +441,15 @@ struct xfrm_user_migrate {
|
||||||
__u16 new_family;
|
__u16 new_family;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct xfrm_user_mapping {
|
||||||
|
struct xfrm_usersa_id id;
|
||||||
|
__u32 reqid;
|
||||||
|
xfrm_address_t old_saddr;
|
||||||
|
xfrm_address_t new_saddr;
|
||||||
|
__be16 old_sport;
|
||||||
|
__be16 new_sport;
|
||||||
|
};
|
||||||
|
|
||||||
/* backwards compatibility for userspace */
|
/* backwards compatibility for userspace */
|
||||||
#define XFRMGRP_ACQUIRE 1
|
#define XFRMGRP_ACQUIRE 1
|
||||||
#define XFRMGRP_EXPIRE 2
|
#define XFRMGRP_EXPIRE 2
|
||||||
|
|
@ -462,6 +474,8 @@ enum xfrm_nlgroups {
|
||||||
#define XFRMNLGRP_REPORT XFRMNLGRP_REPORT
|
#define XFRMNLGRP_REPORT XFRMNLGRP_REPORT
|
||||||
XFRMNLGRP_MIGRATE,
|
XFRMNLGRP_MIGRATE,
|
||||||
#define XFRMNLGRP_MIGRATE XFRMNLGRP_MIGRATE
|
#define XFRMNLGRP_MIGRATE XFRMNLGRP_MIGRATE
|
||||||
|
XFRMNLGRP_MAPPING,
|
||||||
|
#define XFRMNLGRP_MAPPING XFRMNLGRP_MAPPING
|
||||||
__XFRMNLGRP_MAX
|
__XFRMNLGRP_MAX
|
||||||
};
|
};
|
||||||
#define XFRMNLGRP_MAX (__XFRMNLGRP_MAX - 1)
|
#define XFRMNLGRP_MAX (__XFRMNLGRP_MAX - 1)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue