summaryrefslogtreecommitdiff
path: root/sys/net/bpf.c
AgeCommit message (Collapse)Author
2002-06-06kqueue support for bpf; okay markus@Niels Provos
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2001-10-02change timeval to bpf_timeval; 32 bit in size, permitting much greater ↵Theo de Raadt
portability
2001-09-15Revert the sleep priority to something more saneMike Frantzen
(the previous priority didn't help performance in tests on a hacked up BPF and it weighed down the load average)
2001-06-08Move ifpromisc() from bpf.c to if.c, include cleanup.Angelos D. Keromytis
2001-05-28add BIOC[GS]HDRCMPLT ioctl for BPF, to disable overwriting of link level ↵Dug Song
source address in forged frames. from NetBSD. art@ok
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-04-04check for return value of ENODEV from ifpromisc(). This will happenJason Wright
at detach time when if_detach_ioctl() has been installed for an outgoing interface and does not represent an error.
2001-03-25Don't set pbp to point to free memory. Thanks to Dawson Engler and teamConstantine Sapuntzakis
2001-03-13allow configuring number of these in ukcMichael Shalayeff
2000-06-19de-#ifdef-izeJason Wright
2000-06-08Add explicit inclusions of signalvar.h to files actually using syms definedNiklas Hallqvist
there but relying on an indirect inclusion
2000-03-23Remove code from the stone age.Artur Grabowski
2000-02-19set interface fields to null when detaching substructuresNiklas Hallqvist
in preparation for softc retainment.
1999-08-10code we do not use, had a typo; sirsyko@temp.ishiboo.comTheo de Raadt
1999-08-08Support detaching of network interfaces. Still work to do in ipf, andNiklas Hallqvist
other families than inet.
1999-05-26Implement DLT_RAW, DLT_{SLIP,PPP}_BSDOS from libpcap 0.4Brad Smith
1999-04-22we don't need to include buf.hArtur Grabowski
1998-11-12crank BPF_BUFSIZE so that fddi frames fitTheo de Raadt
1998-06-26fix bpf select(); from mts@rare.netTheo de Raadt
1997-09-30Check for NULL argument in bpf_mtap(). Some ethernet driversTodd C. Miller
can call this with a NULL pointer, resulting in a panic. Matthias Scheler <tron@lyssa.owl.de>
1997-09-05make bpfread return ENXIO if a read is attempted on an uninitializedTheo de Raadt
descriptor; newsham@secnet.com
1997-08-31for non-tty TIOCSPGRP/F_SETOWN/FIOSETOWN pgid setting calls, store uidTheo de Raadt
and euid as well, then deliver them using new csignal() interface which ensures that pgid setting process is permitted to signal the pgid process(es). Thanks to newsham@aloha.net for extensive help and discussion.
1997-03-17Removed static specifiers. Align bpf headers on sizeof(long) boundariesNiklas Hallqvist
as it begins with a timeval struct. This fixes the alpha bpf panics. Removed double prototypes. Reordered includes. The last change came from NetBSD. Updated $NetBSD$ tags. Slight KNF too.
1997-02-12mark descriptors free in bpfilterattach() instead of bpfattach(); clearlyTheo de Raadt
must not re-marking them when new interfaces are added while one or more bpf channels are in use; my fix to netbsd pr#3189, Jean-Luc.Richier@imag.fr
1997-01-27select subsystem si_pid becomes si_selpid, to not conflict against ↵Theo de Raadt
user/kernel siginfo si_pid #define
1996-12-07avoid race, avoid mbuf leakTheo de Raadt
1996-06-18bpf BIOCSRTIMEOUT can round tv_usec down to zero & block; netbsd pr#2531; ↵Theo de Raadt
jhawk@mit.edu
1996-05-10if_name/if_unit -> if_xname/if_softcTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt