Home
last modified time | relevance | path

Searched refs:xstats (Results 1 – 14 of 14) sorted by relevance

/external/iproute2/tc/
Dq_drr.c101 static int drr_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in drr_print_xstats() argument
106 if (xstats == NULL) in drr_print_xstats()
108 if (RTA_PAYLOAD(xstats) < sizeof(*x)) in drr_print_xstats()
110 x = RTA_DATA(xstats); in drr_print_xstats()
Dq_sfq.c102 struct rtattr *xstats) in sfq_print_xstats() argument
106 if (xstats == NULL) in sfq_print_xstats()
108 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in sfq_print_xstats()
110 st = RTA_DATA(xstats); in sfq_print_xstats()
Dtc_util.c494 void print_tcstats2_attr(FILE *fp, struct rtattr *rta, char *prefix, struct rtattr **xstats) in print_tcstats2_attr() argument
531 if (xstats) in print_tcstats2_attr()
532 *xstats = tbs[TCA_STATS_APP] ? : NULL; in print_tcstats2_attr()
535 void print_tcstats_attr(FILE *fp, struct rtattr *tb[], char *prefix, struct rtattr **xstats) in print_tcstats_attr() argument
540 print_tcstats2_attr(fp, tb[TCA_STATS2], prefix, xstats); in print_tcstats_attr()
541 if (xstats && NULL == *xstats) in print_tcstats_attr()
577 if (tb[TCA_XSTATS] && xstats) in print_tcstats_attr()
578 *xstats = tb[TCA_XSTATS]; in print_tcstats_attr()
Dtc_util.h32 int (*print_xstats)(struct qdisc_util *qu, FILE *f, struct rtattr *xstats);
55 int (*print_xstats)(struct action_util *au, FILE *f, struct rtattr *xstats);
86 extern void print_tcstats_attr(FILE *fp, struct rtattr *tb[], char *prefix, struct rtattr **xstats);
87 extern void print_tcstats2_attr(FILE *fp, struct rtattr *rta, char *prefix, struct rtattr **xstats);
Dq_red.c179 static int red_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in red_print_xstats() argument
184 if (xstats == NULL) in red_print_xstats()
187 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in red_print_xstats()
190 st = RTA_DATA(xstats); in red_print_xstats()
Dq_hfsc.c120 hfsc_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in hfsc_print_xstats() argument
124 if (xstats == NULL) in hfsc_print_xstats()
126 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in hfsc_print_xstats()
128 st = RTA_DATA(xstats); in hfsc_print_xstats()
Dq_htb.c302 static int htb_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in htb_print_xstats() argument
305 if (xstats == NULL) in htb_print_xstats()
308 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in htb_print_xstats()
311 st = RTA_DATA(xstats); in htb_print_xstats()
Dtc_qdisc.c263 struct rtattr *xstats = NULL; in print_qdisc() local
266 print_tcstats_attr(fp, tb, " ", &xstats); in print_qdisc()
270 if (q && xstats && q->print_xstats) { in print_qdisc()
271 q->print_xstats(q, fp, xstats); in print_qdisc()
Dtc_class.c219 struct rtattr *xstats = NULL; in print_class() local
222 print_tcstats_attr(fp, tb, " ", &xstats); in print_class()
225 if (q && (xstats || tb[TCA_XSTATS]) && q->print_xstats) { in print_class()
226 q->print_xstats(q, fp, xstats ? : tb[TCA_XSTATS]); in print_class()
Dq_cbq.c556 static int cbq_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in cbq_print_xstats() argument
560 if (xstats == NULL) in cbq_print_xstats()
563 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in cbq_print_xstats()
566 st = RTA_DATA(xstats); in cbq_print_xstats()
Dm_pedit.h60 extern int pedit_print_xstats(struct action_util *au, FILE *f, struct rtattr *xstats);
Dm_pedit.c599 pedit_print_xstats(struct action_util *au, FILE *f, struct rtattr *xstats) in pedit_print_xstats() argument
/external/iproute2/ip/
Diplink_can.c261 FILE *f, struct rtattr *xstats) in can_print_xstats() argument
265 if (xstats && RTA_PAYLOAD(xstats) == sizeof(*stats)) { in can_print_xstats()
266 stats = RTA_DATA(xstats); in can_print_xstats()
/external/iproute2/
DChangeLog415 * Handle qdisc without xstats in core rather than