Commit Graph

9 Commits

Author SHA1 Message Date
christos 9ab78e153b use /dev/bpf 2004-12-01 23:45:12 +00:00
perry 808ab1197e Use packet length from IP header instead of packet length from BPF
header.
Patches given to me by Ted Lemon.
This avoids using potentially garbage data returned if the ethernet
driver returns a packet that's too long.
2004-10-22 05:22:39 +00:00
darrenr 221fa57241 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
drochner b6ae80da0f merge dhcp-3.0.1rc11 2003-02-18 17:08:38 +00:00
drochner c12aee07f2 merge dhcp-3.0.1rc9 2002-06-11 13:59:59 +00:00
itojun 5b43820fcf WARNS=1 clean. patch submitted to dhcp-bugs@isc.org. 2002-06-10 00:30:33 +00:00
eeh c994f996ff Fix LP64 bug. 2001-08-24 15:28:47 +00:00
drochner e0c9112eff pull in code patches from usr.sbin/dhcp 2001-08-03 13:07:03 +00:00
drochner bd5592e542 import of ISC dhcp-3.0rc10 2001-08-03 11:35:28 +00:00