HomeSort by relevance Sort by last modified time
    Searched refs:bpf (Results 1 - 25 of 103) sorted by null

1 2 3 4 5

  /external/libpcap/
pcap-bpf.h 43 * might expect to be able to include <pcap-bpf.h>.
45 #include <pcap/bpf.h>
chmod_bpf 6 # to create BPF devices with particular owners or groups.
18 chgrp admin /dev/bpf*
19 chmod g+rw /dev/bpf*
Android.mk 16 bpf/net/bpf_filter.c bpf_image.c bpf_dump.c \
  /external/libpcap/ChmodBPF/
ChmodBPF 10 # to create BPF devices with particular owners or groups.
22 chgrp admin /dev/bpf*
23 chmod g+rw /dev/bpf*
  /external/libpcap/msdos/
makefile 107 bpf_filt.obj: bpf_filt.c pcap-int.h pcap.h pcap-bpf.h gnuc.h
109 bpf_imag.obj: bpf_imag.c pcap-int.h pcap.h pcap-bpf.h
111 bpf_dump.obj: bpf_dump.c pcap.h pcap-bpf.h
113 etherent.obj: etherent.c pcap-int.h pcap.h pcap-bpf.h pcap-namedb.h
115 optimize.obj: optimize.c pcap-int.h pcap.h pcap-bpf.h gencode.h
117 savefile.obj: savefile.c pcap-int.h pcap.h pcap-bpf.h
119 pcap.obj: pcap.c pcap-dos.h pcap-int.h pcap.h pcap-bpf.h
121 inet.obj: inet.c pcap-int.h pcap.h pcap-bpf.h
123 grammar.obj: grammar.c pcap-int.h pcap.h pcap-bpf.h gencode.h \
126 scanner.obj: scanner.c pcap-int.h pcap.h pcap-bpf.h gencode.h \
    [all...]
makefile.dj 119 grammar.o: grammar.c pcap-int.h pcap.h pcap-bpf.h gencode.h pf.h \
121 scanner.o: scanner.c pcap-int.h pcap.h pcap-bpf.h gencode.h pcap-namedb.h \
123 bpf_filt.o: bpf_filt.c pcap-int.h pcap.h pcap-bpf.h gnuc.h
124 bpf_imag.o: bpf_imag.c pcap-int.h pcap.h pcap-bpf.h
125 bpf_dump.o: bpf_dump.c pcap.h pcap-bpf.h
126 etherent.o: etherent.c pcap-int.h pcap.h pcap-bpf.h pcap-namedb.h
128 pcap-bpf.h ethertype.h nlpid.h llc.h gencode.h atmuni31.h sunatmpos.h \
130 nametoad.o: nametoad.c pcap-int.h pcap.h pcap-bpf.h gencode.h \
134 pcap.h pcap-bpf.h msdos/pm_drvr/kmalloc.h msdos/pm_drvr/bitops.h \
142 optimize.o: optimize.c pcap-int.h pcap.h pcap-bpf.h gencode.
    [all...]
  /external/iproute2/examples/bpf/
bpf_sys.h 5 #include <linux/bpf.h>
  /prebuilts/go/darwin-x86/src/syscall/
bpf_bsd.go 15 // Deprecated: Use golang.org/x/net/bpf instead.
20 // Deprecated: Use golang.org/x/net/bpf instead.
25 // Deprecated: Use golang.org/x/net/bpf instead.
35 // Deprecated: Use golang.org/x/net/bpf instead.
44 // Deprecated: Use golang.org/x/net/bpf instead.
54 // Deprecated: Use golang.org/x/net/bpf instead.
63 // Deprecated: Use golang.org/x/net/bpf instead.
72 // Deprecated: Use golang.org/x/net/bpf instead.
86 // Deprecated: Use golang.org/x/net/bpf instead.
96 // Deprecated: Use golang.org/x/net/bpf instead
    [all...]
lsf_linux.go 13 // Deprecated: Use golang.org/x/net/bpf instead.
18 // Deprecated: Use golang.org/x/net/bpf instead.
23 // Deprecated: Use golang.org/x/net/bpf instead.
47 // Deprecated: Use golang.org/x/net/bpf instead.
72 // Deprecated: Use golang.org/x/net/bpf instead.
80 // Deprecated: Use golang.org/x/net/bpf instead.
  /prebuilts/go/linux-x86/src/syscall/
bpf_bsd.go 15 // Deprecated: Use golang.org/x/net/bpf instead.
20 // Deprecated: Use golang.org/x/net/bpf instead.
25 // Deprecated: Use golang.org/x/net/bpf instead.
35 // Deprecated: Use golang.org/x/net/bpf instead.
44 // Deprecated: Use golang.org/x/net/bpf instead.
54 // Deprecated: Use golang.org/x/net/bpf instead.
63 // Deprecated: Use golang.org/x/net/bpf instead.
72 // Deprecated: Use golang.org/x/net/bpf instead.
86 // Deprecated: Use golang.org/x/net/bpf instead.
96 // Deprecated: Use golang.org/x/net/bpf instead
    [all...]
lsf_linux.go 13 // Deprecated: Use golang.org/x/net/bpf instead.
18 // Deprecated: Use golang.org/x/net/bpf instead.
23 // Deprecated: Use golang.org/x/net/bpf instead.
47 // Deprecated: Use golang.org/x/net/bpf instead.
72 // Deprecated: Use golang.org/x/net/bpf instead.
80 // Deprecated: Use golang.org/x/net/bpf instead.
  /bionic/libc/tools/
