HomeSort by: relevance | last modified time | path
    Searched refs:bpf_insn (Results 1 - 25 of 60) sorted by relevancy

1 2 3

  /src/sys/net/
bpfjit.h 58 const struct bpf_insn *, size_t);
64 const struct bpf_insn *, size_t);
bpf.h 77 struct bpf_insn *bf_insns;
334 struct bpf_insn { struct
591 u_int bpf_filter_ext(const bpf_ctx_t *, const struct bpf_insn *, bpf_args_t *);
592 int bpf_validate_ext(const bpf_ctx_t *, const struct bpf_insn *, int);
599 int bpf_validate(const struct bpf_insn *, int);
600 u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int);
602 u_int bpf_filter_with_aux_data(const struct bpf_insn *, const u_char *, u_int, u_int, const struct bpf_aux_data *);
611 char *bpf_image(const struct bpf_insn *, int);
bpfdesc.h 56 struct bpf_insn *bf_insn; /* filter code */
87 struct bpf_insn *_bd_filter; /* filter code */
  /src/tests/net/bpf/
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,
110 interp_prog_mchain2(struct bpf_insn *insns,
134 exec_prog_mchain2(struct bpf_insn *insns, size_t insn_count,
160 prog_validate(struct bpf_insn *insns, size_t insn_count)
t_div-by-zero.c 29 struct bpf_insn bins[] = {
t_mbuf.c 56 static struct bpf_insn insns[] = {
92 static struct bpf_insn insns[] = {
122 static struct bpf_insn insns[] = {
145 static struct bpf_insn insns[] = {
185 static struct bpf_insn insns[] = {
214 static struct bpf_insn insns[] = {
249 static struct bpf_insn insns[] = {
287 static struct bpf_insn insns[] = {
304 static struct bpf_insn insns[] = {
321 static struct bpf_insn insns[] =
    [all...]
  /src/external/bsd/libpcap/dist/pcap/
bpf.h 120 struct bpf_insn *bf_insns;
246 struct bpf_insn { struct
273 PCAP_API u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int);
276 PCAP_API int bpf_validate(const struct bpf_insn *f, int len);
279 PCAP_API char *bpf_image(const struct bpf_insn *, int);
  /src/usr.sbin/npf/npfctl/
npf_bpf_comp.c 201 struct bpf_insn *insn = &bp->bf_insns[i];
247 add_insns(npf_bpf_t *ctx, struct bpf_insn *insns, size_t count)
253 offset = bp->bf_len * sizeof(struct bpf_insn);
254 len = count * sizeof(struct bpf_insn);
303 struct bpf_insn insns_ret[] = {
375 struct bpf_insn insns_ret[] = {
385 struct bpf_insn insns_ret[] = {
443 struct bpf_insn insns_af[] = {
465 struct bpf_insn insns_hlen[] = {
496 struct bpf_insn insns_et[] =
    [all...]
  /src/usr.bin/rump_dhcpclient/
bpf-filter.h 33 static const struct bpf_insn arp_bpf_filter [] = {
78 static const struct bpf_insn dhcp_bpf_filter [] = {
  /src/tests/lib/libbpfjit/
t_cop.c 113 static struct bpf_insn insns[] = {
137 static struct bpf_insn insns[] = {
170 static struct bpf_insn insns[] = {
203 static struct bpf_insn insns[] = {
236 static struct bpf_insn insns[] = {
269 static struct bpf_insn insns[] = {
308 static struct bpf_insn insns[] = {
347 static struct bpf_insn insns[] = {
367 static struct bpf_insn insns[] = {
391 static struct bpf_insn insns[] =
    [all...]
t_extmem.c 73 static struct bpf_insn insns[] = {
112 static struct bpf_insn insns[] = {
151 static struct bpf_insn insns[] = {
169 static struct bpf_insn insns[] = {
220 static struct bpf_insn insns[] = {
272 static struct bpf_insn insns[] = {
291 static struct bpf_insn insns[] = {
336 static struct bpf_insn insns[] = {
381 static struct bpf_insn insns[] = {
427 static struct bpf_insn insns[] =
    [all...]
t_bpfjit.c 68 struct bpf_insn dummy = { 0 };
83 static struct bpf_insn insns[] = {
111 static struct bpf_insn insns[] = {
148 static struct bpf_insn insns[] = {
178 static struct bpf_insn insns[] = {
208 static struct bpf_insn insns[] = {
238 static struct bpf_insn insns[] = {
267 static struct bpf_insn insns[] = {
297 static struct bpf_insn insns[] = {
327 static struct bpf_insn insns[] =
    [all...]
  /src/tests/net/bpfjit/
t_cop.c 121 static struct bpf_insn insns[] = {
149 static struct bpf_insn insns[] = {
188 static struct bpf_insn insns[] = {
227 static struct bpf_insn insns[] = {
266 static struct bpf_insn insns[] = {
305 static struct bpf_insn insns[] = {
350 static struct bpf_insn insns[] = {
395 static struct bpf_insn insns[] = {
421 static struct bpf_insn insns[] = {
449 static struct bpf_insn insns[] =
    [all...]
t_bpfjit.c 81 struct bpf_insn dummy;
104 static struct bpf_insn insns[] = {
127 static struct bpf_insn insns[] = {
160 static struct bpf_insn insns[] = {
185 static struct bpf_insn insns[] = {
210 static struct bpf_insn insns[] = {
235 static struct bpf_insn insns[] = {
259 static struct bpf_insn insns[] = {
284 static struct bpf_insn insns[] = {
309 static struct bpf_insn insns[] =
    [all...]
t_extmem.c 81 static struct bpf_insn insns[] = {
126 static struct bpf_insn insns[] = {
150 static struct bpf_insn insns[] = {
207 static struct bpf_insn insns[] = {
265 static struct bpf_insn insns[] = {
290 static struct bpf_insn insns[] = {
341 static struct bpf_insn insns[] = {
392 static struct bpf_insn insns[] = {
444 static struct bpf_insn insns[] = {
t_mbuf.c 57 static struct bpf_insn insns[] = {
94 static struct bpf_insn insns[] = {
125 static struct bpf_insn insns[] = {
149 static struct bpf_insn insns[] = {
190 static struct bpf_insn insns[] = {
220 static struct bpf_insn insns[] = {
256 static struct bpf_insn insns[] = {
295 static struct bpf_insn insns[] = {
313 static struct bpf_insn insns[] = {
331 static struct bpf_insn insns[] =
    [all...]
  /src/external/bsd/libpcap/dist/
bpf_dump.c 37 const struct bpf_insn *insn;
bpf_filter.c 89 pcapint_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p,
93 pcapint_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p,
391 pcapint_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen,
409 pcapint_validate_filter(const struct bpf_insn *f, int len)
412 const struct bpf_insn *p;
536 bpf_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen,
543 bpf_validate(const struct bpf_insn *f, int len)
  /src/external/bsd/tcpdump/dist/
bpf_dump.c 38 struct bpf_insn *insn;
  /src/usr.sbin/npf/npftest/libnpftest/
npf_bpf_test.c 87 struct bpf_insn insns_npf_bpfcop[] = {
99 struct bpf_insn insns_ipver[] = {
  /src/external/bsd/dhcpcd/dist/src/
bpf.c 41 #define bpf_insn sock_filter macro
356 bpf_cmp_hwaddr(struct bpf_insn *bpf, size_t bpf_len, size_t off,
359 struct bpf_insn *bp;
441 static const struct bpf_insn bpf_arp_ether [] = {
464 static const struct bpf_insn bpf_arp_filter [] = {
493 struct bpf_insn buf[BPF_ARP_LEN + 1];
494 struct bpf_insn *bp;
572 static const struct bpf_insn bpf_bootp_none[] = {
577 static const struct bpf_insn bpf_bootp_ether[] = {
589 static const struct bpf_insn bpf_bootp_base[] =
    [all...]
  /src/usr.sbin/rbootd/
bpf.c 178 static struct bpf_insn bpf_insn[] = { local
190 sizeof(bpf_insn)/sizeof(bpf_insn[0]), bpf_insn
  /src/tests/net/bpfilter/
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;
  /src/external/bsd/ipf/bin/ipftest/
bpf-ipf.h 77 struct bpf_insn *bf_insns;
405 struct bpf_insn { struct
436 extern int bpf_validate(struct bpf_insn *, int);
437 extern u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
  /src/external/bsd/ipf/dist/ipsd/
sbpf.c 55 struct bpf_insn filter[] = {
201 prog.bf_len = sizeof(filter) / sizeof(struct bpf_insn);

Completed in 36 milliseconds

1 2 3