Searched refs:filter (Results 1 – 15 of 15) sorted by relevance
/samples/seccomp/ |
D | bpf-helper.c | 20 struct sock_filter *filter, size_t count) in bpf_resolve_jumps() argument 32 struct sock_filter *instr = &filter[offset]; in bpf_resolve_jumps() 90 void seccomp_bpf_print(struct sock_filter *filter, size_t count) in seccomp_bpf_print() argument 92 struct sock_filter *end = filter + count; in seccomp_bpf_print() 93 for ( ; filter < end; ++filter) in seccomp_bpf_print() 95 filter->code, filter->jt, filter->jf, filter->k); in seccomp_bpf_print()
|
D | bpf-fancy.c | 35 struct sock_filter filter[] = { in main() local 82 .filter = filter, in main() 83 .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), in main() 86 bpf_resolve_jumps(&l, filter, sizeof(filter)/sizeof(*filter)); in main()
|
D | dropper.c | 30 struct sock_filter filter[] = { in install_filter() local 42 .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), in install_filter() 43 .filter = filter, in install_filter()
|
D | bpf-direct.c | 113 struct sock_filter filter[] = { in install_filter() local 146 .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), in install_filter() 147 .filter = filter, in install_filter()
|
D | user-trap.c | 88 struct sock_filter filter[] = { in user_trap_syscall() local 97 .len = (unsigned short)ARRAY_SIZE(filter), in user_trap_syscall() 98 .filter = filter, in user_trap_syscall()
|
D | bpf-helper.h | 36 struct sock_filter *filter, size_t count); 38 void seccomp_bpf_print(struct sock_filter *filter, size_t count);
|
/samples/bpf/ |
D | tracex5_user.c | 24 struct sock_filter filter[] = { in install_accept_all_seccomp() local 28 .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), in install_accept_all_seccomp() 29 .filter = filter, in install_accept_all_seccomp()
|
D | xdp2skb_meta.sh | 148 call_tc filter show dev $device ingress 164 call_tc_allow_fail filter del dev $device ingress 188 call_tc filter add dev $device ingress \
|
D | tc_l2_redirect.sh | 45 $IP netns exec ns2 $TC filter add dev vens2 ingress bpf da obj $REDIRECT_BPF sec drop_non_tun_vip 63 $TC filter add dev ve2 ingress bpf da obj $REDIRECT_BPF sec l2_to_iptun_ingress_forward 99 $TC filter add dev ve2 egress bpf da obj $REDIRECT_BPF sec l2_to_iptun_ingress_redirect 103 $TC filter add dev ve1 ingress bpf da obj $REDIRECT_BPF sec l2_to_iptun_ingress_redirect 136 $TC filter add dev ve2 egress bpf da obj $REDIRECT_BPF sec l2_to_ip6tun_ingress_redirect 140 $TC filter add dev ve1 ingress bpf da obj $REDIRECT_BPF sec l2_to_ip6tun_ingress_redirect
|
D | test_cls_bpf.sh | 18 tc filter add dev $IFC ingress bpf da obj $1 sec $2
|
D | test_cgrp2_tc.sh | 83 $TC filter add dev $HOST_IFC egress bpf da obj $BPF_PROG sec $BPF_SECTION || return $?
|
D | test_ipip.sh | 90 ip netns exec at_ns2 tc filter add dev $DEV egress bpf da obj tcbpf2_kern.o sec $SET_TUNNEL 91 ip netns exec at_ns2 tc filter add dev $DEV ingress bpf da obj tcbpf2_kern.o sec $GET_TUNNEL
|
D | Makefile | 179 ARM_ARCH_SELECTOR := $(filter -D__LINUX_ARM_ARCH__%, $(KBUILD_CFLAGS))
|
/samples/watch_queue/ |
D | watch_test.c | 144 static struct watch_notification_filter filter = { variable 169 if (ioctl(fd, IOC_WATCH_QUEUE_SET_FILTER, &filter) == -1) { in main()
|
/samples/ |
D | Kconfig | 136 BPF filter construction.
|