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
ecefa08c
Commit
ecefa08c
authored
Jul 16, 2013
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to 3.11-rc1 kernel headers
Sanitized headers from upstream
parent
63c9e855
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
0 deletions
+31
-0
include/linux/gen_stats.h
include/linux/gen_stats.h
+11
-0
include/linux/if_arp.h
include/linux/if_arp.h
+1
-0
include/linux/if_link.h
include/linux/if_link.h
+15
-0
include/linux/if_tun.h
include/linux/if_tun.h
+2
-0
include/linux/rtnetlink.h
include/linux/rtnetlink.h
+2
-0
No files found.
include/linux/gen_stats.h
View file @
ecefa08c
...
@@ -9,6 +9,7 @@ enum {
...
@@ -9,6 +9,7 @@ enum {
TCA_STATS_RATE_EST
,
TCA_STATS_RATE_EST
,
TCA_STATS_QUEUE
,
TCA_STATS_QUEUE
,
TCA_STATS_APP
,
TCA_STATS_APP
,
TCA_STATS_RATE_EST64
,
__TCA_STATS_MAX
,
__TCA_STATS_MAX
,
};
};
#define TCA_STATS_MAX (__TCA_STATS_MAX - 1)
#define TCA_STATS_MAX (__TCA_STATS_MAX - 1)
...
@@ -37,6 +38,16 @@ struct gnet_stats_rate_est {
...
@@ -37,6 +38,16 @@ struct gnet_stats_rate_est {
__u32
pps
;
__u32
pps
;
};
};
/**
* struct gnet_stats_rate_est64 - rate estimator
* @bps: current byte rate
* @pps: current packet rate
*/
struct
gnet_stats_rate_est64
{
__u64
bps
;
__u64
pps
;
};
/**
/**
* struct gnet_stats_queue - queuing statistics
* struct gnet_stats_queue - queuing statistics
* @qlen: queue length
* @qlen: queue length
...
...
include/linux/if_arp.h
View file @
ecefa08c
...
@@ -93,6 +93,7 @@
...
@@ -93,6 +93,7 @@
#define ARPHRD_PHONET_PIPE 821
/* PhoNet pipe header */
#define ARPHRD_PHONET_PIPE 821
/* PhoNet pipe header */
#define ARPHRD_CAIF 822
/* CAIF media type */
#define ARPHRD_CAIF 822
/* CAIF media type */
#define ARPHRD_IP6GRE 823
/* GRE over IPv6 */
#define ARPHRD_IP6GRE 823
/* GRE over IPv6 */
#define ARPHRD_NETLINK 824
/* Netlink header */
#define ARPHRD_VOID 0xFFFF
/* Void type, nothing is known */
#define ARPHRD_VOID 0xFFFF
/* Void type, nothing is known */
#define ARPHRD_NONE 0xFFFE
/* zero header length */
#define ARPHRD_NONE 0xFFFE
/* zero header length */
...
...
include/linux/if_link.h
View file @
ecefa08c
...
@@ -219,6 +219,8 @@ enum {
...
@@ -219,6 +219,8 @@ enum {
IFLA_BRPORT_GUARD
,
/* bpdu guard */
IFLA_BRPORT_GUARD
,
/* bpdu guard */
IFLA_BRPORT_PROTECT
,
/* root port protection */
IFLA_BRPORT_PROTECT
,
/* root port protection */
IFLA_BRPORT_FAST_LEAVE
,
/* multicast fast leave */
IFLA_BRPORT_FAST_LEAVE
,
/* multicast fast leave */
IFLA_BRPORT_LEARNING
,
/* mac learning */
IFLA_BRPORT_UNICAST_FLOOD
,
/* flood unicast traffic */
__IFLA_BRPORT_MAX
__IFLA_BRPORT_MAX
};
};
#define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)
#define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)
...
@@ -334,6 +336,7 @@ enum {
...
@@ -334,6 +336,7 @@ enum {
IFLA_VF_VLAN
,
IFLA_VF_VLAN
,
IFLA_VF_TX_RATE
,
/* TX Bandwidth Allocation */
IFLA_VF_TX_RATE
,
/* TX Bandwidth Allocation */
IFLA_VF_SPOOFCHK
,
/* Spoof Checking on/off switch */
IFLA_VF_SPOOFCHK
,
/* Spoof Checking on/off switch */
IFLA_VF_LINK_STATE
,
/* link state enable/disable/auto switch */
__IFLA_VF_MAX
,
__IFLA_VF_MAX
,
};
};
...
@@ -360,6 +363,18 @@ struct ifla_vf_spoofchk {
...
@@ -360,6 +363,18 @@ struct ifla_vf_spoofchk {
__u32
setting
;
__u32
setting
;
};
};
enum
{
IFLA_VF_LINK_STATE_AUTO
,
/* link state of the uplink */
IFLA_VF_LINK_STATE_ENABLE
,
/* link always up */
IFLA_VF_LINK_STATE_DISABLE
,
/* link always down */
__IFLA_VF_LINK_STATE_MAX
,
};
struct
ifla_vf_link_state
{
__u32
vf
;
__u32
link_state
;
};
/* VF ports management section
/* VF ports management section
*
*
* Nested layout of set/get msg is:
* Nested layout of set/get msg is:
...
...
include/linux/if_tun.h
View file @
ecefa08c
...
@@ -68,6 +68,8 @@
...
@@ -68,6 +68,8 @@
#define IFF_MULTI_QUEUE 0x0100
#define IFF_MULTI_QUEUE 0x0100
#define IFF_ATTACH_QUEUE 0x0200
#define IFF_ATTACH_QUEUE 0x0200
#define IFF_DETACH_QUEUE 0x0400
#define IFF_DETACH_QUEUE 0x0400
/* read-only flag */
#define IFF_PERSIST 0x0800
/* Features for GSO (TUNSETOFFLOAD). */
/* Features for GSO (TUNSETOFFLOAD). */
#define TUN_F_CSUM 0x01
/* You can hand me unchecksummed packets. */
#define TUN_F_CSUM 0x01
/* You can hand me unchecksummed packets. */
...
...
include/linux/rtnetlink.h
View file @
ecefa08c
...
@@ -386,6 +386,8 @@ enum {
...
@@ -386,6 +386,8 @@ enum {
#define RTAX_RTO_MIN RTAX_RTO_MIN
#define RTAX_RTO_MIN RTAX_RTO_MIN
RTAX_INITRWND
,
RTAX_INITRWND
,
#define RTAX_INITRWND RTAX_INITRWND
#define RTAX_INITRWND RTAX_INITRWND
RTAX_QUICKACK
,
#define RTAX_QUICKACK RTAX_QUICKACK
__RTAX_MAX
__RTAX_MAX
};
};
...
...
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