Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/bpf/net/
H A Dbpf.h75 struct bpf_insn *bf_insns; member
79 caddr32_t bf_insns; member
/titanic_44/usr/src/uts/common/inet/sockmods/
H A Dsockmod_pfp.c451 if (bpf_filter(ps->ps_bpf.bf_insns, buffer, in pfp_packet()
1355 prog.bf_insns = (void *)(uint64_t)prog32.bf_insns; in pfp_setsocket_sockopt()
1366 size = prog.bf_len * sizeof (*prog.bf_insns); in pfp_setsocket_sockopt()
1368 if (ddi_copyin(prog.bf_insns, fcode, size, 0) != 0) { in pfp_setsocket_sockopt()
1376 ps->ps_bpf.bf_insns = fcode; in pfp_setsocket_sockopt()
1482 kmem_free(ps->ps_bpf.bf_insns, ps->ps_bpf.bf_len); in pfp_release_bpf()
1484 ps->ps_bpf.bf_insns = NULL; in pfp_release_bpf()
/titanic_44/usr/src/uts/common/inet/ipf/
H A Dbpf-ipf.h75 struct bpf_insn *bf_insns; member
/titanic_44/usr/src/uts/common/io/bpf/
H A Dbpf.c1128 prog.bf_insns = (void *)(uint64_t)prog32.bf_insns; in bpfioctl()
1257 if (fp->bf_insns == 0) { in bpf_setf()
1275 size = flen * sizeof (*fp->bf_insns); in bpf_setf()
1277 if (copyin(fp->bf_insns, fcode, size) != 0) in bpf_setf()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Ddemand.c349 && bpf_filter(active_filter.bf_insns, frame, len, len) == 0) {
/titanic_44/usr/src/cmd/ipf/tools/
H A Dipf_y.y2066 bcopy((char *)bpf.bf_insns, fr->fr_data, fr->fr_dsize);