Commit a6ffa8b0 authored by Stephen Hemminger's avatar Stephen Hemminger

sanitized headers update to 2.6.23-rc3

Update headers
Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
parent 292ce96b
...@@ -76,6 +76,8 @@ enum ...@@ -76,6 +76,8 @@ enum
#define IFLA_WEIGHT IFLA_WEIGHT #define IFLA_WEIGHT IFLA_WEIGHT
IFLA_OPERSTATE, IFLA_OPERSTATE,
IFLA_LINKMODE, IFLA_LINKMODE,
IFLA_LINKINFO,
#define IFLA_LINKINFO IFLA_LINKINFO
__IFLA_MAX __IFLA_MAX
}; };
...@@ -138,4 +140,49 @@ struct ifla_cacheinfo ...@@ -138,4 +140,49 @@ struct ifla_cacheinfo
__u32 retrans_time; __u32 retrans_time;
}; };
enum
{
IFLA_INFO_UNSPEC,
IFLA_INFO_KIND,
IFLA_INFO_DATA,
IFLA_INFO_XSTATS,
__IFLA_INFO_MAX,
};
#define IFLA_INFO_MAX (__IFLA_INFO_MAX - 1)
/* VLAN section */
enum
{
IFLA_VLAN_UNSPEC,
IFLA_VLAN_ID,
IFLA_VLAN_FLAGS,
IFLA_VLAN_EGRESS_QOS,
IFLA_VLAN_INGRESS_QOS,
__IFLA_VLAN_MAX,
};
#define IFLA_VLAN_MAX (__IFLA_VLAN_MAX - 1)
struct ifla_vlan_flags {
__u32 flags;
__u32 mask;
};
enum
{
IFLA_VLAN_QOS_UNSPEC,
IFLA_VLAN_QOS_MAPPING,
__IFLA_VLAN_QOS_MAX
};
#define IFLA_VLAN_QOS_MAX (__IFLA_VLAN_QOS_MAX - 1)
struct ifla_vlan_qos_mapping
{
__u32 from;
__u32 to;
};
#endif /* _LINUX_IF_LINK_H */ #endif /* _LINUX_IF_LINK_H */
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#ifndef _IPTABLES_H #ifndef _IPTABLES_H
#define _IPTABLES_H #define _IPTABLES_H
#include <linux/if.h>
#include <linux/netfilter_ipv4.h> #include <linux/netfilter_ipv4.h>
#include <linux/netfilter/x_tables.h> #include <linux/netfilter/x_tables.h>
......
...@@ -403,16 +403,13 @@ enum ...@@ -403,16 +403,13 @@ enum
* 1..32767 Reserved for ematches inside kernel tree * 1..32767 Reserved for ematches inside kernel tree
* 32768..65535 Free to use, not reliable * 32768..65535 Free to use, not reliable
*/ */
enum #define TCF_EM_CONTAINER 0
{ #define TCF_EM_CMP 1
TCF_EM_CONTAINER, #define TCF_EM_NBYTE 2
TCF_EM_CMP, #define TCF_EM_U32 3
TCF_EM_NBYTE, #define TCF_EM_META 4
TCF_EM_U32, #define TCF_EM_TEXT 5
TCF_EM_META, #define TCF_EM_MAX 5
TCF_EM_TEXT,
__TCF_EM_MAX
};
enum enum
{ {
......
...@@ -103,9 +103,9 @@ struct tc_prio_qopt ...@@ -103,9 +103,9 @@ struct tc_prio_qopt
enum enum
{ {
TCA_PRIO_UNSPEC, TCA_PRIO_UNSPEC,
TCA_PRIO_MQ, TCA_PRIO_MQ,
__TCA_PRIO_MAX __TCA_PRIO_MAX
}; };
#define TCA_PRIO_MAX (__TCA_PRIO_MAX - 1) #define TCA_PRIO_MAX (__TCA_PRIO_MAX - 1)
......
...@@ -261,9 +261,8 @@ enum rtattr_type_t ...@@ -261,9 +261,8 @@ enum rtattr_type_t
RTA_FLOW, RTA_FLOW,
RTA_CACHEINFO, RTA_CACHEINFO,
RTA_SESSION, RTA_SESSION,
RTA_MP_ALGO, RTA_MP_ALGO, /* no longer used */
RTA_TABLE, RTA_TABLE,
RTA_FWMASK,
__RTA_MAX __RTA_MAX
}; };
......
...@@ -250,6 +250,9 @@ struct ucred { ...@@ -250,6 +250,9 @@ struct ucred {
#define MSG_EOF MSG_FIN #define MSG_EOF MSG_FIN
#define MSG_CMSG_CLOEXEC 0x40000000 /* Set close_on_exit for file
descriptor received through
SCM_RIGHTS */
#if defined(CONFIG_COMPAT) #if defined(CONFIG_COMPAT)
#define MSG_CMSG_COMPAT 0x80000000 /* This message needs 32 bit fixups */ #define MSG_CMSG_COMPAT 0x80000000 /* This message needs 32 bit fixups */
#else #else
...@@ -284,6 +287,7 @@ struct ucred { ...@@ -284,6 +287,7 @@ struct ucred {
#define SOL_NETLINK 270 #define SOL_NETLINK 270
#define SOL_TIPC 271 #define SOL_TIPC 271
#define SOL_RXRPC 272 #define SOL_RXRPC 272
#define SOL_PPPOL2TP 273
/* IPX options */ /* IPX options */
#define IPX_TYPE 1 #define IPX_TYPE 1
......
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