Date: Tue, 16 Jan 2001 10:22:12 -0800 From: Julian Elischer <julian@elischer.org> To: Mark Santcroos <marks@ripe.net> Cc: freebsd-hackers@freebsd.org Subject: Re: adding an address family Message-ID: <3A649154.B345C634@elischer.org> References: <20010116103212.C12906@ripe.net>
index | next in thread | previous in thread | raw e-mail
Mark Santcroos wrote:
>
> Hi,
>
> I wonder if it is possible to dynamicly add an address family from a
> kernel module.
>
> I ask this because I am working on IrDA support for FreeBSD. I want to
> create AF_IRDA and all the corresponding structures and functions.
>
> So would it be possible to add another network stack at runtime or is the
> code not ready for that?
we do this in ng_socket.c where we add our own protocol.
we even export the number of the protocol and domain to userland with sysctls
so one COULD run a program which doesn't know in advance what the
protocol and domain numbers are..
>
> Thanks
>
> 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
--
__--_|\ Julian Elischer
/ \ julian@elischer.org
( OZ ) World tour 2000
---> X_.---._/ from Perth, presently in: Budapest
v
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A649154.B345C634>
