[PATCH] BPF to support directions and more
Jung-uk Kim
jkim at FreeBSD.org
Thu Feb 15 21:55:59 UTC 2007
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
Thanks,
Jung-uk Kim
More information about the freebsd-net
mailing list