Lines Matching refs:st
520 struct tc_stats st;
523 memset(&st, 0, sizeof(st));
524 memcpy(&st, RTA_DATA(tb[TCA_STATS]), MIN(RTA_PAYLOAD(tb[TCA_STATS]), sizeof(st)));
527 prefix, (unsigned long long)st.bytes, st.packets, st.drops,
528 st.overlimits);
530 if (st.bps || st.pps || st.qlen || st.backlog) {
532 if (st.bps || st.pps) {
534 if (st.bps)
535 fprintf(fp, "%s ", sprint_rate(st.bps, b1));
536 if (st.pps)
537 fprintf(fp, "%upps ", st.pps);
539 if (st.qlen || st.backlog) {
541 if (st.backlog)
542 fprintf(fp, "%s ", sprint_size(st.backlog, b1));
543 if (st.qlen)
544 fprintf(fp, "%up ", st.qlen);