/freebsd/contrib/netbsd-tests/net/bpf/ |
H A D | h_bpf.h | 45 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 D | t_mbuf.c | 56 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 D | t_bpfjit.c | 81 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 D | t_cop.c | 121 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 D | t_mbuf.c | 57 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 D | t_extmem.c | 81 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 D | t_cop.c | 113 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 D | t_bpfjit.c | 68 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 D | t_extmem.c | 73 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 D | bpf.h | 132 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 D | bpf_jitter.h | 71 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 D | bpf.h | 69 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 D | bpfdesc.h | 74 struct bpf_insn *bd_rfilter; /* read filter code */ 75 struct bpf_insn *bd_wfilter; /* write filter code */
|
/freebsd/contrib/libpcap/ |
H A D | bpf_filter.c | 87 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 D | pcap-int.h | 557 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 D | t_bpfilter.c | 79 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 D | bpf.c | 168 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 D | bpf-ipf.h | 72 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 D | ng_bpf.h | 55 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 D | bpf_test.c | 91 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 D | bpf.c | 107 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 D | test0079.h | 6 static struct bpf_insn pc[] = {
|
H A D | test0002.h | 6 static struct bpf_insn pc[] = {
|
H A D | test0001.h | 6 static struct bpf_insn pc[] = {
|
H A D | test0007.h | 6 static struct bpf_insn pc[] = {
|