[PATCH] BPF to support directions and more

Yar Tikhiy yar at comp.chem.msu.su
Thu Feb 15 09:17:13 UTC 2007


On Wed, Feb 14, 2007 at 06:05:15PM -0500, 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.

Any plans to teach BPF to report the direction a packet goes in?
In some cases it can be unobvious whether it's incoming or outgoing.

-- 
Yar


More information about the freebsd-net mailing list