Lines Matching refs:bpf_prog_attach
777 err = bpf_prog_attach(-1, fd, BPF_SK_SKB_STREAM_PARSER, 0); in test_sockmap()
783 err = bpf_prog_attach(-1, fd, BPF_SK_SKB_STREAM_VERDICT, 0); in test_sockmap()
789 err = bpf_prog_attach(-1, fd, BPF_SK_MSG_VERDICT, 0); in test_sockmap()
795 err = bpf_prog_attach(-1, fd, __MAX_BPF_ATTACH_TYPE, 0); in test_sockmap()
895 err = bpf_prog_attach(parse_prog, map_fd_break, in test_sockmap()
902 err = bpf_prog_attach(parse_prog, map_fd_rx, in test_sockmap()
909 err = bpf_prog_attach(verdict_prog, map_fd_rx, in test_sockmap()
916 err = bpf_prog_attach(msg_prog, map_fd_msg, BPF_SK_MSG_VERDICT, 0); in test_sockmap()
922 err = bpf_prog_attach(verdict_prog, map_fd_rx, in test_sockmap()
1043 err = bpf_prog_attach(parse_prog, fd, in test_sockmap()
1049 err = bpf_prog_attach(verdict_prog, fd, in test_sockmap()