Searched refs:bf_insns (Results 1 – 22 of 22) sorted by relevance
/external/libpcap/ |
D | pcap-septel.c | 149 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) { in septel_read()
|
D | bpf_dump.c | 40 insn = p->bf_insns; in bpf_dump()
|
D | pcap-snoop.c | 124 if (p->fcode.bf_insns == NULL || in pcap_read_snoop() 125 bpf_filter(p->fcode.bf_insns, cp, datalen, caplen)) { in pcap_read_snoop()
|
D | pcap-linux.c | 672 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()
|
D | optimize.c | 2285 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);
|
D | pcap-enet.c | 62 register struct bpf_insn *fcode = fp->bf_insns; in readloop()
|
D | pcap-bpf.h | 91 struct bpf_insn *bf_insns; member
|
D | pcap-win32.c | 314 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()
|
D | pcap-bpf.c | 152 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()
|
D | pcap-nit.c | 102 register struct bpf_insn *fcode = p->fcode.bf_insns; in pcap_read_nit()
|
D | pcap-dag.c | 434 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) { in dag_read()
|
D | pcap-snit.c | 116 register struct bpf_insn *fcode = p->fcode.bf_insns; in pcap_read_snit()
|
D | pcap-pf.c | 101 fcode = pc->md.use_bpf ? NULL : pc->fcode.bf_insns; in pcap_read_pf()
|
D | pcap-dos.c | 208 struct bpf_insn *fcode = p->fcode.bf_insns; in pcap_read_one() 976 pcap_save.fcode.bf_insns = NULL; in init_watt32()
|
D | savefile.c | 1350 if ((fcode = p->fcode.bf_insns) == NULL || in pcap_offline_read()
|
D | pcap-dlpi.c | 306 fcode = p->fcode.bf_insns; in pcap_read_dlpi()
|
D | gencode.c | 403 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/ |
D | bpf.c | 111 pf.bf_insns = UNCONST(arp_bpf_filter); in open_socket() 115 pf.bf_insns = UNCONST(dhcp_bpf_filter); in open_socket()
|
/external/ppp/pppd/ |
D | demand.c | 345 && bpf_filter(pass_filter.bf_insns, p, len, len) == 0) 348 && bpf_filter(active_filter.bf_insns, p, len, len) == 0)
|
D | sys-linux.c | 1304 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/ |
D | bpf_dump.c | 44 insn = p->bf_insns; in bpf_dump()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 251 bpfProgram.bf_insns = &bpfInsn[0]; in initFilter()
|