From owner-freebsd-hackers Tue Jan 16 10:24:32 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 8165337B699 for ; Tue, 16 Jan 2001 10:24:11 -0800 (PST) Received: from marakesh-50.budapest.interware.hu ([195.70.50.178] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 14Iam8-0007hN-00; Tue, 16 Jan 2001 19:24:09 +0100 Message-ID: <3A649154.B345C634@elischer.org> Date: Tue, 16 Jan 2001 10:22:12 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Mark Santcroos Cc: freebsd-hackers@freebsd.org Subject: Re: adding an address family References: <20010116103212.C12906@ripe.net> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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