From owner-freebsd-net Wed Jul 24 6:32:44 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E04637B400 for ; Wed, 24 Jul 2002 06:32:42 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 608E143E42 for ; Wed, 24 Jul 2002 06:32:41 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id XAA00424; Wed, 24 Jul 2002 23:32:36 +1000 Date: Wed, 24 Jul 2002 23:36:50 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Brooks Davis Cc: net@FreeBSD.ORG Subject: Re: ppp(4) cloning review request In-Reply-To: <20020723225859.A20811@Odin.AC.HMC.Edu> Message-ID: <20020724232548.W33495-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 23 Jul 2002, Brooks Davis wrote: > I have attached a patch which adds cloning and unloading support to the > ppp(4) kernel PPP device. I would like to commit it in the next few > days. Please review. > ... > - The unload is a bit ugly because line disciplines don't really > appear to be meant to be unhooked. There is ldisc_deregister(). Using it might require using ldisc_register() instead of rudely hacking on linesw[]. if_sl.c also has rude hacks, but there are examples of using these interfaces in snp and netgraph. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message