From fb020850a0ac5b6b7e2af74d4b5f54a23057bfde Mon Sep 17 00:00:00 2001 From: jonathan Date: Thu, 5 Nov 1998 22:50:15 +0000 Subject: [PATCH] Increase compiled-in default bpf buffer size from 4096 to 8192. (the libpcap API provides no way to resize the inkernel buffe,r and 4096 is too small to capture maximum-sized FDDI frames.) --- sys/net/bpf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/bpf.c b/sys/net/bpf.c index b4055e711136..29c9584a7cf1 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -1,4 +1,4 @@ -/* $NetBSD: bpf.c,v 1.44 1998/08/18 06:32:13 thorpej Exp $ */ +/* $NetBSD: bpf.c,v 1.45 1998/11/05 22:50:15 jonathan Exp $ */ /* * Copyright (c) 1990, 1991, 1993 @@ -89,7 +89,7 @@ static caddr_t bpf_alloc(); #define BPF_BUFSIZE (MCLBYTES-8) #define UIOMOVE(cp, len, code, uio) uiomove(cp, len, code, uio) #else -#define BPF_BUFSIZE 4096 +#define BPF_BUFSIZE 8192 /* 4096 too small for FDDI frames */ #define UIOMOVE(cp, len, code, uio) uiomove(cp, len, uio) #endif