Lines Matching refs:tb
25 typedef int (*libbpf_dump_nlmsg_t)(void *cookie, void *msg, struct nlattr **tb);
297 struct nlattr *tb[IFLA_MAX + 1], *attr; in __dump_link_nlmsg() local
304 if (libbpf_nla_parse(tb, IFLA_MAX, attr, len, NULL) != 0) in __dump_link_nlmsg()
307 return dump_link_nlmsg(cookie, ifi, tb); in __dump_link_nlmsg()
310 static int get_xdp_info(void *cookie, void *msg, struct nlattr **tb) in get_xdp_info() argument
320 if (!tb[IFLA_XDP]) in get_xdp_info()
323 ret = libbpf_nla_parse_nested(xdp_tb, IFLA_XDP_MAX, tb[IFLA_XDP], NULL); in get_xdp_info()
544 static int __get_tc_info(void *cookie, struct tcmsg *tc, struct nlattr **tb, in __get_tc_info() argument
554 if (!tb[TCA_OPTIONS]) in __get_tc_info()
557 libbpf_nla_parse_nested(tbb, TCA_BPF_MAX, tb[TCA_OPTIONS], NULL); in __get_tc_info()
573 struct nlattr *tb[TCA_MAX + 1]; in get_tc_info() local
575 libbpf_nla_parse(tb, TCA_MAX, in get_tc_info()
578 if (!tb[TCA_KIND]) in get_tc_info()
580 return __get_tc_info(cookie, tc, tb, nh->nlmsg_flags & NLM_F_ECHO); in get_tc_info()