drm/panfrost: Remove set but not used variable 'bo'
[linux/fpc-iii.git] / include / linux / bpfilter.h
blobd815622cd31e51da14686c71b8d1907665c1be2f
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_BPFILTER_H
3 #define _LINUX_BPFILTER_H
5 #include <uapi/linux/bpfilter.h>
6 #include <linux/umh.h>
8 struct sock;
9 int bpfilter_ip_set_sockopt(struct sock *sk, int optname, char __user *optval,
10 unsigned int optlen);
11 int bpfilter_ip_get_sockopt(struct sock *sk, int optname, char __user *optval,
12 int __user *optlen);
13 struct bpfilter_umh_ops {
14 struct umh_info info;
15 /* since ip_getsockopt() can run in parallel, serialize access to umh */
16 struct mutex lock;
17 int (*sockopt)(struct sock *sk, int optname,
18 char __user *optval,
19 unsigned int optlen, bool is_set);
20 int (*start)(void);
21 bool stop;
23 extern struct bpfilter_umh_ops bpfilter_ops;
24 #endif