reqs was rejected by kernel due to possible API breakage.

(Logical change 1.91)
This commit is contained in:
osdl.net!shemminger 2004-09-29 18:35:48 +00:00
parent 8789183ac4
commit e914a5c41a
2 changed files with 2 additions and 3 deletions

View File

@ -38,7 +38,6 @@ struct tc_stats
__u32 pps; /* Current flow packet rate */
__u32 qlen;
__u32 backlog;
__u32 reqs;
};
struct tc_estimator

View File

@ -177,9 +177,9 @@ void print_tcstats_attr(FILE *fp, const struct rtattr *rta)
memset(&st, 0, 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,
st.overlimits, st.reqs);
st.overlimits);
if (st.bps || st.pps || st.qlen || st.backlog) {
fprintf(fp, "\n ");