Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 1995 14:13:17 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        matt@lkg.dec.com (Matt Thomas)
Cc:        davidg@root.com, hackers@FreeBSD.ORG
Subject:   Re: if_detach()
Message-ID:  <199510132113.OAA18242@phaeton.artisoft.com>
In-Reply-To: <199510131313.NAA23002@whydos.lkg.dec.com> from "Matt Thomas" at Oct 13, 95 01:13:44 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

Yes.  The init and deinit routines should not be at the same interface
level, even though this complicates the mode;'s layering, it vastly
simplifies implementation for the framework and for the driver writers.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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