Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 1998 22:58:00 -0700
From:      Warner Losh <imp@village.org>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: How do I ... 
Message-ID:  <199812290558.WAA23091@harmony.village.org>
In-Reply-To: Your message of "Tue, 29 Dec 1998 13:53:28 %2B0800." <199812290553.NAA70876@spinner.netplex.com.au> 
References:  <199812290553.NAA70876@spinner.netplex.com.au>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199812290553.NAA70876@spinner.netplex.com.au> Peter Wemm writes:
: The catch is that the driver in question has to support unloading.  All the
: existing network interfaces are pseudo-modules and only have a load
: routine.  Obviously this requires a fair amount of work to detach a network
: interface from the stack (including cleaning up routing tables, pcbs,
: queued data, etc) - nobody has done this yet as far as I'm aware.  I
: suspect there is a fair amount of infrastructure required to implement
: this.

I suspect that you are right.  I've been looking at all of the
existing drivers (since I'm writing a new one), and have found they
all cheat and use the compatibility cruft.  And even if they didn't
cheat, they would have a heck of a time untangling things.

I suspect that you are right.  I had hoped to get away from
understanding those internals.  It may make sense to have a "if_dead"
that is similar to deadfs where all "orphaned" interfaces go when they
die.  Hmmm, I'll have to look at this more closely....

Warner


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



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