Home | History | Annotate | Download | only in tc

Lines Matching refs:st

778 		struct tc_stats st = {};
781 memcpy(&st, RTA_DATA(tb[TCA_STATS]), MIN(RTA_PAYLOAD(tb[TCA_STATS]), sizeof(st)));
784 prefix, (unsigned long long)st.bytes, st.packets, st.drops,
785 st.overlimits);
787 if (st.bps || st.pps || st.qlen || st.backlog) {
789 if (st.bps || st.pps) {
791 if (st.bps)
792 fprintf(fp, "%s ", sprint_rate(st.bps, b1));
793 if (st.pps)
794 fprintf(fp, "%upps ", st.pps);
796 if (st.qlen || st.backlog) {
798 if (st.backlog)
799 fprintf(fp, "%s ", sprint_size(st.backlog, b1));
800 if (st.qlen)
801 fprintf(fp, "%up ", st.qlen);