Home
last modified time | relevance | path

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

12

/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
107 if (xstats == NULL) in drr_print_xstats()
109 if (RTA_PAYLOAD(xstats) < sizeof(*x)) in drr_print_xstats()
111 x = RTA_DATA(xstats); in drr_print_xstats()
Dq_codel.c176 struct rtattr *xstats) in codel_print_xstats() argument
182 if (xstats == NULL) in codel_print_xstats()
185 st = RTA_DATA(xstats); in codel_print_xstats()
186 if (RTA_PAYLOAD(xstats) < sizeof(*st)) { in codel_print_xstats()
187 memcpy(&_st, st, RTA_PAYLOAD(xstats)); in codel_print_xstats()
Dq_sfb.c171 struct rtattr *xstats) in sfb_print_xstats() argument
175 if (xstats == NULL) in sfb_print_xstats()
178 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in sfb_print_xstats()
181 st = RTA_DATA(xstats); in sfb_print_xstats()
Dq_pie.c190 struct rtattr *xstats) in pie_print_xstats() argument
194 if (xstats == NULL) in pie_print_xstats()
197 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in pie_print_xstats()
200 st = RTA_DATA(xstats); in pie_print_xstats()
Dtc_util.h31 FILE *f, struct rtattr *xstats);
55 FILE *f, struct rtattr *xstats);
92 char *prefix, struct rtattr **xstats);
94 char *prefix, struct rtattr **xstats);
Dq_hhf.c177 struct rtattr *xstats) in hhf_print_xstats() argument
181 if (xstats == NULL) in hhf_print_xstats()
184 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in hhf_print_xstats()
187 st = RTA_DATA(xstats); in hhf_print_xstats()
Dq_fq_codel.c221 struct rtattr *xstats) in fq_codel_print_xstats() argument
227 if (xstats == NULL) in fq_codel_print_xstats()
230 st = RTA_DATA(xstats); in fq_codel_print_xstats()
231 if (RTA_PAYLOAD(xstats) < sizeof(*st)) { in fq_codel_print_xstats()
232 memcpy(&_st, st, RTA_PAYLOAD(xstats)); in fq_codel_print_xstats()
Dq_choke.c203 struct rtattr *xstats) in choke_print_xstats() argument
207 if (xstats == NULL) in choke_print_xstats()
210 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in choke_print_xstats()
213 st = RTA_DATA(xstats); in choke_print_xstats()
Dtc_util.c712 void print_tcstats2_attr(FILE *fp, struct rtattr *rta, char *prefix, struct rtattr **xstats) in print_tcstats2_attr() argument
762 if (xstats) in print_tcstats2_attr()
763 *xstats = tbs[TCA_STATS_APP] ? : NULL; in print_tcstats2_attr()
766 void print_tcstats_attr(FILE *fp, struct rtattr *tb[], char *prefix, struct rtattr **xstats) in print_tcstats_attr() argument
771 print_tcstats2_attr(fp, tb[TCA_STATS2], prefix, xstats); in print_tcstats_attr()
772 if (xstats && NULL == *xstats) in print_tcstats_attr()
807 if (tb[TCA_XSTATS] && xstats) in print_tcstats_attr()
808 *xstats = tb[TCA_XSTATS]; in print_tcstats_attr()
Dq_red.c202 static int red_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in red_print_xstats() argument
207 if (xstats == NULL) in red_print_xstats()
210 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in red_print_xstats()
213 st = RTA_DATA(xstats); in red_print_xstats()
Dq_sfq.c256 struct rtattr *xstats) in sfq_print_xstats() argument
260 if (xstats == NULL) in sfq_print_xstats()
262 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in sfq_print_xstats()
264 st = RTA_DATA(xstats); in sfq_print_xstats()
Dq_fq.c309 struct rtattr *xstats) in fq_print_xstats() argument
313 if (xstats == NULL) in fq_print_xstats()
316 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in fq_print_xstats()
319 st = RTA_DATA(xstats); in fq_print_xstats()
Dq_hfsc.c122 hfsc_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in hfsc_print_xstats() argument
126 if (xstats == NULL) in hfsc_print_xstats()
128 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in hfsc_print_xstats()
130 st = RTA_DATA(xstats); in hfsc_print_xstats()
Dq_htb.c349 static int htb_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in htb_print_xstats() argument
353 if (xstats == NULL) in htb_print_xstats()
356 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in htb_print_xstats()
359 st = RTA_DATA(xstats); in htb_print_xstats()
Dtc_qdisc.c285 struct rtattr *xstats = NULL; in print_qdisc() local
288 print_tcstats_attr(fp, tb, " ", &xstats); in print_qdisc()
292 if (q && xstats && q->print_xstats) { in print_qdisc()
293 q->print_xstats(q, fp, xstats); in print_qdisc()
Dtc_class.c373 struct rtattr *xstats = NULL; in print_class() local
376 print_tcstats_attr(fp, tb, " ", &xstats); in print_class()
379 if (q && (xstats || tb[TCA_XSTATS]) && q->print_xstats) { in print_class()
380 q->print_xstats(q, fp, xstats ? : tb[TCA_XSTATS]); in print_class()
Dq_cbq.c563 static int cbq_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in cbq_print_xstats() argument
567 if (xstats == NULL) in cbq_print_xstats()
570 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in cbq_print_xstats()
573 st = RTA_DATA(xstats); in cbq_print_xstats()
Dm_pedit.h92 struct rtattr *xstats);
/external/iproute2/ip/
Diplink_can.c550 FILE *f, struct rtattr *xstats) in can_print_xstats() argument
554 if (xstats && RTA_PAYLOAD(xstats) == sizeof(*stats)) { in can_print_xstats()
555 stats = RTA_DATA(xstats); in can_print_xstats()
/external/libnl/lib/route/link/
Dppp.c61 struct nlattr *xstats) in ppp_parse() argument
Dvrf.c72 struct nlattr *xstats) in vrf_parse() argument
Dipvlan.c68 struct nlattr *xstats) in ipvlan_parse() argument
Dxfrmi.c70 struct nlattr *xstats) in xfrmi_parse() argument
Dveth.c42 struct nlattr *xstats) in veth_parse() argument
Dipvti.c77 struct nlattr *xstats) in ipvti_parse() argument

12