Lines Matching refs:nlattr
134 struct nlattr *nla, *nla_xdp; in bpf_set_link_xdp_fd()
156 nla = (struct nlattr *)(((char *)&req) in bpf_set_link_xdp_fd()
162 nla_xdp = (struct nlattr *)((char *)nla + nla->nla_len); in bpf_set_link_xdp_fd()
170 nla_xdp = (struct nlattr *)((char *)nla + nla->nla_len); in bpf_set_link_xdp_fd()
193 struct nlattr *tb[IFLA_MAX + 1], *attr; in __dump_link_nlmsg()
198 attr = (struct nlattr *) ((void *) ifi + NLMSG_ALIGN(sizeof(*ifi))); in __dump_link_nlmsg()
219 static int get_xdp_id(void *cookie, void *msg, struct nlattr **tb) in get_xdp_id()
221 struct nlattr *xdp_tb[IFLA_XDP_MAX + 1]; in get_xdp_id()
310 struct nlattr *tb[TCA_MAX + 1], *attr; in __dump_class_nlmsg()
315 attr = (struct nlattr *) ((void *) t + NLMSG_ALIGN(sizeof(*t))); in __dump_class_nlmsg()
349 struct nlattr *tb[TCA_MAX + 1], *attr; in __dump_qdisc_nlmsg()
354 attr = (struct nlattr *) ((void *) t + NLMSG_ALIGN(sizeof(*t))); in __dump_qdisc_nlmsg()
388 struct nlattr *tb[TCA_MAX + 1], *attr; in __dump_filter_nlmsg()
393 attr = (struct nlattr *) ((void *) t + NLMSG_ALIGN(sizeof(*t))); in __dump_filter_nlmsg()