From owner-freebsd-hackers Fri Feb 4 16:58:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by builder.freebsd.org (Postfix) with ESMTP id DBAB74389 for ; Fri, 4 Feb 2000 16:58:12 -0800 (PST) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id QAA16411; Fri, 4 Feb 2000 16:58:00 -0800 (PST) From: Archie Cobbs Message-Id: <200002050058.QAA16411@bubba.whistle.com> Subject: Re: Removing interfaces In-Reply-To: <200002030534.WAA10257@harmony.village.org> from Warner Losh at "Feb 2, 2000 10:34:04 pm" To: imp@village.org (Warner Losh) Date: Fri, 4 Feb 2000 16:58:00 -0800 (PST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh writes: > : With all the PCMCIA card stuff going on, is it now possible to > : remove a networking interface in FreeBSD (from within the kernel)? > : > : If so could someone show me an example how. I'd like to implement > : this in the ng_iface(8) netgraph node type. > > if_detach() is supposed to do this, but there are theoretical problems > with our implementation of it. Also, there needs to be some way to > propigate the "gone"ness of the interface generically rather than the > ad-hoc way we do it now. Thanks, that works great (so far :-) -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message