Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dsockmap_basic.c313 int err, map_fd, verdict_fd; in test_sockmap_progs_query() local
325 verdict_fd = bpf_program__fd(skel->progs.prog_skmsg_verdict); in test_sockmap_progs_query()
327 verdict_fd = bpf_program__fd(skel->progs.prog_skb_verdict); in test_sockmap_progs_query()
335 err = bpf_prog_attach(verdict_fd, map_fd, attach_type, 0); in test_sockmap_progs_query()
345 ASSERT_EQ(prog_ids[0], query_prog_id(verdict_fd), in test_sockmap_progs_query()
348 bpf_prog_detach2(verdict_fd, map_fd, attach_type); in test_sockmap_progs_query()