Home
last modified time | relevance | path

Searched refs:bpf_filter (Results 1 – 19 of 19) sorted by relevance

/external/strace/tests/
Dsock_filter-v.c64 static const struct sock_filter bpf_filter[] = { variable
143 tail_memdup(bpf_filter, sizeof(bpf_filter)); in main()
144 void *const efault = filter + ARRAY_SIZE(bpf_filter); in main()
148 prog->len = ARRAY_SIZE(bpf_filter); in main()
204 (unsigned int) ARRAY_SIZE(bpf_filter), errstr); in main()
207 *len = ARRAY_SIZE(bpf_filter) - 1; in main()
211 (unsigned int) ARRAY_SIZE(bpf_filter) - 1, errstr); in main()
214 *len = ARRAY_SIZE(bpf_filter); in main()
218 filter + 1, (unsigned int) ARRAY_SIZE(bpf_filter), errstr); in main()
221 *len = ARRAY_SIZE(bpf_filter) + 1; in main()
[all …]
/external/strace/tests-m32/
Dsock_filter-v.c64 static const struct sock_filter bpf_filter[] = { variable
143 tail_memdup(bpf_filter, sizeof(bpf_filter)); in main()
144 void *const efault = filter + ARRAY_SIZE(bpf_filter); in main()
148 prog->len = ARRAY_SIZE(bpf_filter); in main()
204 (unsigned int) ARRAY_SIZE(bpf_filter), errstr); in main()
207 *len = ARRAY_SIZE(bpf_filter) - 1; in main()
211 (unsigned int) ARRAY_SIZE(bpf_filter) - 1, errstr); in main()
214 *len = ARRAY_SIZE(bpf_filter); in main()
218 filter + 1, (unsigned int) ARRAY_SIZE(bpf_filter), errstr); in main()
221 *len = ARRAY_SIZE(bpf_filter) + 1; in main()
[all …]
/external/strace/tests-mx32/
Dsock_filter-v.c64 static const struct sock_filter bpf_filter[] = { variable
143 tail_memdup(bpf_filter, sizeof(bpf_filter)); in main()
144 void *const efault = filter + ARRAY_SIZE(bpf_filter); in main()
148 prog->len = ARRAY_SIZE(bpf_filter); in main()
204 (unsigned int) ARRAY_SIZE(bpf_filter), errstr); in main()
207 *len = ARRAY_SIZE(bpf_filter) - 1; in main()
211 (unsigned int) ARRAY_SIZE(bpf_filter) - 1, errstr); in main()
214 *len = ARRAY_SIZE(bpf_filter); in main()
218 filter + 1, (unsigned int) ARRAY_SIZE(bpf_filter), errstr); in main()
221 *len = ARRAY_SIZE(bpf_filter) + 1; in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_lib.h50 struct sock_filter bpf_filter[] = { in pair_udp_setfilter() local
65 bpf_prog.filter = bpf_filter; in pair_udp_setfilter()
66 bpf_prog.len = sizeof(bpf_filter) / sizeof(struct sock_filter); in pair_udp_setfilter()
Dpsock_fanout.c100 struct sock_filter bpf_filter[] = { in sock_fanout_set_cbpf() local
106 bpf_prog.filter = bpf_filter; in sock_fanout_set_cbpf()
107 bpf_prog.len = sizeof(bpf_filter) / sizeof(struct sock_filter); in sock_fanout_set_cbpf()
/external/libpcap/msdos/
Dmakefile.wc28 $(OBJDIR)\bpf_filter.obj $(OBJDIR)\bpf_imag.obj $(OBJDIR)\bpf_dump.obj &
55 $(OBJDIR)\bpf_filter.obj: bpf\net\bpf_filter.c
56 *$(CC) $(CFLAGS) bpf\net\bpf_filter.c -fo=$@
97 $(OBJDIR)\bpf_filter.obj: bpf\net\bpf_filter.c pcap-int.h pcap.h pcap-bpf.h
Dmakefile.dj25 SOURCES = grammar.c scanner.c bpf/net/bpf_filter.c bpf_image.c bpf_dump.c \
/external/ppp/pppd/
Ddemand.c346 && bpf_filter(pass_filter.bf_insns, p, len, len) == 0)
348 && bpf_filter(active_filter.bf_insns, p, len, len) == 0)) {
/external/libpcap/pcap/
Dbpf.h267 PCAP_API u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int);
/external/libpcap/
DAndroid.bp66 "bpf_filter.c",
Dbpf_filter.c536 bpf_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen, in bpf_filter() function
DMakefile.in98 bpf_image.c bpf_filter.c bpf_dump.c
DINSTALL.md275 bpf_filter.c - BPF filtering routines
DCMakeLists.txt1037 bpf_filter.c
/external/strace/
DAndroid.bp31 "bpf_filter.c",
DMakefile.am102 bpf_filter.c \
103 bpf_filter.h \
DMakefile.in324 bpf_attr.h bpf_filter.c bpf_filter.h bpf_fprog.h \
389 strace-bpf.$(OBJEXT) strace-bpf_filter.$(OBJEXT) \
1350 bpf_filter.c bpf_filter.h bpf_fprog.h bpf_seccomp_filter.c \
2305 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-bpf_filter.Po@am__quote@
3996 strace-bpf_filter.o: bpf_filter.c
3997 …strace-bpf_filter.o -MD -MP -MF $(DEPDIR)/strace-bpf_filter.Tpo -c -o strace-bpf_filter.o `test -f…
3998 …__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/strace-bpf_filter.Tpo $(DEPDIR)/strace-bpf_filter.…
4001 …) $(strace_CFLAGS) $(CFLAGS) -c -o strace-bpf_filter.o `test -f 'bpf_filter.c' || echo '$(srcdir)/…
4003 strace-bpf_filter.obj: bpf_filter.c
4004 …trace_CFLAGS) $(CFLAGS) -MT strace-bpf_filter.obj -MD -MP -MF $(DEPDIR)/strace-bpf_filter.Tpo -c -…
[all …]
DChangeLog2518 * bpf_filter.c (print_bpf_fprog): Likewise.
3183 * bpf_filter.c (print_bpf_filter_code): Use printxval_index
5432 bpf_filter.c: add support for decoding eBPF instruction codes.
5433 * bpf_filter.c (print_bpf_filter_code): Add extended argument, remove
6730 bpf_filter: fix indentation of the switch clause.
6731 * bpf_filter.c (print_bpf_filter_code): Fix switch clause indentation.
14540 * bpf_filter.c: New file.
14541 * bpf_filter.h: Likewise.
14547 * Makefile.am (strace_SOURCES): Add bpf_filter.c, bpf_filter.h,
14552 (bpf_filter, decode_bpf_code, decode_bpf_stmt, decode_bpf_jump,
/external/scapy/scapy/arch/
Dlinux.py136 def attach_filter(s, bpf_filter, iface): argument
150 bpf_filter,