Searched refs:bpf_prog (Results 1 – 1 of 1) sorted by relevance
52 struct sock_fprog bpf_prog; in sock_setfilter() local57 bpf_prog.filter = bpf_filter; in sock_setfilter()58 bpf_prog.len = sizeof(bpf_filter) / sizeof(struct sock_filter); in sock_setfilter()59 if (setsockopt(fd, lvl, optnum, &bpf_prog, in sock_setfilter()60 sizeof(bpf_prog))) { in sock_setfilter()