Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2001 23:23:26 +0100
From:      Mark Santcroos <marks@ripe.net>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: adding an address family
Message-ID:  <20010116232326.A6513@ripe.net>
In-Reply-To: <3A64B6C2.6D0ADF97@elischer.org>; from julian@elischer.org on Tue, Jan 16, 2001 at 01:01:54PM -0800
References:  <20010116103212.C12906@ripe.net> <3A649154.B345C634@elischer.org> <20010116194307.A28087@ripe.net> <3A64B6C2.6D0ADF97@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010116232326.A6513>