Home
last modified time | relevance | path

Searched refs:xdp_buff (Results 1 – 6 of 6) sorted by relevance

/net/xdp/
Dxsk.c152 static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) in __xsk_rcv_zc()
169 static void xsk_copy_xdp(struct xdp_buff *to, struct xdp_buff *from, u32 len) in xsk_copy_xdp()
187 static int __xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in __xsk_rcv()
189 struct xdp_buff *xsk_xdp; in __xsk_rcv()
232 static int xsk_rcv_check(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_rcv_check()
251 int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv()
265 static int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_rcv()
285 int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp) in __xsk_map_redirect()
Dxsk_buff_pool.c500 struct xdp_buff *xp_alloc(struct xsk_buff_pool *pool) in xp_alloc()
/net/core/
Dxdp.c376 struct xdp_buff *xdp) in __xdp_return()
476 void xdp_return_buff(struct xdp_buff *xdp) in xdp_return_buff()
506 struct xdp_frame *xdp_convert_zc_to_xdp_frame(struct xdp_buff *xdp) in xdp_convert_zc_to_xdp_frame()
Dfilter.c3822 static unsigned long xdp_get_metalen(const struct xdp_buff *xdp) in xdp_get_metalen()
3828 BPF_CALL_2(bpf_xdp_adjust_head, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument
3856 BPF_CALL_2(bpf_xdp_adjust_tail, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument
3885 BPF_CALL_2(bpf_xdp_adjust_meta, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument
3968 u32 xdp_master_redirect(struct xdp_buff *xdp) in xdp_master_redirect()
3990 int xdp_do_redirect(struct net_device *dev, struct xdp_buff *xdp, in xdp_do_redirect()
4050 struct xdp_buff *xdp, in xdp_do_generic_redirect_map()
4098 struct xdp_buff *xdp, struct bpf_prog *xdp_prog) in xdp_do_generic_redirect()
4577 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5() argument
4603 BTF_ID_LIST_SINGLE(bpf_xdp_output_btf_ids, struct, xdp_buff)
[all …]
Ddev.c4731 u32 bpf_prog_run_generic_xdp(struct sk_buff *skb, struct xdp_buff *xdp, in bpf_prog_run_generic_xdp()
4820 struct xdp_buff *xdp, in netif_receive_generic_xdp()
4902 struct xdp_buff xdp; in do_xdp_generic()
/net/bpf/
Dtest_run.c696 static int xdp_convert_md_to_buff(struct xdp_md *xdp_md, struct xdp_buff *xdp) in xdp_convert_md_to_buff()
742 static void xdp_convert_buff_to_md(struct xdp_buff *xdp, struct xdp_md *xdp_md) in xdp_convert_buff_to_md()
762 struct xdp_buff xdp = {}; in bpf_prog_test_run_xdp()