Lines Matching refs:fp
494 void print_tcstats2_attr(FILE *fp, struct rtattr *rta, char *prefix, struct rtattr **xstats)
504 fprintf(fp, "%sSent %llu bytes %u pkt",
511 fprintf(fp, " (dropped %u, overlimits %u requeues %u) ",
518 fprintf(fp, "\n%srate %s %upps ",
526 fprintf(fp, "\n%s", prefix);
527 fprintf(fp, "backlog %s %up requeues %u ",
535 void print_tcstats_attr(FILE *fp, struct rtattr *tb[], char *prefix, struct rtattr **xstats)
540 print_tcstats2_attr(fp, tb[TCA_STATS2], prefix, xstats);
553 fprintf(fp, "%sSent %llu bytes %u pkts (dropped %u, overlimits %u) ",
558 fprintf(fp, "\n%s", prefix);
560 fprintf(fp, "rate ");
562 fprintf(fp, "%s ", sprint_rate(st.bps, b1));
564 fprintf(fp, "%upps ", st.pps);
567 fprintf(fp, "backlog ");
569 fprintf(fp, "%s ", sprint_size(st.backlog, b1));
571 fprintf(fp, "%up ", st.qlen);