From owner-freebsd-net@FreeBSD.ORG Tue Dec 23 21:29:10 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4866106567A; Tue, 23 Dec 2008 21:29:10 +0000 (UTC) (envelope-from prvs=julian=236fe5f01@elischer.org) Received: from smtp-outbound.ironport.com (smtp-outbound.ironport.com [63.251.108.112]) by mx1.freebsd.org (Postfix) with ESMTP id CE3B18FC1A; Tue, 23 Dec 2008 21:29:10 +0000 (UTC) (envelope-from prvs=julian=236fe5f01@elischer.org) Received: from jelischer-laptop.sfo.ironport.com (HELO julian-mac.elischer.org) ([10.251.22.38]) by smtp-outbound.ironport.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Dec 2008 13:00:36 -0800 Message-ID: <4951515C.4030706@elischer.org> Date: Tue, 23 Dec 2008 13:00:12 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: gnn@freebsd.org References: <7ihc4u3adr.wl%gnn@neville-neil.com> In-Reply-To: <7ihc4u3adr.wl%gnn@neville-neil.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: net@freebsd.org Subject: Re: A new tool for low level testing... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 21:29:11 -0000 gnn@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@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..