From mboxrd@z Thu Jan 1 00:00:00 1970 From: Progga Subject: Re: generating ethernet packets Date: Wed, 31 Dec 2003 13:01:31 +0600 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <20031231130131.A279@Imrashi.net.bd> References: <20031230153502.0c98a9cd.cialdi@firenze.net> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20031230153502.0c98a9cd.cialdi@firenze.net>; from cialdi@firenze.net on Tue, Dec 30, 2003 at 03:35:02PM +0100 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Massimiliano Cialdi Cc: linux-c-programming@vger.kernel.org On Tue, Dec 30, 2003 at 03:35:02PM +0100, Massimiliano Cialdi wrote: > I need to generate custom ethernet packets. I want to test a protocol. > How can I send my custom ethernet packets through the network? Do I need libpcap? Probably, the combination of ping's "-p" and "-s" option can send custom packets. Khoda Hafez Progga