Home
last modified time | relevance | path

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

/external/iproute2/tc/
Dm_action.c350 tc_print_action(FILE *f, const struct rtattr *arg, unsigned short tot_acts) in tc_print_action() argument
358 if (!tot_acts) in tc_print_action()
359 tot_acts = TCA_ACT_MAX_PRIO; in tc_print_action()
361 struct rtattr *tb[tot_acts + 1]; in tc_print_action()
363 parse_rtattr_nested(tb, tot_acts, arg); in tc_print_action()
368 for (i = 0; i < tot_acts; i++) { in tc_print_action()
388 __u32 *tot_acts = NULL; in print_action() local
401 tot_acts = RTA_DATA(tb[TCA_ROOT_COUNT]); in print_action()
403 fprintf(fp, "total acts %d\n", tot_acts ? *tot_acts:0); in print_action()
429 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);