summaryrefslogtreecommitdiff
path: root/sys/net/bpf.c
AgeCommit message (Expand)Author
2005-11-03re-implement the bpf "filter drop" option that it actually works. theReyk Floeter
2005-07-31Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chainChristopher Pascoe
2005-04-20send raw 802.11 frames with bpf(4) using the IEEE802_11 orReyk Floeter
2005-04-20the linktype (DLT) should always be of type u_int.Reyk Floeter
2005-01-07add support for BIOCGDLTLIST and BIOCSDLT, see bpf(4)Reyk Floeter
2004-12-17knf cleanup, convert old k&r-style functions to ansi-style for aReyk Floeter
2004-10-09sizeof(struct ether_header) -> ETHER_HDR_LENBrad Smith
2004-09-23- remove EVFILT_WRITE in bpfkqfilter() switch case, handledBrad Smith
2004-09-12Return the most common data link type instead of the first match for anClaudio Jeker
2004-06-22Unbreak previous commit ok markus@Can Erkin Acar
2004-06-22Add a new "filter drop" flag to bpf and related ioclts.Can Erkin Acar
2004-06-21move the IFF_UP check to bpfwrite; ok canacar@Markus Friedl
2004-05-31remove the broken auto-append-'0' code; ok canacar, deraadt, thierryMarkus Friedl
2004-05-28bpf device cloning.Alexander Yurchenko
2004-05-25Return buffered packets when reading from a bpf descriptor and theCan Erkin Acar
2004-05-08reference count bpf descriptors to protect against disappearing interfacesCan Erkin Acar
2004-02-24sysctl knob for bpf tunables. some tips from canacar@Ted Unangst
2004-02-06as seen in netbsd. crank bpf sizes to adapt to faster networks.Ted Unangst
2003-12-10de-register. deraadt okJun-ichiro itojun Hagino
2003-10-24Fix write filter blocking when no filter was set. FixesCan Erkin Acar
2003-10-22Add locking and write filtering to bpf descriptors.Can Erkin Acar
2003-10-04bpf support for atm cards; from jason@ackley.netTheo de Raadt
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
2003-07-29avoid stack smash on FDDI case. found by kernel propolice.Jun-ichiro itojun Hagino
2003-06-18Do not panic on no memory available when allocating bufs, pass ENOBUFSHenning Brauer
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-01When using bpf(4) in immediate mode, and using kevent(2) to receiveArtur Grabowski
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 portab...Theo de Raadt
2001-09-15Revert the sleep priority to something more saneMike Frantzen
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 sour...Dug Song
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
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
2000-03-23Remove code from the stone age.Artur Grabowski
2000-02-19set interface fields to null when detaching substructuresNiklas Hallqvist
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
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
1997-09-05make bpfread return ENXIO if a read is attempted on an uninitializedTheo de Raadt