Lines Matching refs:tb
92 typedef int (*dump_nlmsg_t)(void *cookie, void *msg, struct nlattr **tb);
201 struct nlattr *tb[TCA_MAX + 1], *attr; in __dump_class_nlmsg() local
207 if (libbpf_nla_parse(tb, TCA_MAX, attr, len, NULL) != 0) in __dump_class_nlmsg()
210 return dump_class_nlmsg(cookie, t, tb); in __dump_class_nlmsg()
240 struct nlattr *tb[TCA_MAX + 1], *attr; in __dump_qdisc_nlmsg() local
246 if (libbpf_nla_parse(tb, TCA_MAX, attr, len, NULL) != 0) in __dump_qdisc_nlmsg()
249 return dump_qdisc_nlmsg(cookie, t, tb); in __dump_qdisc_nlmsg()
279 struct nlattr *tb[TCA_MAX + 1], *attr; in __dump_filter_nlmsg() local
285 if (libbpf_nla_parse(tb, TCA_MAX, attr, len, NULL) != 0) in __dump_filter_nlmsg()
288 return dump_filter_nlmsg(cookie, t, tb); in __dump_filter_nlmsg()
318 struct nlattr *tb[IFLA_MAX + 1], *attr; in __dump_link_nlmsg() local
324 if (libbpf_nla_parse(tb, IFLA_MAX, attr, len, NULL) != 0) in __dump_link_nlmsg()
327 return dump_link_nlmsg(cookie, ifi, tb); in __dump_link_nlmsg()
352 static int dump_link_nlmsg(void *cookie, void *msg, struct nlattr **tb) in dump_link_nlmsg() argument
373 tb[IFLA_IFNAME] in dump_link_nlmsg()
374 ? libbpf_nla_getattr_str(tb[IFLA_IFNAME]) in dump_link_nlmsg()
378 return do_xdp_dump(ifinfo, tb); in dump_link_nlmsg()
381 static int dump_class_qdisc_nlmsg(void *cookie, void *msg, struct nlattr **tb) in dump_class_qdisc_nlmsg() argument
388 if (tb[TCA_KIND] && in dump_class_qdisc_nlmsg()
389 strcmp(libbpf_nla_data(tb[TCA_KIND]), "clsact") == 0) in dump_class_qdisc_nlmsg()
407 tb[TCA_KIND] in dump_class_qdisc_nlmsg()
408 ? libbpf_nla_getattr_str(tb[TCA_KIND]) in dump_class_qdisc_nlmsg()
415 static int dump_filter_nlmsg(void *cookie, void *msg, struct nlattr **tb) in dump_filter_nlmsg() argument
419 return do_filter_dump((struct tcmsg *)msg, tb, filter_info->kind, in dump_filter_nlmsg()