christos
4e83c41d47
Use cloning bpf.
2004-12-01 23:15:08 +00:00
darrenr
9cfabb6d83
With recent changes to BPF, pushing the default buffer size to 1MB, running
...
a bunch of small daemons that seem small packet flows can easily chew up
significant kernel memory (each BPF device opened takes 2*buffersize of
wired memory.) In each of these applications, add code to set the buffer
size to 32k before setting the interface.
2004-04-10 17:53:05 +00:00
christos
1b89cfc426
PR/3343: Jonathan Stone: Errors and warnings to stderr if interactive
2003-04-20 00:17:22 +00:00
itojun
284e9bd2d0
string manipulation fixes. from openbsd
2002-08-22 07:18:42 +00:00
itojun
f0b3ac6a24
use snprintf. inspired by openbsd change
2002-07-13 11:35:35 +00:00
thorpej
ef01a91b0a
Display a more meaningful error message if the bpf open fails.
1998-05-24 20:30:55 +00:00
lukem
334438cb6a
- WARNsify
...
- KNFify (a bit)
- use int32_t & u_int32_t instead of long and u_long
- clean up man pages a bit
1997-10-16 23:24:50 +00:00
thorpej
fba7d611d2
RCS id police.
1997-03-25 03:06:58 +00:00
veego
e4df1b6897
s/if_ether.h/if_inarp.h/
1997-03-17 10:39:53 +00:00
cjs
8673e0be2e
Import of Mats O Jansson's MOP boot program for DEC machines.
1997-03-16 22:23:34 +00:00