Lines Matching defs:xdp
25 #include <net/xdp.h>
1170 static int tap_get_user_xdp(struct tap_queue *q, struct xdp_buff *xdp)
1172 struct tun_xdp_hdr *hdr = xdp->data_hard_start;
1183 skb = build_skb(xdp->data_hard_start, buflen);
1189 skb_reserve(skb, xdp->data - xdp->data_hard_start);
1190 skb_put(skb, xdp->data_end - xdp->data);
1236 struct xdp_buff *xdp;
1242 xdp = &((struct xdp_buff *)ctl->ptr)[i];
1243 tap_get_user_xdp(q, xdp);