Searched refs:bpf_xdp_adjust_meta (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp_context_test_run.c | 15 if (bpf_xdp_adjust_meta(xdp, 4)) in xdp_context()
|
| H A D | xsk_xdp_progs.c | 43 err = bpf_xdp_adjust_meta(xdp, -(int)sizeof(struct xdp_info)); in xsk_xdp_populate_metadata()
|
| H A D | test_xdp_meta.c | 15 /* Demonstrate passing metadata from XDP to TC using bpf_xdp_adjust_meta. 297 ret = bpf_xdp_adjust_meta(ctx, -META_SIZE); 317 ret = bpf_xdp_adjust_meta(ctx, -META_SIZE);
|
| H A D | test_xdp_do_redirect.c | 55 if (bpf_xdp_adjust_meta(xdp, sizeof(__u64))) in xdp_redirect()
|
| H A D | xdp_metadata.c | 76 ret = bpf_xdp_adjust_meta(ctx, -(int)sizeof(struct xdp_meta)); in rx()
|
| H A D | xdp_hw_metadata.c | 75 err = bpf_xdp_adjust_meta(ctx, -(int)sizeof(struct xdp_meta)); in rx()
|
| H A D | verifier_meta_access.c | 109 : __imm(bpf_xdp_adjust_meta), in meta_access_test5()
|
| /linux/samples/bpf/ |
| H A D | xdp2skb_meta_kern.c | 41 ret = bpf_xdp_adjust_meta(ctx, -(int)sizeof(*meta)); in _xdp_mark()
|
| /linux/Documentation/networking/ |
| H A D | xdp-rx-metadata.rst | 63 bytes out of metadata via ``bpf_xdp_adjust_meta`` and calls a subset 138 |<-- bpf_xdp_adjust_meta(xdp_buff, -METADATA_SIZE) --| 150 ``bpf_xdp_adjust_meta`` ensures that ``METADATA_SIZE`` is aligned to 4 bytes,
|
| /linux/net/core/ |
| H A D | filter.c | 4279 BPF_CALL_2(bpf_xdp_adjust_meta, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument 4299 .func = bpf_xdp_adjust_meta, 12157 * XDP context with bpf_xdp_adjust_meta(). Serves as an alternative to
|