/external/iproute2/tc/ |
D | q_drr.c | 100 static int drr_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in drr_print_xstats() argument 105 if (xstats == NULL) in drr_print_xstats() 107 if (RTA_PAYLOAD(xstats) < sizeof(*x)) in drr_print_xstats() 109 x = RTA_DATA(xstats); in drr_print_xstats()
|
D | q_codel.c | 175 struct rtattr *xstats) in codel_print_xstats() argument 180 if (xstats == NULL) in codel_print_xstats() 183 st = RTA_DATA(xstats); in codel_print_xstats() 184 if (RTA_PAYLOAD(xstats) < sizeof(*st)) { in codel_print_xstats() 186 memcpy(&_st, st, RTA_PAYLOAD(xstats)); in codel_print_xstats()
|
D | tc_util.c | 515 void print_tcstats2_attr(FILE *fp, struct rtattr *rta, char *prefix, struct rtattr **xstats) in print_tcstats2_attr() argument 562 if (xstats) in print_tcstats2_attr() 563 *xstats = tbs[TCA_STATS_APP] ? : NULL; in print_tcstats2_attr() 566 void print_tcstats_attr(FILE *fp, struct rtattr *tb[], char *prefix, struct rtattr **xstats) in print_tcstats_attr() argument 571 print_tcstats2_attr(fp, tb[TCA_STATS2], prefix, xstats); in print_tcstats_attr() 572 if (xstats && NULL == *xstats) in print_tcstats_attr() 608 if (tb[TCA_XSTATS] && xstats) in print_tcstats_attr() 609 *xstats = tb[TCA_XSTATS]; in print_tcstats_attr()
|
D | q_fq_codel.c | 202 struct rtattr *xstats) in fq_codel_print_xstats() argument 207 if (xstats == NULL) in fq_codel_print_xstats() 210 st = RTA_DATA(xstats); in fq_codel_print_xstats() 211 if (RTA_PAYLOAD(xstats) < sizeof(*st)) { in fq_codel_print_xstats() 213 memcpy(&_st, st, RTA_PAYLOAD(xstats)); in fq_codel_print_xstats()
|
D | q_sfb.c | 173 struct rtattr *xstats) in sfb_print_xstats() argument 177 if (xstats == NULL) in sfb_print_xstats() 180 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in sfb_print_xstats() 183 st = RTA_DATA(xstats); in sfb_print_xstats()
|
D | tc_util.h | 27 int (*print_xstats)(struct qdisc_util *qu, FILE *f, struct rtattr *xstats); 48 int (*print_xstats)(struct action_util *au, FILE *f, struct rtattr *xstats); 84 extern void print_tcstats_attr(FILE *fp, struct rtattr *tb[], char *prefix, struct rtattr **xstats); 85 extern void print_tcstats2_attr(FILE *fp, struct rtattr *rta, char *prefix, struct rtattr **xstats);
|
D | q_hhf.c | 176 struct rtattr *xstats) in hhf_print_xstats() argument 180 if (xstats == NULL) in hhf_print_xstats() 183 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in hhf_print_xstats() 186 st = RTA_DATA(xstats); in hhf_print_xstats()
|
D | q_choke.c | 205 struct rtattr *xstats) in choke_print_xstats() argument 209 if (xstats == NULL) in choke_print_xstats() 212 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in choke_print_xstats() 215 st = RTA_DATA(xstats); in choke_print_xstats()
|
D | q_pie.c | 191 struct rtattr *xstats) in pie_print_xstats() argument 195 if (xstats == NULL) in pie_print_xstats() 198 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in pie_print_xstats() 201 st = RTA_DATA(xstats); in pie_print_xstats()
|
D | q_red.c | 203 static int red_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in red_print_xstats() argument 208 if (xstats == NULL) in red_print_xstats() 211 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in red_print_xstats() 214 st = RTA_DATA(xstats); in red_print_xstats()
|
D | q_sfq.c | 257 struct rtattr *xstats) in sfq_print_xstats() argument 261 if (xstats == NULL) in sfq_print_xstats() 263 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in sfq_print_xstats() 265 st = RTA_DATA(xstats); in sfq_print_xstats()
|
D | q_fq.c | 288 struct rtattr *xstats) in fq_print_xstats() argument 292 if (xstats == NULL) in fq_print_xstats() 295 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in fq_print_xstats() 298 st = RTA_DATA(xstats); in fq_print_xstats()
|
D | q_hfsc.c | 124 hfsc_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in hfsc_print_xstats() argument 128 if (xstats == NULL) in hfsc_print_xstats() 130 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in hfsc_print_xstats() 132 st = RTA_DATA(xstats); in hfsc_print_xstats()
|
D | tc_qdisc.c | 270 struct rtattr *xstats = NULL; in print_qdisc() local 273 print_tcstats_attr(fp, tb, " ", &xstats); in print_qdisc() 277 if (q && xstats && q->print_xstats) { in print_qdisc() 278 q->print_xstats(q, fp, xstats); in print_qdisc()
|
D | q_htb.c | 353 static int htb_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in htb_print_xstats() argument 356 if (xstats == NULL) in htb_print_xstats() 359 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in htb_print_xstats() 362 st = RTA_DATA(xstats); in htb_print_xstats()
|
D | tc_class.c | 378 struct rtattr *xstats = NULL; in print_class() local 381 print_tcstats_attr(fp, tb, " ", &xstats); in print_class() 384 if (q && (xstats || tb[TCA_XSTATS]) && q->print_xstats) { in print_class() 385 q->print_xstats(q, fp, xstats ? : tb[TCA_XSTATS]); in print_class()
|
D | q_cbq.c | 561 static int cbq_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) in cbq_print_xstats() argument 565 if (xstats == NULL) in cbq_print_xstats() 568 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in cbq_print_xstats() 571 st = RTA_DATA(xstats); in cbq_print_xstats()
|
D | m_pedit.h | 60 extern int pedit_print_xstats(struct action_util *au, FILE *f, struct rtattr *xstats);
|
D | m_pedit.c | 582 pedit_print_xstats(struct action_util *au, FILE *f, struct rtattr *xstats) in pedit_print_xstats() argument
|
/external/iproute2/ip/ |
D | iplink_can.c | 348 FILE *f, struct rtattr *xstats) in can_print_xstats() argument 352 if (xstats && RTA_PAYLOAD(xstats) == sizeof(*stats)) { in can_print_xstats() 353 stats = RTA_DATA(xstats); in can_print_xstats()
|
/external/libnl/lib/route/link/ |
D | vlan.c | 84 struct nlattr *xstats) in vlan_parse() argument
|