Home
last modified time | relevance | path

Searched refs:devmap_val (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/
Dxdp_redirect_multi.c88 struct bpf_devmap_val devmap_val; in main() local
203 devmap_val.ifindex = ifindex; in main()
204 devmap_val.bpf_prog.fd = egress_prog_fd; in main()
205 ret = bpf_map_update_elem(group_all, &ifindex, &devmap_val, 0); in main()
/linux-6.12.1/Documentation/bpf/
Dmap_devmap.rst222 struct bpf_devmap_val devmap_val = { .ifindex = redirect_ifindex };
225 ret = bpf_map_update_elem(bpf_map__fd(forward_map), &ifindex, &devmap_val, 0);