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
7878c0ba
Commit
7878c0ba
authored
Jan 19, 2012
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to 3.3 headers (with inet_diag fix)
Incorporate change to fix inet_diag build failure.
parent
a08d2590
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
include/linux/inet_diag.h
include/linux/inet_diag.h
+2
-2
include/linux/pkt_sched.h
include/linux/pkt_sched.h
+20
-0
No files found.
include/linux/inet_diag.h
View file @
7878c0ba
...
...
@@ -22,7 +22,7 @@ struct inet_diag_sockid {
/* Request structure */
struct
inet_diag_req
_compat
{
struct
inet_diag_req
{
__u8
idiag_family
;
/* Family of addresses. */
__u8
idiag_src_len
;
__u8
idiag_dst_len
;
...
...
@@ -34,7 +34,7 @@ struct inet_diag_req_compat {
__u32
idiag_dbs
;
/* Tables to dump (NI) */
};
struct
inet_diag_req
{
struct
inet_diag_req
_v2
{
__u8
sdiag_family
;
__u8
sdiag_protocol
;
__u8
idiag_ext
;
...
...
include/linux/pkt_sched.h
View file @
7878c0ba
...
...
@@ -162,10 +162,30 @@ struct tc_sfq_qopt {
unsigned
flows
;
/* Maximal number of flows */
};
struct
tc_sfqred_stats
{
__u32
prob_drop
;
/* Early drops, below max threshold */
__u32
forced_drop
;
/* Early drops, after max threshold */
__u32
prob_mark
;
/* Marked packets, below max threshold */
__u32
forced_mark
;
/* Marked packets, after max threshold */
__u32
prob_mark_head
;
/* Marked packets, below max threshold */
__u32
forced_mark_head
;
/* Marked packets, after max threshold */
};
struct
tc_sfq_qopt_v1
{
struct
tc_sfq_qopt
v0
;
unsigned
int
depth
;
/* max number of packets per flow */
unsigned
int
headdrop
;
/* SFQRED parameters */
__u32
limit
;
/* HARD maximal flow queue length (bytes) */
__u32
qth_min
;
/* Min average length threshold (bytes) */
__u32
qth_max
;
/* Max average length threshold (bytes) */
unsigned
char
Wlog
;
/* log(W) */
unsigned
char
Plog
;
/* log(P_max/(qth_max-qth_min)) */
unsigned
char
Scell_log
;
/* cell size for idle damping */
unsigned
char
flags
;
__u32
max_P
;
/* probability, high resolution */
/* SFQRED stats */
struct
tc_sfqred_stats
stats
;
};
...
...
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