Home
last modified time | relevance | path

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

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