Searched refs:tcinfo (Results 1 – 2 of 2) sorted by relevance
390 struct bpf_tcinfo_t *tcinfo = cookie; in dump_class_qdisc_nlmsg() local393 if (tcinfo->is_qdisc) { in dump_class_qdisc_nlmsg()402 if (tcinfo->used_len == tcinfo->array_len) { in dump_class_qdisc_nlmsg()403 tcinfo->handle_array = realloc(tcinfo->handle_array, in dump_class_qdisc_nlmsg()404 (tcinfo->array_len + 16) * sizeof(struct tc_kind_handle)); in dump_class_qdisc_nlmsg()405 if (!tcinfo->handle_array) in dump_class_qdisc_nlmsg()408 tcinfo->array_len += 16; in dump_class_qdisc_nlmsg()410 tcinfo->handle_array[tcinfo->used_len].handle = info->tcm_handle; in dump_class_qdisc_nlmsg()411 snprintf(tcinfo->handle_array[tcinfo->used_len].kind, in dump_class_qdisc_nlmsg()412 sizeof(tcinfo->handle_array[tcinfo->used_len].kind), in dump_class_qdisc_nlmsg()[all …]
50 struct tcinfo { struct74 struct tcinfo info; argument