Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261874AbVCHAvw (ORCPT ); Mon, 7 Mar 2005 19:51:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261897AbVCHAr3 (ORCPT ); Mon, 7 Mar 2005 19:47:29 -0500 Received: from orb.pobox.com ([207.8.226.5]:35565 "EHLO orb.pobox.com") by vger.kernel.org with ESMTP id S262028AbVCHAoK (ORCPT ); Mon, 7 Mar 2005 19:44:10 -0500 In-Reply-To: <422CE853.8070603@euroweb.net.mt> References: <422CE853.8070603@euroweb.net.mt> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <9b84705fe7666dfbbf1782ca85ae2ae0@pobox.com> Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org From: Scott Feldman Subject: Re: Sending IP datagrams Date: Mon, 7 Mar 2005 16:42:55 -0800 To: "Josef E. Galea" X-Mailer: Apple Mail (2.619.2) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 517 Lines: 18 On Mar 7, 2005, at 3:48 PM, Josef E. Galea wrote: > Hi, > > Is there any way, other than socket buffers, to send IP datagrams from > a kernel module? If yes, can you please point me to some good tutorial > or sample code See net/core/pktgen.c for an example. -scott - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/