Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_listen.c730 int verdict_map = bpf_map__fd(skel->maps.verdict_map); in test_skb_redir_to_connected() local
741 redir_to_connected(family, sotype, sock_map, verdict_map, in test_skb_redir_to_connected()
754 int verdict_map = bpf_map__fd(skel->maps.verdict_map); in test_msg_redir_to_connected() local
762 redir_to_connected(family, sotype, sock_map, verdict_map, REDIR_EGRESS); in test_msg_redir_to_connected()
772 int verdict_map = bpf_map__fd(skel->maps.verdict_map); in test_msg_redir_to_connected_with_link() local
780 redir_to_connected(family, sotype, sock_map, verdict_map, REDIR_EGRESS); in test_msg_redir_to_connected_with_link()
850 int verdict_map = bpf_map__fd(skel->maps.verdict_map); in test_skb_redir_to_listening() local
861 redir_to_listening(family, sotype, sock_map, verdict_map, in test_skb_redir_to_listening()
874 int verdict_map = bpf_map__fd(skel->maps.verdict_map); in test_msg_redir_to_listening() local
882 redir_to_listening(family, sotype, sock_map, verdict_map, REDIR_EGRESS); in test_msg_redir_to_listening()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sockmap_listen.c36 } verdict_map SEC(".maps");
73 count = bpf_map_lookup_elem(&verdict_map, &verdict); in prog_stream_verdict()
94 count = bpf_map_lookup_elem(&verdict_map, &verdict); in prog_skb_verdict()
113 count = bpf_map_lookup_elem(&verdict_map, &verdict); in prog_msg_verdict()
133 count = bpf_map_lookup_elem(&verdict_map, &verdict); in prog_reuseport()