From owner-freebsd-net@FreeBSD.ORG Thu Dec 29 16:46:10 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 0010116A41F for ; Thu, 29 Dec 2005 16:46:09 +0000 (GMT) (envelope-from squigly@xsmail.com) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 681E343D60 for ; Thu, 29 Dec 2005 16:46:05 +0000 (GMT) (envelope-from squigly@xsmail.com) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 8886CD2ECA6; Thu, 29 Dec 2005 11:46:03 -0500 (EST) Received: from web2.messagingengine.com ([10.202.2.211]) by frontend1.internal (MEProxy); Thu, 29 Dec 2005 11:46:03 -0500 Received: by web2.messagingengine.com (Postfix, from userid 99) id B8E79CBA4; Thu, 29 Dec 2005 11:45:57 -0500 (EST) Message-Id: <1135874757.4898.250730784@webmail.messagingengine.com> X-Sasl-Enc: x0/VfXElDWOWYJYvkJSN19+vK9c0vLPC5RHARRpD9q2v 1135874757 From: "Squigly" To: "Chuck Swiger" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.15; A1.64; B3.05; Q3.03) References: <1135871527.31733.250727230@webmail.messagingengine.com> <43B40A23.7080502@mac.com> In-Reply-To: <43B40A23.7080502@mac.com> Date: Thu, 29 Dec 2005 08:45:57 -0800 Cc: freebsd-net@freebsd.org Subject: Re: Writing a netgraph module 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: Thu, 29 Dec 2005 16:46:10 -0000 On Thu, 29 Dec 2005 11:09:07 -0500, "Chuck Swiger" said: > Squigly wrote: > > I want to develop netgraph module (something simple at first, but the > > intention is to write a full-fledged-real-world-bla-bla system). > >=20 > > Problem is, I can't seem to find anything regarding the development > > process of a netgraph module. > >=20 > > Google/Handbook/Forums didn't give much. I poked the code a bit (both > > for netgraph subsystem and some modules), > > but I do need something more basic to start with. >=20 > Does the following give you a starting point: >=20 > cd /usr/src/sys/netgraph > less NOTES ng_sample.[hc] >=20 > --=20 > -Chuck Well.. yes and no. I did (of course) poked at that code, but again it gives you a rough example, and assume that you're already know your way with netgraph itself. I guess I need something more, hu, explainatory. Squigly --=20 Squigly squigly@xsmail.com --=20 http://www.fastmail.fm - Same, same, but different=85