X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=include%2Flinux%2Ffilter.h;h=caac2087a4d5e7479e272b6dc5da23d7c90c9fd7;hb=a99abce2d92dd21faffc9439fa35d1519627872b;hp=ca95abd2bed130ac3c76161e7ae273e59c48c51b;hpb=4f4274af7009890f0d4724909bf9038193955489;p=mirror_ubuntu-artful-kernel.git diff --git a/include/linux/filter.h b/include/linux/filter.h index ca95abd2bed1..caac2087a4d5 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -381,6 +381,7 @@ int bpf_prog_create(struct bpf_prog **pfp, struct sock_fprog_kern *fprog); void bpf_prog_destroy(struct bpf_prog *fp); int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk); +int sk_attach_bpf(u32 ufd, struct sock *sk); int sk_detach_filter(struct sock *sk); int bpf_check_classic(const struct sock_filter *filter, unsigned int flen);