From owner-freebsd-hackers Tue Jan 16 14:23:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id 33ABA37B402 for ; Tue, 16 Jan 2001 14:23:28 -0800 (PST) Received: from kantoor.ripe.net (kantoor.ripe.net [193.0.1.98]) by birch.ripe.net (8.8.8/8.8.8) with ESMTP id XAA08892; Tue, 16 Jan 2001 23:23:26 +0100 (CET) Received: (from marks@localhost) by kantoor.ripe.net (8.8.8/8.8.5) id XAA09133; Tue, 16 Jan 2001 23:23:26 +0100 (CET) Date: Tue, 16 Jan 2001 23:23:26 +0100 From: Mark Santcroos To: Julian Elischer Cc: freebsd-hackers@freebsd.org Subject: Re: adding an address family Message-ID: <20010116232326.A6513@ripe.net> References: <20010116103212.C12906@ripe.net> <3A649154.B345C634@elischer.org> <20010116194307.A28087@ripe.net> <3A64B6C2.6D0ADF97@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <3A64B6C2.6D0ADF97@elischer.org>; from julian@elischer.org on Tue, Jan 16, 2001 at 01:01:54PM -0800 X-Handles: MS6-6BONE, MS32260-NIC, MS18417-RIPE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jan 16, 2001 at 01:01:54PM -0800, Julian Elischer wrote: > > Is this likely going to replace all the implementations of the current > > supported network protocols? > > > > In other words, is netgraph the right way to go for me, or should I rather > > focus on the more static part and drop the idea of implementing it as a > > kernel module? > > I don't know.. I don't know what you need :-) Hi, Ok I'm trying to make a port of the IrDA stack on Linux to FreeBSD. I've now written the driver for the chipset on my laptop, and I am ready with that to pass data to an upper layer. In Linux IrDA is handled as AF_IRDA, so in userland you create an AF_IRDA socket just as you would do with a normal TCP/IP stack and then you can commnunicate with other IrDA devices. I had two questions: 1. How can I dynamicly implement a new network protocol as a kernel module. The answer for that one seems to be Netgraph Following to that one I had another question: 2. Is Netgraph going to be the future in FreeBSD network stacks. Iaw, will tcp/ip be based on Netgraph in the future or will it just be a nice extension but not more. The reason I ask it is this: Is it wise to implement my protocol based on Netgraph (so I can do it as a kernel module), or should I just build it into the kernel? I know; A lot of questions, but I sure need the help :-) (And wouldn't it be cool if we would have IrDA support?) Mark -- Mark Santcroos RIPE Network Coordination Centre PGP KeyID: 1024/0x3DCBEB8D PGP Fingerprint: BB1E D037 F29D 4B40 0B26 F152 795F FCAB 3DCB EB8D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message