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
c92716d1
Commit
c92716d1
authored
Sep 03, 2013
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to 3.11 net-next kernel headers
parent
c5e3ee2c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
0 deletions
+46
-0
include/linux/if_link.h
include/linux/if_link.h
+2
-0
include/linux/if_tun.h
include/linux/if_tun.h
+3
-0
include/linux/pkt_sched.h
include/linux/pkt_sched.h
+41
-0
No files found.
include/linux/if_link.h
View file @
c92716d1
...
...
@@ -312,6 +312,8 @@ enum {
IFLA_VXLAN_L2MISS
,
IFLA_VXLAN_L3MISS
,
IFLA_VXLAN_PORT
,
/* destination port */
IFLA_VXLAN_GROUP6
,
IFLA_VXLAN_LOCAL6
,
__IFLA_VXLAN_MAX
};
#define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1)
...
...
include/linux/if_tun.h
View file @
c92716d1
...
...
@@ -56,6 +56,8 @@
#define TUNGETVNETHDRSZ _IOR('T', 215, int)
#define TUNSETVNETHDRSZ _IOW('T', 216, int)
#define TUNSETQUEUE _IOW('T', 217, int)
#define TUNSETIFINDEX _IOW('T', 218, unsigned int)
#define TUNGETFILTER _IOR('T', 219, struct sock_fprog)
/* TUNSETIFF ifr flags */
#define IFF_TUN 0x0001
...
...
@@ -70,6 +72,7 @@
#define IFF_DETACH_QUEUE 0x0400
/* read-only flag */
#define IFF_PERSIST 0x0800
#define IFF_NOFILTER 0x1000
/* Socket options */
#define TUN_TX_TIMESTAMP 1
...
...
include/linux/pkt_sched.h
View file @
c92716d1
...
...
@@ -744,4 +744,45 @@ struct tc_fq_codel_xstats {
};
};
/* FQ */
enum
{
TCA_FQ_UNSPEC
,
TCA_FQ_PLIMIT
,
/* limit of total number of packets in queue */
TCA_FQ_FLOW_PLIMIT
,
/* limit of packets per flow */
TCA_FQ_QUANTUM
,
/* RR quantum */
TCA_FQ_INITIAL_QUANTUM
,
/* RR quantum for new flow */
TCA_FQ_RATE_ENABLE
,
/* enable/disable rate limiting */
TCA_FQ_FLOW_DEFAULT_RATE
,
/* for sockets with unspecified sk_rate,
* use the following rate
*/
TCA_FQ_FLOW_MAX_RATE
,
/* per flow max rate */
TCA_FQ_BUCKETS_LOG
,
/* log2(number of buckets) */
__TCA_FQ_MAX
};
#define TCA_FQ_MAX (__TCA_FQ_MAX - 1)
struct
tc_fq_qd_stats
{
__u64
gc_flows
;
__u64
highprio_packets
;
__u64
tcp_retrans
;
__u64
throttled
;
__u64
flows_plimit
;
__u64
pkts_too_long
;
__u64
allocation_errors
;
__s64
time_next_delayed_flow
;
__u32
flows
;
__u32
inactive_flows
;
__u32
throttled_flows
;
__u32
pad
;
};
#endif
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