Searched refs:tcinfo (Results 1 – 2 of 2) sorted by relevance
384 struct bpf_tcinfo_t *tcinfo = cookie; in dump_class_qdisc_nlmsg() local387 if (tcinfo->is_qdisc) { in dump_class_qdisc_nlmsg()396 if (tcinfo->used_len == tcinfo->array_len) { in dump_class_qdisc_nlmsg()397 tcinfo->handle_array = realloc(tcinfo->handle_array, in dump_class_qdisc_nlmsg()398 (tcinfo->array_len + 16) * sizeof(struct tc_kind_handle)); in dump_class_qdisc_nlmsg()399 if (!tcinfo->handle_array) in dump_class_qdisc_nlmsg()402 tcinfo->array_len += 16; in dump_class_qdisc_nlmsg()404 tcinfo->handle_array[tcinfo->used_len].handle = info->tcm_handle; in dump_class_qdisc_nlmsg()405 snprintf(tcinfo->handle_array[tcinfo->used_len].kind, in dump_class_qdisc_nlmsg()406 sizeof(tcinfo->handle_array[tcinfo->used_len].kind), in dump_class_qdisc_nlmsg()[all …]
50 struct tcinfo { struct74 struct tcinfo info; argument