Date: Thu, 15 Feb 2007 16:49:08 -0800 From: gnn@freebsd.org To: Jung-uk Kim <jkim@freebsd.org> Cc: freebsd-net@freebsd.org Subject: Re: [PATCH] BPF to support directions and more Message-ID: <m2sld73p17.wl%gnn@neville-neil.com> In-Reply-To: <200702151655.53581.jkim@FreeBSD.org> References: <200702141805.20228.jkim@FreeBSD.org> <200702151655.53581.jkim@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At Thu, 15 Feb 2007 16:55:51 -0500, Jung-uk Kim wrote: > > On Wednesday 14 February 2007 06:05 pm, Jung-uk Kim wrote: > > I was playing with some BPF ideas for few days and I added two new > > features. SEESENT flag is extended to see only outgoing packets, > > which is analogous to libpcap's PCAP_D_OUT direction. Thus SEESENT > > is now called DIRECTION. Second feature is feedback mode (sort of > > simulated hardware loopback), i.e., when packets are injected, you > > can feed them back as if they are coming from the wire. You can > > debug link layer protocols easily with this without second machine, > > network controller, or loopback plug. It's only tested with > > Ethernet, though. All necessary patches (including libpcap > > modification) are here: > > > > http://people.freebsd.org/~jkim/bpf_feedback.diff > > I have received some positive feedbacks and comments. So, I made some > adjustments/corrections to reflect them: > > http://people.freebsd.org/~jkim/bpf_feedback-20070215.diff Hmmm. Those would be interesting things to have working with pypcap and PCS. I will try to take a look, but I like the ideas. Best, George
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2sld73p17.wl%gnn>