Lines Matching refs:nlattr
20 #include "nlattr.h"
26 typedef int (*libbpf_dump_nlmsg_t)(void *cookie, void *msg, struct nlattr **tb);
253 struct nlattr *na = (struct nlattr *)((void *)gnl + GENL_HDRLEN);
254 struct nlattr *tb[CTRL_ATTR_FAMILY_ID + 1];
289 struct nlattr *nla;
347 struct nlattr *tb[IFLA_MAX + 1], *attr;
352 attr = (struct nlattr *) ((void *) ifi + NLMSG_ALIGN(sizeof(*ifi)));
360 static int get_xdp_info(void *cookie, void *msg, struct nlattr **tb)
362 struct nlattr *xdp_tb[IFLA_XDP_MAX + 1];
409 struct nlattr *na = (struct nlattr *)((void *)gnl + GENL_HDRLEN);
410 struct nlattr *tb[NETDEV_CMD_MAX + 1];
656 static int __get_tc_info(void *cookie, struct tcmsg *tc, struct nlattr **tb,
659 struct nlattr *tbb[TCA_BPF_MAX + 1];
685 struct nlattr *tb[TCA_MAX + 1];
688 (struct nlattr *)((void *)tc + NLMSG_ALIGN(sizeof(*tc))),
724 struct nlattr *nla;