Home | History | Annotate | Download | only in tc

Lines Matching defs:st

578 		struct tc_stats st;
581 memset(&st, 0, sizeof(st));
582 memcpy(&st, RTA_DATA(tb[TCA_STATS]), MIN(RTA_PAYLOAD(tb[TCA_STATS]), sizeof(st)));
585 prefix, (unsigned long long)st.bytes, st.packets, st.drops,
586 st.overlimits);
588 if (st.bps || st.pps || st.qlen || st.backlog) {
590 if (st.bps || st.pps) {
592 if (st.bps)
593 fprintf(fp, "%s ", sprint_rate(st.bps, b1));
594 if (st.pps)
595 fprintf(fp, "%upps ", st.pps);
597 if (st.qlen || st.backlog) {
599 if (st.backlog)
600 fprintf(fp, "%s ", sprint_size(st.backlog, b1));
601 if (st.qlen)
602 fprintf(fp, "%up ", st.qlen);