Searched refs:bf_len (Results 1 – 19 of 19) sorted by relevance
/external/iptables/utils/ |
D | nfbpf_compile.c | 45 printf("%d,", program.bf_len); in main() 47 for (i = 0; i < program.bf_len-1; ++ins, ++i) in main()
|
/external/ppp/pppd/ |
D | demand.c | 345 if ((pass_filter.bf_len != 0 347 || (active_filter.bf_len != 0
|
D | sys-linux.c | 1337 fp.len = pass->bf_len; in set_filters() 1346 fp.len = active->bf_len; in set_filters()
|
D | sys-solaris.c | 1695 if (pass->bf_len > 0) { 1702 if (active->bf_len > 0) {
|
/external/tcpdump/ |
D | bpf_dump.c | 37 int n = p->bf_len; in bpf_dump()
|
/external/libpcap/ |
D | bpf_dump.c | 36 int n = p->bf_len; in bpf_dump()
|
D | optimize.c | 2946 if (!pcap_validate_filter(fp->bf_insns, fp->bf_len)) { in install_bpf_program() 2957 prog_size = sizeof(*fp->bf_insns) * fp->bf_len; in install_bpf_program() 2958 p->fcode.bf_len = fp->bf_len; in install_bpf_program() 2982 noffset = min(block->offset + icount, (int)prog->bf_len); in dot_dump_node() 3046 f.bf_insns = icode_to_fcode(ic, ic->root, &f.bf_len, errbuf); in dot_dump() 3067 f.bf_insns = icode_to_fcode(ic, ic->root, &f.bf_len, errbuf); in plain_dump()
|
D | pcap-rpcap.c | 1193 …sizeof(struct rpcap_startcapreq) + sizeof(struct rpcap_filter) + fp->fcode.bf_len * sizeof(struct … in pcap_startcapture_remote() 1517 if (prog->bf_len == 0) /* No filters have been specified; so, let's apply a "fake" filter */ in pcap_pack_bpffilter() 1532 filter->nitems = htonl((int32)prog->bf_len); in pcap_pack_bpffilter() 1534 if (sock_bufferize(NULL, prog->bf_len * sizeof(struct rpcap_filterbpf_insn), in pcap_pack_bpffilter() 1541 for (i = 0; i < prog->bf_len; i++) in pcap_pack_bpffilter() 1593 sizeof(struct rpcap_filter) + prog->bf_len * sizeof(struct rpcap_filterbpf_insn)); in pcap_updatefilter_remote()
|
D | pcap-airpcap.c | 256 fp->bf_len * sizeof(struct bpf_insn))) { in airpcap_setfilter()
|
D | pcap-linux.c | 4216 if (handle->fcode.bf_len > USHRT_MAX) { in pcap_setfilter_linux() 5109 prog_size = sizeof(*handle->fcode.bf_insns) * handle->fcode.bf_len; in fix_program() 5110 len = handle->fcode.bf_len; in fix_program()
|
D | pcap-sita.c | 901 count = bpf->bf_len; in pcap_setfilter_acn()
|
D | pcap-npf.c | 1324 total_prog.bf_len = 1; in pcap_activate_npf()
|
D | pcap-bpf.c | 2627 total_prog.bf_len = 1;
|
D | gencode.c | 847 program->bf_len = len; in pcap_compile() 895 program->bf_len = 0; in pcap_freecode()
|
/external/libpcap/pcap/ |
D | bpf.h | 116 u_int bf_len; member
|
/external/libpcap/testprogs/ |
D | filtertest.c | 344 if (!bpf_validate(fcode.bf_insns, fcode.bf_len)) in main()
|
D | valgrindtest.c | 422 bad_fcode.bf_len = INSN_COUNT; in main()
|
/external/libpcap/rpcapd/ |
D | daemon.c | 2329 bf_prog.bf_len = ntohl(filter.nitems); in daemon_unpackapplyfilter() 2337 if (bf_prog.bf_len > RPCAP_BPF_MAXINSNS) in daemon_unpackapplyfilter() 2344 bf_insn = (struct bpf_insn *) malloc (sizeof(struct bpf_insn) * bf_prog.bf_len); in daemon_unpackapplyfilter() 2354 for (i = 0; i < bf_prog.bf_len; i++) in daemon_unpackapplyfilter() 2378 if (bpf_validate(bf_prog.bf_insns, bf_prog.bf_len) == 0) in daemon_unpackapplyfilter()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/ |
D | mod.rs | 278 pub bf_len: ::c_uint,
|