Home
last modified time | relevance | path

Searched refs:bf_insns (Results 1 – 22 of 22) sorted by relevance

/external/libpcap/
Dpcap-septel.c149 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) { in septel_read()
Dbpf_dump.c40 insn = p->bf_insns; in bpf_dump()
Dpcap-snoop.c124 if (p->fcode.bf_insns == NULL || in pcap_read_snoop()
125 bpf_filter(p->fcode.bf_insns, cp, datalen, caplen)) { in pcap_read_snoop()
Dpcap-linux.c672 if (!handle->md.use_bpf && handle->fcode.bf_insns) { in pcap_read_packet()
673 if (bpf_filter(handle->fcode.bf_insns, bp, in pcap_read_packet()
1994 prog_size = sizeof(*handle->fcode.bf_insns) * handle->fcode.bf_len; in fix_program()
2002 memcpy(f, handle->fcode.bf_insns, prog_size); in fix_program()
Doptimize.c2285 prog_size = sizeof(*fp->bf_insns) * fp->bf_len; in install_bpf_program()
2287 p->fcode.bf_insns = (struct bpf_insn *)malloc(prog_size); in install_bpf_program()
2288 if (p->fcode.bf_insns == NULL) { in install_bpf_program()
2293 memcpy(p->fcode.bf_insns, fp->bf_insns, prog_size); in install_bpf_program()
2305 f.bf_insns = icode_to_fcode(root, &f.bf_len);
2308 free((char *)f.bf_insns);
Dpcap-enet.c62 register struct bpf_insn *fcode = fp->bf_insns; in readloop()
Dpcap-bpf.h91 struct bpf_insn *bf_insns; member
Dpcap-win32.c314 if (p->fcode.bf_insns) in pcap_read_win32_dag()
316 if (bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen) == 0) in pcap_read_win32_dag()
Dpcap-bpf.c152 fcode = p->md.use_bpf ? NULL : p->fcode.bf_insns; in pcap_read_bpf()
970 total_prog.bf_insns = &total_insn; in pcap_open_live()
Dpcap-nit.c102 register struct bpf_insn *fcode = p->fcode.bf_insns; in pcap_read_nit()
Dpcap-dag.c434 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) { in dag_read()
Dpcap-snit.c116 register struct bpf_insn *fcode = p->fcode.bf_insns; in pcap_read_snit()
Dpcap-pf.c101 fcode = pc->md.use_bpf ? NULL : pc->fcode.bf_insns; in pcap_read_pf()
Dpcap-dos.c208 struct bpf_insn *fcode = p->fcode.bf_insns; in pcap_read_one()
976 pcap_save.fcode.bf_insns = NULL; in init_watt32()
Dsavefile.c1350 if ((fcode = p->fcode.bf_insns) == NULL || in pcap_offline_read()
Dpcap-dlpi.c306 fcode = p->fcode.bf_insns; in pcap_read_dlpi()
Dgencode.c403 program->bf_insns = icode_to_fcode(root, &len); in pcap_compile()
439 if (program->bf_insns != NULL) { in pcap_freecode()
440 free((char *)program->bf_insns); in pcap_freecode()
441 program->bf_insns = NULL; in pcap_freecode()
/external/dhcpcd/
Dbpf.c111 pf.bf_insns = UNCONST(arp_bpf_filter); in open_socket()
115 pf.bf_insns = UNCONST(dhcp_bpf_filter); in open_socket()
/external/ppp/pppd/
Ddemand.c345 && bpf_filter(pass_filter.bf_insns, p, len, len) == 0)
348 && bpf_filter(active_filter.bf_insns, p, len, len) == 0)
Dsys-linux.c1304 fp.filter = (struct sock_filter *) pass->bf_insns; in set_filters()
1313 fp.filter = (struct sock_filter *) active->bf_insns; in set_filters()
/external/tcpdump/
Dbpf_dump.c44 insn = p->bf_insns; in bpf_dump()
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c251 bpfProgram.bf_insns = &bpfInsn[0]; in initFilter()