Lines Matching defs:xdp
1134 static int tap_get_user_xdp(struct tap_queue *q, struct xdp_buff *xdp)
1136 struct tun_xdp_hdr *hdr = xdp->data_hard_start;
1144 if (unlikely(xdp->data_end - xdp->data < ETH_HLEN)) {
1152 skb = build_skb(xdp->data_hard_start, buflen);
1158 skb_reserve(skb, xdp->data - xdp->data_hard_start);
1159 skb_put(skb, xdp->data_end - xdp->data);
1205 struct xdp_buff *xdp;
1211 xdp = &((struct xdp_buff *)ctl->ptr)[i];
1212 tap_get_user_xdp(q, xdp);