summaryrefslogtreecommitdiff
path: root/sys/net/hostcache.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1997-10-12 20:26:33 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1997-10-12 20:26:33 +0000
commita1c995b626fc56226f7c279f087b50769ff8df18 (patch)
tree26917801933240b41539e26bd8cb5dc27d8597a1 /sys/net/hostcache.c
parent175dffc0f66eae582032914b7ecddc666edd4e83 (diff)
Notes
Diffstat (limited to 'sys/net/hostcache.c')
-rw-r--r--sys/net/hostcache.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/hostcache.c b/sys/net/hostcache.c
index 761aa1f2bb1a..78f44084cfb1 100644
--- a/sys/net/hostcache.c
+++ b/sys/net/hostcache.c
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: hostcache.c,v 1.1 1997/06/18 01:24:21 wollman Exp $
*/
#include <sys/param.h>
@@ -38,6 +38,8 @@
#include <net/hostcache.h>
#include <net/route.h>
+MALLOC_DEFINE(M_HOSTCACHE, "hostcache", "per-host cache structure");
+
static struct hctable hctable[AF_MAX];
static int hc_timeout_interval = 120;
static int hc_maxidle = 1800;