Home
last modified time | relevance | path

Searched refs:bpf_insn (Results 1 – 25 of 140) sorted by relevance

123456

/freebsd/contrib/netbsd-tests/net/bpf/
H A Dh_bpf.h45 int rumpns_bpf_validate(const struct bpf_insn *, int);
47 const struct bpf_insn *, bpf_args_t *);
49 const struct bpf_insn *, size_t);
82 exec_prog(struct bpf_insn *insns, size_t insn_count, in exec_prog()
110 interp_prog_mchain2(struct bpf_insn *insns, in interp_prog_mchain2()
134 exec_prog_mchain2(struct bpf_insn *insns, size_t insn_count, in exec_prog_mchain2()
160 prog_validate(struct bpf_insn *insns, size_t insn_count) in prog_validate()
H A Dt_mbuf.c56 static struct bpf_insn insns[] = { in test_ldb_abs()
92 static struct bpf_insn insns[] = { in test_ldh_abs()
122 static struct bpf_insn insns[] = { in test_ldw_abs()
145 static struct bpf_insn insns[] = { in test_ldb_ind()
185 static struct bpf_insn insns[] = { in test_ldw_ind()
214 static struct bpf_insn insns[] = { in test_ldh_ind()
249 static struct bpf_insn insns[] = { in test_msh()
287 static struct bpf_insn insns[] = { in test_ldb_abs_overflow()
304 static struct bpf_insn insns[] = { in test_ldh_abs_overflow()
321 static struct bpf_insn insns[] = { in test_ldw_abs_overflow()
[all …]
/freebsd/contrib/netbsd-tests/net/bpfjit/
H A Dt_bpfjit.c81 struct bpf_insn dummy; in ATF_TC_BODY()
104 static struct bpf_insn insns[] = { in ATF_TC_BODY()
127 static struct bpf_insn insns[] = { in ATF_TC_BODY()
160 static struct bpf_insn insns[] = { in ATF_TC_BODY()
185 static struct bpf_insn insns[] = { in ATF_TC_BODY()
210 static struct bpf_insn insns[] = { in ATF_TC_BODY()
235 static struct bpf_insn insns[] = { in ATF_TC_BODY()
259 static struct bpf_insn insns[] = { in ATF_TC_BODY()
284 static struct bpf_insn insns[] = { in ATF_TC_BODY()
309 static struct bpf_insn insns[] = { in ATF_TC_BODY()
[all …]
H A Dt_cop.c121 static struct bpf_insn insns[] = { in ATF_TC_BODY()
149 static struct bpf_insn insns[] = { in ATF_TC_BODY()
188 static struct bpf_insn insns[] = { in ATF_TC_BODY()
227 static struct bpf_insn insns[] = { in ATF_TC_BODY()
266 static struct bpf_insn insns[] = { in ATF_TC_BODY()
305 static struct bpf_insn insns[] = { in ATF_TC_BODY()
350 static struct bpf_insn insns[] = { in ATF_TC_BODY()
395 static struct bpf_insn insns[] = { in ATF_TC_BODY()
421 static struct bpf_insn insns[] = { in ATF_TC_BODY()
449 static struct bpf_insn insns[] = { in ATF_TC_BODY()
[all …]
H A Dt_mbuf.c57 static struct bpf_insn insns[] = { in test_ldb_abs()
94 static struct bpf_insn insns[] = { in test_ldh_abs()
125 static struct bpf_insn insns[] = { in test_ldw_abs()
149 static struct bpf_insn insns[] = { in test_ldb_ind()
190 static struct bpf_insn insns[] = { in test_ldw_ind()
220 static struct bpf_insn insns[] = { in test_ldh_ind()
256 static struct bpf_insn insns[] = { in test_msh()
295 static struct bpf_insn insns[] = { in test_ldb_abs_overflow()
313 static struct bpf_insn insns[] = { in test_ldh_abs_overflow()
331 static struct bpf_insn insns[] = { in test_ldw_abs_overflow()
[all …]
H A Dt_extmem.c81 static struct bpf_insn insns[] = { in ATF_TC_BODY()
126 static struct bpf_insn insns[] = { in ATF_TC_BODY()
150 static struct bpf_insn insns[] = { in ATF_TC_BODY()
207 static struct bpf_insn insns[] = { in ATF_TC_BODY()
265 static struct bpf_insn insns[] = { in ATF_TC_BODY()
290 static struct bpf_insn insns[] = { in ATF_TC_BODY()
341 static struct bpf_insn insns[] = { in ATF_TC_BODY()
392 static struct bpf_insn insns[] = { in ATF_TC_BODY()
444 static struct bpf_insn insns[] = { in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/lib/libbpfjit/
H A Dt_cop.c113 static struct bpf_insn insns[] = { in ATF_TC_BODY()
137 static struct bpf_insn insns[] = { in ATF_TC_BODY()
170 static struct bpf_insn insns[] = { in ATF_TC_BODY()
203 static struct bpf_insn insns[] = { in ATF_TC_BODY()
236 static struct bpf_insn insns[] = { in ATF_TC_BODY()
269 static struct bpf_insn insns[] = { in ATF_TC_BODY()
308 static struct bpf_insn insns[] = { in ATF_TC_BODY()
347 static struct bpf_insn insns[] = { in ATF_TC_BODY()
367 static struct bpf_insn insns[] = { in ATF_TC_BODY()
391 static struct bpf_insn insns[] = { in ATF_TC_BODY()
[all …]
H A Dt_bpfjit.c68 struct bpf_insn dummy; in ATF_TC_BODY()
83 static struct bpf_insn insns[] = { in ATF_TC_BODY()
111 static struct bpf_insn insns[] = { in ATF_TC_BODY()
148 static struct bpf_insn insns[] = { in ATF_TC_BODY()
178 static struct bpf_insn insns[] = { in ATF_TC_BODY()
208 static struct bpf_insn insns[] = { in ATF_TC_BODY()
238 static struct bpf_insn insns[] = { in ATF_TC_BODY()
267 static struct bpf_insn insns[] = { in ATF_TC_BODY()
297 static struct bpf_insn insns[] = { in ATF_TC_BODY()
327 static struct bpf_insn insns[] = { in ATF_TC_BODY()
[all …]
H A Dt_extmem.c73 static struct bpf_insn insns[] = { in ATF_TC_BODY()
112 static struct bpf_insn insns[] = { in ATF_TC_BODY()
151 static struct bpf_insn insns[] = { in ATF_TC_BODY()
169 static struct bpf_insn insns[] = { in ATF_TC_BODY()
220 static struct bpf_insn insns[] = { in ATF_TC_BODY()
272 static struct bpf_insn insns[] = { in ATF_TC_BODY()
291 static struct bpf_insn insns[] = { in ATF_TC_BODY()
336 static struct bpf_insn insns[] = { in ATF_TC_BODY()
381 static struct bpf_insn insns[] = { in ATF_TC_BODY()
427 static struct bpf_insn insns[] = { in ATF_TC_BODY()
/freebsd/contrib/libpcap/pcap/
H A Dbpf.h132 struct bpf_insn *bf_insns;
258 struct bpf_insn {
287 PCAP_API u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int);
290 PCAP_API int bpf_validate(const struct bpf_insn *f, int len);
293 PCAP_API char *bpf_image(const struct bpf_insn *, int);
/freebsd/sys/net/
H A Dbpf_jitter.h71 bpf_jit_filter *bpf_jitter(struct bpf_insn *fp, int nins);
86 struct bpf_insn;
88 bpf_filter_func bpf_jit_compile(struct bpf_insn *, u_int, size_t *);
H A Dbpf.h69 struct bpf_insn *bf_insns;
360 struct bpf_insn { struct
418 int bpf_validate(const struct bpf_insn *, int);
435 u_int bpf_filter(const struct bpf_insn *, u_char *, u_int, u_int);
H A Dbpfdesc.h74 struct bpf_insn *bd_rfilter; /* read filter code */
75 struct bpf_insn *bd_wfilter; /* write filter code */
/freebsd/contrib/libpcap/
H A Dbpf_filter.c87 pcapint_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p, in pcapint_filter_with_aux_data()
91 pcapint_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p, in pcapint_filter_with_aux_data()
389 pcapint_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen, in pcapint_filter()
407 pcapint_validate_filter(const struct bpf_insn *f, int len) in pcapint_validate_filter()
410 const struct bpf_insn *p; in pcapint_validate_filter()
534 bpf_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen, in bpf_filter()
541 bpf_validate(const struct bpf_insn *f, int len) in bpf_validate()
H A Dpcap-int.h557 u_int pcapint_filter_with_aux_data(const struct bpf_insn *,
563 u_int pcapint_filter(const struct bpf_insn *, const u_char *, u_int, u_int);
568 int pcapint_validate_filter(const struct bpf_insn *, int);
/freebsd/contrib/netbsd-tests/net/bpfilter/
H A Dt_bpfilter.c79 static struct bpf_insn magic_echo_reply_prog[] = {
104 static struct bpf_insn badmem_prog[] = {
109 static struct bpf_insn noinitA_prog[] = {
113 static struct bpf_insn noinitX_prog[] = {
118 static struct bpf_insn badjmp_prog[] = {
123 static struct bpf_insn negjmp_prog[] = {
129 static struct bpf_insn badret_prog[] = {
453 struct bpf_insn *last; in ATF_TC_BODY()
/freebsd/libexec/rbootd/
H A Dbpf.c168 static struct bpf_insn bpf_insn[] = { in BpfOpen() local
180 sizeof(bpf_insn)/sizeof(bpf_insn[0]), bpf_insn in BpfOpen()
/freebsd/sbin/ipf/ipf/
H A Dbpf-ipf.h72 struct bpf_insn *bf_insns;
400 struct bpf_insn { struct
423 extern int bpf_validate(struct bpf_insn *, int); argument
424 extern u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
/freebsd/sys/netgraph/
H A Dng_bpf.h55 struct bpf_insn bpf_prog[]; /* bpf program */
59 (sizeof(struct ng_bpf_hookprog) + (numInsn) * sizeof(struct bpf_insn))
/freebsd/tools/regression/bpf/bpf_filter/
H A Dbpf_test.c91 u_int bpf_filter(const struct bpf_insn *, u_char *, u_int, u_int);
129 bpf_validate(const struct bpf_insn *f, int len) in bpf_validate()
132 register const struct bpf_insn *p; in bpf_validate()
/freebsd/sbin/dhclient/
H A Dbpf.c107 static const struct bpf_insn dhcp_bpf_wfilter[] = {
161 p.bf_insns = __DECONST(struct bpf_insn *, dhcp_bpf_wfilter); in if_register_send()
188 static const struct bpf_insn dhcp_bpf_filter[] = {
293 p.bf_insns = __DECONST(struct bpf_insn *, dhcp_bpf_filter); in if_register_receive()
/freebsd/tools/regression/bpf/bpf_filter/tests/
H A Dtest0079.h6 static struct bpf_insn pc[] = {
H A Dtest0002.h6 static struct bpf_insn pc[] = {
H A Dtest0001.h6 static struct bpf_insn pc[] = {
H A Dtest0007.h6 static struct bpf_insn pc[] = {

123456