A new tool for low level testing...

Julian Elischer julian at elischer.org
Tue Dec 23 13:29:11 PST 2008


gnn at freebsd.org wrote:
> Hi,
> 
> I just checked in a small tool to HEAD in
> /usr/src/tools/tools/ether_reflect which uses pcap and bpf to reflect
> ethernet packets just about the driver layer without involving the
> protocol stacks.  This is useful for people doing low level testing of
> drivers and switches.  If you happen to be lucky enough to have an
> ethernet packet generator (ixia et al) this will do what you want in
> terms of reflecting the packets back.
> 
> Later,
> George
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


OR

ngctl mkpeer em0: echo lower echo


hmmmmm no this would leave the source and destination headers in hte 
same order.. they need to be swapped..

ok so I need to make a patch, but it would be much quicker than a user 
utility..






More information about the freebsd-net mailing list