From owner-freebsd-hackers Fri Oct 13 10:19:11 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA06377 for hackers-outgoing; Fri, 13 Oct 1995 10:19:11 -0700 Received: from mail1.digital.com (mail1.digital.com [204.123.2.50]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id KAA06371 for ; Fri, 13 Oct 1995 10:19:09 -0700 Received: from muggsy.lkg.dec.com by mail1.digital.com; (5.65 EXP 4/12/95 for V3.2/1.0/WV) id AA07813; Fri, 13 Oct 1995 10:05:14 -0700 Received: from whydos.lkg.dec.com by muggsy.lkg.dec.com (5.65/DEC-Ultrix/4.3) with SMTP id AA03448; Fri, 13 Oct 1995 13:05:11 -0400 Received: from localhost (localhost [127.0.0.1]) by whydos.lkg.dec.com (8.6.11/8.6.9) with SMTP id NAA23002; Fri, 13 Oct 1995 13:13:50 GMT Message-Id: <199510131313.NAA23002@whydos.lkg.dec.com> X-Authentication-Warning: whydos.lkg.dec.com: Host localhost didn't use HELO protocol To: davidg@root.com Cc: hackers@freebsd.org Subject: Re: if_detach() In-Reply-To: Your message of "Fri, 13 Oct 1995 09:37:30 MST." <199510131637.JAA00729@corbin.Root.COM> X-Mailer: exmh version 1.5omega 10/6/94 Date: Fri, 13 Oct 1995 13:13:44 +0000 From: Matt Thomas Sender: owner-hackers@freebsd.org Precedence: bulk In <199510131637.JAA00729@corbin.Root.COM>, David Greenman wrote: > >Is there such an animal done or planned? > > I think it will be written in the not-too-distant future. Several people > have expressed an interest in this...Poul-Henning, for instance, wants > something like that for hot-plug PCMCIA ethernet support. > It shouldn't be difficult to write. At the time, PRC_IFATTACHED and PRC_IFDETACHED should be added so that existing protocols can dynamically attach and detach themselves from the interface. pfctlinput(PRC_IFATTACHED, ifp); In a related issue, a pr_destroy could be added to the protosw structure to be used to release what pr_init acquired. Matt Thomas Internet: matt@lkg.dec.com 3am Software Foundry WWW URL: Westford, MA Disclaimer: Digital disavows all knowledge of this message