Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/ !
H A Dxsk_xdp_progs.c83 buff_len = bpf_xdp_get_buff_len(xdp); in xsk_xdp_adjust_tail()
101 curr_buff_len = bpf_xdp_get_buff_len(xdp); in xsk_xdp_adjust_tail()
H A Dtest_xdp_adjust_tail_shrink.c19 switch (bpf_xdp_get_buff_len(xdp)) { in _xdp_adjust_tail_shrink()
H A Dtest_xdp_adjust_tail_grow.c8 int data_len = bpf_xdp_get_buff_len(xdp); in _xdp_adjust_tail_grow()
H A Dtest_xdp_bpf2bpf.c50 meta.pkt_len = bpf_xdp_get_buff_len((struct xdp_md *)xdp); in BPF_PROG()
/linux/tools/testing/selftests/net/lib/ !
H A Dxdp_native.bpf.c346 buff_len = bpf_xdp_get_buff_len(ctx); in xdp_adjst_tail_shrnk_data()
408 buff_len = bpf_xdp_get_buff_len(ctx); in xdp_adjst_tail_grow_data()
/linux/net/core/ !
H A Dfilter.c3957 BPF_CALL_1(bpf_xdp_get_buff_len, struct xdp_buff*, xdp) in BPF_CALL_1() argument
3963 .func = bpf_xdp_get_buff_len,
3972 .func = bpf_xdp_get_buff_len,