From owner-cvs-all Mon Jan 29 4:24:40 2001 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id 480B537B400; Mon, 29 Jan 2001 04:24:17 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id f0TCOIK20686; Mon, 29 Jan 2001 13:24:18 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Julian Elischer Cc: Peter Wemm , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_loop.c if_var.h In-Reply-To: Your message of "Mon, 29 Jan 2001 04:21:03 PST." <3A75602F.999E938B@elischer.org> Date: Mon, 29 Jan 2001 13:24:18 +0100 Message-ID: <20684.980771058@critter> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3A75602F.999E938B@elischer.org>, Julian Elischer writes: >Peter Wemm wrote: >> >> peter 2001/01/29 03:06:32 PST >> >> 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? BGP, OSPF and others like to have a stable IP# for the router-id, putting that on a loopback interface is as close as you get to an interface which is always "up". -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message