Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2000 13:29:57 +0700 (NOVST)
From:      Nickolay Dudorov <nnd@mail.nsk.ru>
To:        net@freebsd.org
Subject:   Re: NETGRAPH in GENERIC?
Message-ID:  <200004230629.NAA70599@wint.itfs.nsk.su>
In-Reply-To: <200004230144.SAA17203@bubba.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In <200004230144.SAA17203@bubba.whistle.com> Archie Cobbs <archie@whistle.com> wrote:
> There are two possible resolutions to this situation..
> 
> 1. Extract the netgraph code out of net/if_ethersubr.c and build a
>    separate ng_ether.ko netgraph KLD.  Add hooks in net/if_ethersubr.c
>    to call the netgraph stuff through function pointers that get
>    set by the KLD when it loads.. similar to the way ipfw.ko works.
> 
> 2. Always compile the base netgraph.ko module into the kernel
> 
> Option #1 would be best because option #2, even though the base
> netgraph code is small, would be bad for things like PicoBSD.
> Maybe I'll work on #1.. it shouldn't be too hard.

	It seems to me that the best solution will be #2 plus
kernel config option to DISABLE compiling netgraph in.

	N.Dudorov 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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