nla_xdp 134 tools/lib/bpf/netlink.c struct nlattr *nla, *nla_xdp; nla_xdp 162 tools/lib/bpf/netlink.c nla_xdp = (struct nlattr *)((char *)nla + nla->nla_len); nla_xdp 163 tools/lib/bpf/netlink.c nla_xdp->nla_type = IFLA_XDP_FD; nla_xdp 164 tools/lib/bpf/netlink.c nla_xdp->nla_len = NLA_HDRLEN + sizeof(int); nla_xdp 165 tools/lib/bpf/netlink.c memcpy((char *)nla_xdp + NLA_HDRLEN, &fd, sizeof(fd)); nla_xdp 166 tools/lib/bpf/netlink.c nla->nla_len += nla_xdp->nla_len; nla_xdp 170 tools/lib/bpf/netlink.c nla_xdp = (struct nlattr *)((char *)nla + nla->nla_len); nla_xdp 171 tools/lib/bpf/netlink.c nla_xdp->nla_type = IFLA_XDP_FLAGS; nla_xdp 172 tools/lib/bpf/netlink.c nla_xdp->nla_len = NLA_HDRLEN + sizeof(flags); nla_xdp 173 tools/lib/bpf/netlink.c memcpy((char *)nla_xdp + NLA_HDRLEN, &flags, sizeof(flags)); nla_xdp 174 tools/lib/bpf/netlink.c nla->nla_len += nla_xdp->nla_len;