Searched refs:sock_fprog (Results 1 – 20 of 20) sorted by relevance
/linux-4.1.27/include/uapi/linux/ |
D | if_tun.h | 44 #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)
|
D | ppp-ioctl.h | 101 #define PPPIOCSPASS _IOW('t', 71, struct sock_fprog) /* set pass filter */ 102 #define PPPIOCSACTIVE _IOW('t', 70, struct sock_fprog) /* set active filt */
|
D | filter.h | 30 struct sock_fprog { /* Required for SO_ATTACH_FILTER. */ struct
|
/linux-4.1.27/samples/seccomp/ |
D | dropper.c | 41 struct sock_fprog prog = { in install_filter()
|
D | bpf-fancy.c | 80 struct sock_fprog prog = { in main()
|
D | bpf-direct.c | 144 struct sock_fprog prog = { in install_filter()
|
/linux-4.1.27/tools/testing/selftests/net/ |
D | psock_lib.h | 52 struct sock_fprog bpf_prog; in pair_udp_setfilter()
|
/linux-4.1.27/net/ |
D | compat.c | 316 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/ |
D | seccomp.c | 347 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/ |
D | filter.h | 383 int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk);
|
/linux-4.1.27/net/core/ |
D | filter.c | 836 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()
|
D | sock.c | 898 if (optlen == sizeof(struct sock_fprog)) { in sock_setsockopt() 899 struct sock_fprog fprog; in sock_setsockopt()
|
/linux-4.1.27/fs/ |
D | compat_ioctl.c | 418 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/ |
D | seccomp_filter.txt | 61 The 'prog' argument is a pointer to a struct sock_fprog which
|
/linux-4.1.27/tools/net/ |
D | bpf_dbg.c | 501 struct sock_fprog bpf = { in bpf_runnable()
|
/linux-4.1.27/Documentation/networking/ |
D | filter.txt | 75 struct sock_fprog { /* Required for SO_ATTACH_FILTER. */ 120 struct sock_fprog bpf = {
|
D | ppp_generic.txt | 419 option is selected. The argument should point to a sock_fprog
|
/linux-4.1.27/drivers/net/ |
D | tun.c | 193 struct sock_fprog fprog;
|
/linux-4.1.27/drivers/net/ppp/ |
D | ppp_generic.c | 542 struct sock_fprog uprog; in get_filter()
|
/linux-4.1.27/drivers/isdn/i4l/ |
D | isdn_ppp.c | 449 struct sock_fprog uprog; in get_filter()
|