From owner-freebsd-net@FreeBSD.ORG Tue Dec 30 19:04:16 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B69C106564A for ; Tue, 30 Dec 2008 19:04:16 +0000 (UTC) (envelope-from gerryw@compvia.com) Received: from mail01.compvia.com (mail01.compvia.com [12.147.132.91]) by mx1.freebsd.org (Postfix) with ESMTP id F1C8C8FC23 for ; Tue, 30 Dec 2008 19:04:15 +0000 (UTC) (envelope-from gerryw@compvia.com) Received: from [10.10.20.11] ([10.10.20.11]) by mail01.compvia.com (Kerio MailServer 6.5.1); Tue, 30 Dec 2008 13:04:12 -0600 To: "Ferner Cilloniz" , freebsd-net@freebsd.org From: "Gerry Weaver" In-Reply-To: 1230637795.4966.20.camel@mobiliare.Belkin Message-ID: <20081230190412.b20e996c@mail01.compvia.com> Date: Tue, 30 Dec 2008 13:04:12 -0600 X-Mailer: Kerio MailServer 6.5.1 WebMail X-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1) Gecko/20081007 Firefox/3.1b1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: kernel network 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, 30 Dec 2008 19:04:16 -0000 =5F=5F=5F=5F=5F =20 From: Ferner Cilloniz [mailto:fernercc@gmail.com] To: freebsd-net@freebsd.org Sent: Tue, 30 Dec 2008 05:49:55 -0600 Subject: kernel network Guys, =20 I do not think I could ever be more tired of this topic but I cannot seem to understand what to do. I have tried more about a month now to send arbitrary UDP packets from a kernel module but cannot achieve it.= I have looked at udp=5Fsend but found that building a socket* was much t= o tedious. Later i looked at in-kernel webservers (http://openketa.sourceforge.net/) but could not find anything useful. =20 Netgraph is a possibility, but there isn't any documentation on accessing the network from kernel space. =20 What do you all suggest=3F =20 =20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F 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" Hello Ferner, =20 I am working on a module that needs to do the same thing. I'm starting= work on the socket code today. If and when I have something working, I= will be more than happy to share some code snippets with you.=20 Thanks, Gerry =20 =20