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
e914a5c4
Commit
e914a5c4
authored
Sep 29, 2004
by
osdl.net!shemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reqs was rejected by kernel due to possible API breakage.
(Logical change 1.91)
parent
8789183a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
include/linux/pkt_sched.h
include/linux/pkt_sched.h
+0
-1
tc/tc_qdisc.c
tc/tc_qdisc.c
+2
-2
No files found.
include/linux/pkt_sched.h
View file @
e914a5c4
...
@@ -38,7 +38,6 @@ struct tc_stats
...
@@ -38,7 +38,6 @@ struct tc_stats
__u32
pps
;
/* Current flow packet rate */
__u32
pps
;
/* Current flow packet rate */
__u32
qlen
;
__u32
qlen
;
__u32
backlog
;
__u32
backlog
;
__u32
reqs
;
};
};
struct
tc_estimator
struct
tc_estimator
...
...
tc/tc_qdisc.c
View file @
e914a5c4
...
@@ -177,9 +177,9 @@ void print_tcstats_attr(FILE *fp, const struct rtattr *rta)
...
@@ -177,9 +177,9 @@ void print_tcstats_attr(FILE *fp, const struct rtattr *rta)
memset
(
&
st
,
0
,
sizeof
(
st
));
memset
(
&
st
,
0
,
sizeof
(
st
));
memcpy
(
&
st
,
RTA_DATA
(
rta
),
MIN
(
RTA_PAYLOAD
(
rta
),
sizeof
(
st
)));
memcpy
(
&
st
,
RTA_DATA
(
rta
),
MIN
(
RTA_PAYLOAD
(
rta
),
sizeof
(
st
)));
fprintf
(
fp
,
" Sent %llu bytes %u pkts (dropped %u, overlimits %u
requeues %u
) "
,
fprintf
(
fp
,
" Sent %llu bytes %u pkts (dropped %u, overlimits %u) "
,
(
unsigned
long
long
)
st
.
bytes
,
st
.
packets
,
st
.
drops
,
(
unsigned
long
long
)
st
.
bytes
,
st
.
packets
,
st
.
drops
,
st
.
overlimits
,
st
.
reqs
);
st
.
overlimits
);
if
(
st
.
bps
||
st
.
pps
||
st
.
qlen
||
st
.
backlog
)
{
if
(
st
.
bps
||
st
.
pps
||
st
.
qlen
||
st
.
backlog
)
{
fprintf
(
fp
,
"
\n
"
);
fprintf
(
fp
,
"
\n
"
);
...
...
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