Subject: Re: Cardbus
To: Warner Losh <>
From: Lennart Augustsson <>
List: tech-kern
Date: 12/21/1999 09:42:51
Warner Losh wrote:

> In message <> Lennart Augustsson writes:
> : Speaking of detaching network card.  Is anyone working on this?
> : I guess I can borrow the code from OpenBSD to do it, because
> : I want to be able to switch network cards.
> You might want to check out FreeBSD's if_detach.  It works fairly
> well, if you don't have ipv6.
> The current if_detach works if you don't have ipv6, but does have
> knowledge that it really shouldn't.  I'm working on a more generic way
> to do this that doesn't pollute if.c with knowledge about specific
> types of address families.  It works, but could be improved somewhat.
> It allows me to remove cards network cards w/o random things
> hanging/crashing due to random address deferencing.

Does it allow you to have, say, an open TCP connection, unplug one card,
plug in another (with a different IP number) and continue using the connection?


        -- Lennart