Date: Wed, 03 May 2006 22:50:37 +0800 From: snnn <snnn119@gmail.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: how to write a bpf filter to receive all packets? Message-ID: <4458C33D.3010102@gmail.com>
next in thread | raw e-mail | index | archive | help
is that?
struct bpf_insn insns[] = {
BPF_STMT(BPF_RET+BPF_K, (u_int)-1),
};
but I can not receive any packet.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4458C33D.3010102>
