Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/linux/
Dif_tun.h44 #define TUNATTACHFILTER _IOW('T', 213, struct sock_fprog)
45 #define TUNDETACHFILTER _IOW('T', 214, struct sock_fprog)
50 #define TUNGETFILTER _IOR('T', 219, struct sock_fprog)
Dppp-ioctl.h101 #define PPPIOCSPASS _IOW('t', 71, struct sock_fprog) /* set pass filter */
102 #define PPPIOCSACTIVE _IOW('t', 70, struct sock_fprog) /* set active filt */
Dfilter.h30 struct sock_fprog { /* Required for SO_ATTACH_FILTER. */ struct
/linux-4.1.27/samples/seccomp/
Ddropper.c41 struct sock_fprog prog = { in install_filter()
Dbpf-fancy.c80 struct sock_fprog prog = { in main()
Dbpf-direct.c144 struct sock_fprog prog = { in install_filter()
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_lib.h52 struct sock_fprog bpf_prog; in pair_udp_setfilter()
/linux-4.1.27/net/
Dcompat.c316 struct sock_fprog __user *kfprog = compat_alloc_user_space(sizeof(struct sock_fprog)); in do_set_attach_filter()
321 !access_ok(VERIFY_WRITE, kfprog, sizeof(struct sock_fprog)) || in do_set_attach_filter()
329 sizeof(struct sock_fprog)); in do_set_attach_filter()
/linux-4.1.27/kernel/
Dseccomp.c347 static struct seccomp_filter *seccomp_prepare_filter(struct sock_fprog *fprog) in seccomp_prepare_filter()
436 struct sock_fprog fprog; in seccomp_prepare_user_filter()
/linux-4.1.27/include/linux/
Dfilter.h383 int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk);
/linux-4.1.27/net/core/
Dfilter.c836 const struct sock_fprog *fprog) in bpf_prog_store_orig_filter()
1109 int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk) in sk_attach_filter()
Dsock.c898 if (optlen == sizeof(struct sock_fprog)) { in sock_setsockopt()
899 struct sock_fprog fprog; in sock_setsockopt()
/linux-4.1.27/fs/
Dcompat_ioctl.c418 struct sock_fprog __user *u_fprog64 = compat_alloc_user_space(sizeof(struct sock_fprog)); in ppp_sock_fprog_ioctl_trans()
/linux-4.1.27/Documentation/prctl/
Dseccomp_filter.txt61 The 'prog' argument is a pointer to a struct sock_fprog which
/linux-4.1.27/tools/net/
Dbpf_dbg.c501 struct sock_fprog bpf = { in bpf_runnable()
/linux-4.1.27/Documentation/networking/
Dfilter.txt75 struct sock_fprog { /* Required for SO_ATTACH_FILTER. */
120 struct sock_fprog bpf = {
Dppp_generic.txt419 option is selected. The argument should point to a sock_fprog
/linux-4.1.27/drivers/net/
Dtun.c193 struct sock_fprog fprog;
/linux-4.1.27/drivers/net/ppp/
Dppp_generic.c542 struct sock_fprog uprog; in get_filter()
/linux-4.1.27/drivers/isdn/i4l/
Disdn_ppp.c449 struct sock_fprog uprog; in get_filter()