Searched refs:bf_len (Results 1 – 14 of 14) sorted by relevance
45 printf("%d,", program.bf_len); in main()47 for (i = 0; i < program.bf_len-1; ++ins, ++i) in main()
112 pf.bf_len = arp_bpf_filter_len; in open_socket()116 pf.bf_len = dhcp_bpf_filter_len; in open_socket()
345 if ((pass_filter.bf_len != 0347 || (active_filter.bf_len != 0
1695 if (pass->bf_len > 0) {1702 if (active->bf_len > 0) {
1337 fp.len = pass->bf_len; in set_filters()1346 fp.len = active->bf_len; in set_filters()
42 int n = p->bf_len; in bpf_dump()
38 int n = p->bf_len; in bpf_dump()
2212 if (!bpf_validate(fp->bf_insns, fp->bf_len)) { in install_bpf_program()2223 prog_size = sizeof(*fp->bf_insns) * fp->bf_len; in install_bpf_program()2224 p->fcode.bf_len = fp->bf_len; in install_bpf_program()2242 f.bf_insns = icode_to_fcode(root, &f.bf_len); in opt_dump()
2397 if (handle->fcode.bf_len > USHRT_MAX) {5849 prog_size = sizeof(*handle->fcode.bf_insns) * handle->fcode.bf_len;5850 len = handle->fcode.bf_len;
878 count = bpf->bf_len;
2211 total_prog.bf_len = 1;
486 program->bf_len = len; in pcap_compile_unsafe()520 program->bf_len = 0; in pcap_freecode()
108 u_int bf_len; member
375 bad_fcode.bf_len = INSN_COUNT; in main()