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
9351fec7
Commit
9351fec7
authored
Jan 12, 2011
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to lasest kernel headers
parent
f2c45d70
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
0 deletions
+32
-0
include/linux/if_ether.h
include/linux/if_ether.h
+1
-0
include/linux/if_link.h
include/linux/if_link.h
+28
-0
include/linux/netfilter.h
include/linux/netfilter.h
+2
-0
include/linux/xfrm.h
include/linux/xfrm.h
+1
-0
No files found.
include/linux/if_ether.h
View file @
9351fec7
...
...
@@ -72,6 +72,7 @@
#define ETH_P_MPLS_UC 0x8847
/* MPLS Unicast traffic */
#define ETH_P_MPLS_MC 0x8848
/* MPLS Multicast traffic */
#define ETH_P_ATMMPOA 0x884c
/* MultiProtocol Over ATM */
#define ETH_P_LINK_CTL 0x886c
/* HPNA, wlan link local tunnel */
#define ETH_P_ATMFATE 0x8884
/* Frame-based ATM Transport
* over Ethernet
*/
...
...
include/linux/if_link.h
View file @
9351fec7
...
...
@@ -80,6 +80,24 @@ struct rtnl_link_ifmap {
__u8
port
;
};
/*
* IFLA_AF_SPEC
* Contains nested attributes for address family specific attributes.
* Each address family may create a attribute with the address family
* number as type and create its own attribute structure in it.
*
* Example:
* [IFLA_AF_SPEC] = {
* [AF_INET] = {
* [IFLA_INET_CONF] = ...,
* },
* [AF_INET6] = {
* [IFLA_INET6_FLAGS] = ...,
* [IFLA_INET6_CONF] = ...,
* }
* }
*/
enum
{
IFLA_UNSPEC
,
IFLA_ADDRESS
,
...
...
@@ -116,6 +134,7 @@ enum {
IFLA_STATS64
,
IFLA_VF_PORTS
,
IFLA_PORT_SELF
,
IFLA_AF_SPEC
,
__IFLA_MAX
};
...
...
@@ -126,6 +145,14 @@ enum {
#define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
#define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
enum
{
IFLA_INET_UNSPEC
,
IFLA_INET_CONF
,
__IFLA_INET_MAX
,
};
#define IFLA_INET_MAX (__IFLA_INET_MAX - 1)
/* ifi_flags.
IFF_* flags.
...
...
@@ -230,6 +257,7 @@ enum macvlan_mode {
MACVLAN_MODE_PRIVATE
=
1
,
/* don't talk to other macvlans */
MACVLAN_MODE_VEPA
=
2
,
/* talk to other ports through ext bridge */
MACVLAN_MODE_BRIDGE
=
4
,
/* talk to bridge ports directly */
MACVLAN_MODE_PASSTHRU
=
8
,
/* take over the underlying device */
};
/* SR-IOV virtual function management section */
...
...
include/linux/netfilter.h
View file @
9351fec7
...
...
@@ -23,6 +23,8 @@
#define NF_QUEUE_NR(x) ((((x) << NF_VERDICT_BITS) & NF_VERDICT_QMASK) | NF_QUEUE)
#define NF_DROP_ERR(x) (((-x) << NF_VERDICT_BITS) | NF_DROP)
/* only for userspace compatibility */
/* Generic cache responses from hook functions.
<= 0x2000 is used for protocol-flags. */
...
...
include/linux/xfrm.h
View file @
9351fec7
...
...
@@ -283,6 +283,7 @@ enum xfrm_attr_type_t {
XFRMA_KMADDRESS
,
/* struct xfrm_user_kmaddress */
XFRMA_ALG_AUTH_TRUNC
,
/* struct xfrm_algo_auth */
XFRMA_MARK
,
/* struct xfrm_mark */
XFRMA_TFCPAD
,
/* __u32 */
__XFRMA_MAX
#define XFRMA_MAX (__XFRMA_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