Searched refs:bpf_xdp_load_bytes (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp_update_frags.c | 26 err = bpf_xdp_load_bytes(xdp, offset, val, sizeof(val)); in xdp_adjust_frags()
|
| /linux/tools/testing/selftests/net/lib/ |
| H A D | xdp_native.bpf.c | 358 if (bpf_xdp_load_bytes(ctx, buff_pos, tmp_buff, offset) < 0) in xdp_adjst_tail_grow_data() 483 if (bpf_xdp_load_bytes(ctx, hdr_len, tmp_buff, offset) < 0) in xdp_adjst_head_grow_data() 490 if (bpf_xdp_load_bytes(ctx, 0, tmp_buff, MAX_ADJST_OFFSET) < 0) in xdp_adjst_head_grow_data() 556 if (bpf_xdp_load_bytes(ctx, 0, hdr_buff, hdr_len) < 0) in xdp_head_adjst()
|
| /linux/net/core/ |
| H A D | filter.c | 4083 BPF_CALL_4(bpf_xdp_load_bytes, struct xdp_buff *, xdp, u32, offset, in BPF_CALL_4() argument 4101 .func = bpf_xdp_load_bytes,
|