From owner-cvs-all Mon Jan 29 3: 6:54 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 36D3737B400; Mon, 29 Jan 2001 03:06:33 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TB6XC39698; Mon, 29 Jan 2001 03:06:33 -0800 (PST) (envelope-from peter) Message-Id: <200101291106.f0TB6XC39698@freefall.freebsd.org> From: Peter Wemm Date: Mon, 29 Jan 2001 03:06:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_loop.c if_var.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Revision Changes Path 1.54 +79 -17 src/sys/net/if_loop.c 1.30 +2 -2 src/sys/net/if_var.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message