Home
last modified time | relevance | path

Searched refs:redirect_flags (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/bpf/progs/
A Dtest_sockmap_redir.c30 int redirect_flags; variable
36 )((__data), &sock_map, (__u32){0}, redirect_flags)
42 )((__data), &sock_hash, &(__u32){0}, redirect_flags)
A Dxdp_redirect_multi_kern.c43 } redirect_flags SEC(".maps");
63 flags_from_map = bpf_map_lookup_elem(&redirect_flags, &h_proto); in xdp_redirect_map_multi_prog()
/tools/testing/selftests/bpf/prog_tests/
A Dsockmap_redir.c129 int *redirect_flags) in get_redir_params() argument
142 *redirect_flags = BPF_F_INGRESS; in get_redir_params()
144 *redirect_flags = 0; in get_redir_params()
447 &skel->bss->redirect_flags); in test_map()
A Dtest_xdp_veth.c322 static void xdp_veth_broadcast_redirect(u32 attach_flags, u64 redirect_flags) in xdp_veth_broadcast_redirect() argument
372 flags_map = bpf_map__fd(xdp_redirect_multi_kern->maps.redirect_flags); in xdp_veth_broadcast_redirect()
376 err = bpf_map_update_elem(flags_map, &protocol, &redirect_flags, BPF_NOEXIST); in xdp_veth_broadcast_redirect()
417 if (redirect_flags & BPF_F_EXCLUDE_INGRESS) in xdp_veth_broadcast_redirect()

Completed in 11 milliseconds