genseccomp.py 127 # Converts the sorted ranges of allowed syscalls to a binary tree bpf
147 bpf = convert_to_intermediate_bpf(ranges)
151 for i, statement in enumerate(bpf):
156 # len(bpf) - i - 1, which is where we will put the kill statement, and
159 bpf[i] = statement.format(fail=str(len(bpf) - i),
160 allow=str(len(bpf) - i - 1))
166 bpf.append(BPF_ALLOW + ",")
169 bpf.insert(0, BPF_JGE.format(ranges[0].begin, 0, str(len(bpf))) + ','
    [all...]
test_genseccomp.py 151 bpf = genseccomp.convert_to_intermediate_bpf(ranges)
152 self.assertEquals(bpf, ['BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 3, {fail}, {allow}), //a|b'])
155 bpf = genseccomp.convert_to_intermediate_bpf(ranges)
156 self.assertEquals(bpf, ['BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 3, 1, 0),',
162 bpf = genseccomp.convert_ranges_to_bpf(ranges)
163 self.assertEquals(bpf, ['BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 1, 0, 2),',
168 bpf = genseccomp.convert_ranges_to_bpf(ranges)
169 self.assertEquals(bpf, ['BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 1, 0, 4),',
  /frameworks/base/tests/net/jni/
apf_jni.cpp 82 // Compile "filter" to a BPF program
83 bpf_program bpf; local
84 if (pcap_compile(pcap.get(), &bpf, filter.c_str(), 0, PCAP_NETMASK_UNKNOWN)) {
89 // Translate BPF program to human-readable format
90 const struct bpf_insn* insn = bpf.bf_insns;
91 for (uint32_t i = 0; i < bpf.bf_len; i++) {
106 // Open pcap file for BPF filtering
123 // Compile "filter" to a BPF program
124 bpf_program bpf; local
125 if (pcap_compile(bpf_pcap.get(), &bpf, filter.c_str(), 0, PCAP_NETMASK_UNKNOWN))
    [all...]
  /external/dnsmasq/src/
Android.mk 6 LOCAL_SRC_FILES := bpf.c cache.c dbus.c dhcp.c dnsmasq.c forward.c helper.c lease.c log.c \
  /external/iproute2/tc/
tc_bpf.h 2 * tc_bpf.h BPF common code
17 #include <linux/bpf.h>
41 #define BPF_DIR_MNT "/sys/fs/bpf"
f_bpf.c 2 * f_bpf.c BPF-based Classifier
15 #include <linux/bpf.h>
32 fprintf(stderr, "Usage: ... bpf ...\n");
34 fprintf(stderr, "BPF use case:\n");
94 fprintf(stderr, "Failed to retrieve (e)BPF data!\n");
200 .id = "bpf",
m_bpf.c 2 * m_bpf.c BPF based action module
16 #include <linux/bpf.h>
34 fprintf(stderr, "Usage: ... bpf ... [ index INDEX ]\n");
36 fprintf(stderr, "BPF use case:\n");
75 if (matches(*argv, "bpf") != 0)
90 fprintf(stderr, "Failed to retrieve (e)BPF data!\n");
135 fprintf(stderr, "bpf: Illegal \"index\"\n");
167 fprintf(f, "[NULL bpf parameters]");
172 fprintf(f, "bpf ");
202 .id = "bpf",
    [all...]
  /external/libchrome/sandbox/linux/seccomp-bpf/
sandbox_bpf.cc 5 #include "sandbox/linux/seccomp-bpf/sandbox_bpf.h"
25 #include "sandbox/linux/seccomp-bpf/die.h"
26 #include "sandbox/linux/seccomp-bpf/syscall.h"
27 #include "sandbox/linux/seccomp-bpf/trap.h"
240 // installed the BPF filter program in the kernel. Depending on the
245 struct sock_filter bpf[program.size()]; local
247 bpf};
248 memcpy(bpf, &program[0], sizeof(bpf));
260 // Install BPF filter program. If the thread state indicates multi-threadin
    [all...]
  /external/dnsmasq/bld/
Makefile 4 dnsmasq.o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o \
  /external/minijail/
Android.mk 21 bpf.c \
187 bpf.c \
208 bpf.c \
  /external/iproute2/man/man8/
Makefile 4 tc.8 tc-bfifo.8 tc-bpf.8 tc-cbq.8 tc-cbq-details.8 tc-choke.8 tc-codel.8 \
  /cts/tests/tests/os/jni/
Android.mk 40 # Select the architectures on which seccomp-bpf are supported. This is used to
  /external/strace/
bpf.c 32 # include <linux/bpf.h>
253 SYS_FUNC(bpf)
  /frameworks/base/tests/net/java/android/net/apf/
Bpf2Apf.java 27 * BPF to APF translator.
30 * translation of all BPF programs.
51 * Convert a single line of "tcpdump -d" (human readable BPF program dump) {@code line} into
99 // Disallow use of pre-filled slots as BPF programs might
306 * Convert the output of "tcpdump -d" (human readable BPF program dump) {@code bpf} into an APF
309 public static byte[] convert(String bpf) throws IllegalInstructionException {
311 for (String line : bpf.split("\\n")) convertLine(line, gen);
316 * Convert the output of "tcpdump -d" (human readable BPF program dump) piped in stdin into an

Completed in 680 milliseconds

1 2 3 4 5