Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/
Dtest_maps.c673 int parse_prog, verdict_prog, msg_prog; in test_sockmap() local
834 BPF_PROG_TYPE_SK_SKB, &obj, &parse_prog); in test_sockmap()
902 err = bpf_prog_attach(parse_prog, map_fd_break, in test_sockmap()
909 err = bpf_prog_attach(parse_prog, map_fd_rx, in test_sockmap()
1050 err = bpf_prog_attach(parse_prog, fd, in test_sockmap()
1110 err = bpf_prog_detach2(parse_prog, map_fd_rx, __MAX_BPF_ATTACH_TYPE); in test_sockmap()
1116 err = bpf_prog_detach2(parse_prog, map_fd_rx, BPF_SK_SKB_STREAM_PARSER); in test_sockmap()