Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 1995 13:13:44 +0000
From:      Matt Thomas <matt@lkg.dec.com>
To:        davidg@root.com
Cc:        hackers@freebsd.org
Subject:   Re: if_detach() 
Message-ID:  <199510131313.NAA23002@whydos.lkg.dec.com>
In-Reply-To: Your message of "Fri, 13 Oct 1995 09:37:30 MST." <199510131637.JAA00729@corbin.Root.COM> 

next in thread | previous in thread | raw e-mail | index | archive | help

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:    <currently homeless>
Westford, MA              Disclaimer: Digital disavows all knowledge
                                      of this message




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