Lines Matching refs:nlattr
26 typedef int (*libbpf_dump_nlmsg_t)(void *cookie, void *msg, struct nlattr **tb);
253 struct nlattr *na = (struct nlattr *)((void *)gnl + GENL_HDRLEN); in parse_genl_family_id()
254 struct nlattr *tb[CTRL_ATTR_FAMILY_ID + 1]; in parse_genl_family_id()
289 struct nlattr *nla; in __bpf_set_link_xdp_fd_replace()
347 struct nlattr *tb[IFLA_MAX + 1], *attr; in __dump_link_nlmsg()
352 attr = (struct nlattr *) ((void *) ifi + NLMSG_ALIGN(sizeof(*ifi))); in __dump_link_nlmsg()
360 static int get_xdp_info(void *cookie, void *msg, struct nlattr **tb) in get_xdp_info()
362 struct nlattr *xdp_tb[IFLA_XDP_MAX + 1]; in get_xdp_info()
409 struct nlattr *na = (struct nlattr *)((void *)gnl + GENL_HDRLEN); in parse_xdp_features()
410 struct nlattr *tb[NETDEV_CMD_MAX + 1]; in parse_xdp_features()
670 static int __get_tc_info(void *cookie, struct tcmsg *tc, struct nlattr **tb, in __get_tc_info()
673 struct nlattr *tbb[TCA_BPF_MAX + 1]; in __get_tc_info()
699 struct nlattr *tb[TCA_MAX + 1]; in get_tc_info()
702 (struct nlattr *)((void *)tc + NLMSG_ALIGN(sizeof(*tc))), in get_tc_info()
738 struct nlattr *nla; in bpf_tc_attach()