Home
last modified time | relevance | path

Searched refs:tot_acts (Results 1 – 2 of 2) sorted by relevance

/external/iproute2/tc/
Dm_action.c361 tc_print_action(FILE *f, const struct rtattr *arg, unsigned short tot_acts) in tc_print_action() argument
369 if (!tot_acts) in tc_print_action()
370 tot_acts = TCA_ACT_MAX_PRIO; in tc_print_action()
372 struct rtattr *tb[tot_acts + 1]; in tc_print_action()
374 parse_rtattr_nested(tb, tot_acts, arg); in tc_print_action()
379 for (i = 0; i < tot_acts; i++) { in tc_print_action()
399 __u32 *tot_acts = NULL; in print_action() local
412 tot_acts = RTA_DATA(tb[TCA_ROOT_COUNT]); in print_action()
414 fprintf(fp, "total acts %d\n", tot_acts ? *tot_acts:0); in print_action()
440 tc_print_action(fp, tb[TCA_ACT_TAB], tot_acts ? *tot_acts:0); in print_action()
Dtc_util.h116 int tc_print_action(FILE *f, const struct rtattr *tb, unsigned short tot_acts);