Home
last modified time | relevance | path

Searched refs:bpf_devmap_val (Results 1 – 11 of 11) sorted by relevance

/linux/Documentation/bpf/
H A Dmap_devmap.rst17 The user provides either <``key``/ ``ifindex``> or <``key``/ ``struct bpf_devmap_val``>
86 can be ``struct bpf_devmap_val`` or a simple ``int ifindex`` for backwards
91 struct bpf_devmap_val {
105 to ``struct bpf_devmap_val``. Programs are run after ``XDP_REDIRECT`` and have
162 __type(value, struct bpf_devmap_val);
168 The value type in the DEVMAP above is a ``struct bpf_devmap_val``
222 struct bpf_devmap_val devmap_val = { .ifindex = redirect_ifindex };
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_devmap_attach.c21 struct bpf_devmap_val val = { in test_xdp_with_devmap_helpers()
138 struct bpf_devmap_val val = { in test_xdp_with_devmap_frags_helpers()
181 struct bpf_devmap_val val = {}; in test_xdp_with_devmap_helpers_veth()
H A Dxdp_metadata.c354 struct bpf_devmap_val devmap_e = {}; in test_xdp_metadata()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_with_devmap_frags_helpers.c8 __uint(value_size, sizeof(struct bpf_devmap_val));
H A Dtest_xdp_with_devmap_helpers.c8 __uint(value_size, sizeof(struct bpf_devmap_val));
H A Dxdp_redirect_multi_kern.c25 __uint(value_size, sizeof(struct bpf_devmap_val));
H A Dxdp_features.c57 __uint(value_size, sizeof(struct bpf_devmap_val));
/linux/tools/testing/selftests/bpf/
H A Dxdp_redirect_multi.c
H A Dxdp_features.c287 struct bpf_devmap_val entry = { in dut_attach_xdp_prog()
/linux/tools/include/uapi/linux/
H A Dbpf.h6678 struct bpf_devmap_val { struct
/linux/include/uapi/linux/
H A Dbpf.h6678 struct bpf_devmap_val { struct