From owner-freebsd-net@FreeBSD.ORG Thu Dec 29 16:09:07 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 150EC16A420 for ; Thu, 29 Dec 2005 16:09:07 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABB0543D83 for ; Thu, 29 Dec 2005 16:08:57 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 7BE045D62; Thu, 29 Dec 2005 11:08:53 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48741-03; Thu, 29 Dec 2005 11:08:52 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 45AFF5C8B; Thu, 29 Dec 2005 11:08:52 -0500 (EST) Message-ID: <43B40A23.7080502@mac.com> Date: Thu, 29 Dec 2005 11:09:07 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Squigly References: <1135871527.31733.250727230@webmail.messagingengine.com> In-Reply-To: <1135871527.31733.250727230@webmail.messagingengine.com> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com 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:09:07 -0000 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). > > Problem is, I can't seem to find anything regarding the development > process of a netgraph module. > > 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. Does the following give you a starting point: cd /usr/src/sys/netgraph less NOTES ng_sample.[hc] -- -Chuck