Home
last modified time | relevance | path

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

/Linux-v6.6/tools/bpf/bpftool/
Dnet.c390 struct bpf_tcinfo_t *tcinfo = cookie; in dump_class_qdisc_nlmsg() local
393 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 …]
/Linux-v6.6/include/linux/
Dtc.h50 struct tcinfo { struct
74 struct tcinfo info; argument