Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
67881151
Commit
67881151
authored
Mar 24, 2009
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use sanatized headers from 2.6.29
Update to final 2.6.29 headers
parent
ced61d7d
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
65 additions
and
16 deletions
+65
-16
include/linux/atm.h
include/linux/atm.h
+4
-3
include/linux/genetlink.h
include/linux/genetlink.h
+1
-0
include/linux/if.h
include/linux/if.h
+1
-0
include/linux/if_addr.h
include/linux/if_addr.h
+1
-0
include/linux/if_addrlabel.h
include/linux/if_addrlabel.h
+2
-0
include/linux/if_link.h
include/linux/if_link.h
+1
-0
include/linux/if_tunnel.h
include/linux/if_tunnel.h
+1
-1
include/linux/inet_diag.h
include/linux/inet_diag.h
+2
-0
include/linux/ip6_tunnel.h
include/linux/ip6_tunnel.h
+2
-0
include/linux/neighbour.h
include/linux/neighbour.h
+1
-0
include/linux/pkt_cls.h
include/linux/pkt_cls.h
+15
-0
include/linux/pkt_sched.h
include/linux/pkt_sched.h
+2
-0
include/linux/rtnetlink.h
include/linux/rtnetlink.h
+7
-1
include/linux/socket.h
include/linux/socket.h
+1
-1
include/linux/tc_act/tc_gact.h
include/linux/tc_act/tc_gact.h
+1
-0
include/linux/tc_act/tc_mirred.h
include/linux/tc_act/tc_mirred.h
+1
-0
include/linux/tc_act/tc_pedit.h
include/linux/tc_act/tc_pedit.h
+1
-0
include/linux/tc_ematch/tc_em_cmp.h
include/linux/tc_ematch/tc_em_cmp.h
+1
-0
include/linux/tc_ematch/tc_em_meta.h
include/linux/tc_ematch/tc_em_meta.h
+1
-0
include/linux/tc_ematch/tc_em_nbyte.h
include/linux/tc_ematch/tc_em_nbyte.h
+1
-0
include/linux/types.h
include/linux/types.h
+4
-10
include/linux/xfrm.h
include/linux/xfrm.h
+14
-0
No files found.
include/linux/atm.h
View file @
67881151
...
@@ -236,5 +236,6 @@ struct atmif_sioc {
...
@@ -236,5 +236,6 @@ struct atmif_sioc {
void
*
arg
;
void
*
arg
;
};
};
typedef
unsigned
short
atm_backend_t
;
typedef
unsigned
short
atm_backend_t
;
#endif
#endif
include/linux/genetlink.h
View file @
67881151
#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 */
...
...
include/linux/if.h
View file @
67881151
...
@@ -65,6 +65,7 @@
...
@@ -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
...
...
include/linux/if_addr.h
View file @
67881151
#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
...
...
include/linux/if_addrlabel.h
View file @
67881151
...
@@ -10,6 +10,8 @@
...
@@ -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 */
...
...
include/linux/if_link.h
View file @
67881151
#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 */
...
...
include/linux/if_tunnel.h
View file @
67881151
...
@@ -2,7 +2,7 @@
...
@@ -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)
...
...
include/linux/inet_diag.h
View file @
67881151
#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
...
...
include/linux/ip6_tunnel.h
View file @
67881151
#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
...
...
include/linux/neighbour.h
View file @
67881151
#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
...
...
include/linux/pkt_cls.h
View file @
67881151
#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
...
@@ -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
...
...
include/linux/pkt_sched.h
View file @
67881151
#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.
...
...
include/linux/rtnetlink.h
View file @
67881151
#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 {
...
@@ -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)
};
};
...
...
include/linux/socket.h
View file @
67881151
...
@@ -105,7 +105,7 @@ struct cmsghdr {
...
@@ -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
...
...
include/linux/tc_act/tc_gact.h
View file @
67881151
#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
...
...
include/linux/tc_act/tc_mirred.h
View file @
67881151
#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
...
...
include/linux/tc_act/tc_pedit.h
View file @
67881151
#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
...
...
include/linux/tc_ematch/tc_em_cmp.h
View file @
67881151
#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
...
...
include/linux/tc_ematch/tc_em_meta.h
View file @
67881151
#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
...
...
include/linux/tc_ematch/tc_em_nbyte.h
View file @
67881151
#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
...
...
include/linux/types.h
View file @
67881151
...
@@ -108,19 +108,14 @@ typedef __s64 int64_t;
...
@@ -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;
...
@@ -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
;
...
...
include/linux/xfrm.h
View file @
67881151
...
@@ -199,6 +199,9 @@ enum {
...
@@ -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 {
...
@@ -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 {
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment