Searched refs:bf_len (Results 1 – 7 of 7) sorted by relevance
439 if (ps->ps_bpf.bf_len != 0) { in pfp_packet()1354 prog.bf_len = prog32.bf_len; in pfp_setsocket_sockopt()1363 if (prog.bf_len > BPF_MAXINSNS) in pfp_setsocket_sockopt()1366 size = prog.bf_len * sizeof (*prog.bf_insns); in pfp_setsocket_sockopt()1373 if (bpf_validate(fcode, (int)prog.bf_len)) { in pfp_setsocket_sockopt()1377 ps->ps_bpf.bf_len = size; in pfp_setsocket_sockopt()1481 if (ps->ps_bpf.bf_len != 0) { in pfp_release_bpf()1482 kmem_free(ps->ps_bpf.bf_insns, ps->ps_bpf.bf_len); in pfp_release_bpf()1483 ps->ps_bpf.bf_len = 0; in pfp_release_bpf()
74 uint_t bf_len; member78 uint_t bf_len; member
74 u_int bf_len; member
348 if (active_filter.bf_len != 0
2237 if (pass->bf_len > 0) {2244 if (active->bf_len > 0) {
1127 prog.bf_len = prog32.bf_len; in bpfioctl()1258 if (fp->bf_len != 0) in bpf_setf()1271 flen = fp->bf_len; in bpf_setf()
2062 fr->fr_dsize = bpf.bf_len * sizeof(struct bpf_insn);2067 if (!bpf_validate(fr->fr_data, bpf.bf_len)) {