From owner-freebsd-net Thu Oct 17 13: 9:16 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E989537B401; Thu, 17 Oct 2002 13:09:14 -0700 (PDT) Received: from venus.vincentjardin.net (AVelizy-102-1-4-2.abo.wanadoo.fr [80.11.204.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E362C43E42; Thu, 17 Oct 2002 13:09:13 -0700 (PDT) (envelope-from jardin@venus.vincentjardin.net) Received: by venus.vincentjardin.net (Postfix, from userid 501) id E98171503A0; Thu, 17 Oct 2002 22:01:11 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Terry Lambert Subject: Re: Netgraph TCP/IP Date: Thu, 17 Oct 2002 22:01:11 +0200 X-Mailer: KMail [version 1.3.1] References: <20021017110456.G15035@sjt-u10.cisco.com> <3DAF087C.7B148341@mindspring.com> In-Reply-To: <3DAF087C.7B148341@mindspring.com> Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20021017200111.E98171503A0@venus.vincentjardin.net> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I do not think that you need a raw IP netgraph node. Something similar already exists. Why not use the ng_ksocket in order to open a raw IP socket under your TCP node ? Vincent Le Jeudi 17 Octobre 2002 20:59, vous avez écrit : > Steve Tremblett wrote: > > A while back someone was fishing for a project to take on and someone > > suggested a complete TCP/IP implementation in netgraph. I found the > > idea interesting and am considering taking a shot at it. My main goal > > in all this is to learn as much as possible and at this point I'm just > > reading. > > > > While this is a personal educational project, I figure I should propose > > it here and solicit comments/thoughts/suggestions on such a venture so > > that maybe the results might be usable by someone else. > > Start with just a TCP implementation, after exposing a raw IP > interface as a netgraph node. This will make your life much > easier. There is a lot of promiscuous knowledge in the code, > both for packets on the way in, and packets on the way out. > > -- Terry > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message