From owner-cvs-all Mon Jan 29 21:58:18 2001 Delivered-To: cvs-all@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 8AC2B37B400; Mon, 29 Jan 2001 21:57:56 -0800 (PST) Received: from curve.dellroad.org (curve.dellroad.org [10.1.1.30]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id VAA92035; Mon, 29 Jan 2001 21:57:56 -0800 (PST) Received: (from archie@localhost) by curve.dellroad.org (8.9.3/8.9.3) id VAA22502; Mon, 29 Jan 2001 21:57:55 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200101300557.VAA22502@curve.dellroad.org> Subject: Re: cvs commit: src/sys/net if_loop.c if_var.h In-Reply-To: <3A75602F.999E938B@elischer.org> "from Julian Elischer at Jan 29, 2001 04:21:03 am" To: Julian Elischer Date: Mon, 29 Jan 2001 21:57:55 -0800 (PST) Cc: Peter Wemm , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian Elischer writes: > > Modified files: > > sys/net if_loop.c if_var.h > > Log: > > Make the number of loopback interfaces dynamically tunable. Why one > > would *want* to is a different story, but it used to be able to be done > > statically. Get rid of #include "loop.h" and struct ifnet loif[NLOOP]; > > This could be used as an example of how to do this in other drivers, > > for example: ccd. > > The interjet has 2 loopback interface.. > I can't remember why,.... but there was a good reason... > archie? We wanted the public-side (exterior of the firewall) FTP and HTTP servers to be visible (i.e., be able to bind to the public IP address) even when the WAN link was disabled. So we had to configure that address on lo1 instead of tun0 (or whatever). -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message