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.)
This commit is contained in:
parent
e58cf6b359
commit
fb020850a0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue