summaryrefslogtreecommitdiff
path: root/sys/net/bpf.c
AgeCommit message (Expand)Author
2013-12-24rearrange/correct timeout conditionals to work better.Ted Unangst
2013-11-29panics still being reported. send bpf.c back to 1.85Ted Unangst
2013-11-17speelingDavid Gwynne
2013-11-15calculate the line in the sand before comparing it to ticks, which looksDavid Gwynne
2013-11-12try bpf.c r1.84 again, this time without semantic changes to if statements.David Gwynne
2013-11-11Revert bpf.c 1.84 / bpfdesc.h 1.19 for now, "panic: timeout_add: to_ticks (-1)Stuart Henderson
2013-11-11replace the user of ticks in a condition like "interval + start < ticks"David Gwynne
2012-12-28change the malloc(9) flags from M_DONTWAIT to M_NOWAIT; OK millert@Gleydson Soares
2012-12-21Rather than calling mircotime in bpf_catchpacket each time it's calledMike Belopuhov
2012-12-21bpf allocates packet buffers in the ioctl path and can sleepMike Belopuhov
2012-04-14Use DLT_LOOP for all tunneling interfaces.YASUOKA Masahiko
2012-01-16bpf devices behave similar to raw sockets and never block on write,Philip Guenthe
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
2011-01-04in bpf_movein(), range-check mbuf size against MCLBYTES beforeTheo de Raadt
2010-09-21pflog overhaulHenning Brauer
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2009-10-26Set the rdomain in bpfwrite() to the interface rdomain so that bpf senderClaudio Jeker
2009-09-21Properly reference count bpf descriptors when using kqueue.Can Erkin Acar
2009-09-07de-inline a function which gains absolutely no benefit at all from itTheo de Raadt
2008-11-26dont have bpf.h expose the kernel ticks variable wherever it is includeing.David Gwynne
2008-11-09Introduce bpf_mtap_ether(), which for the benefit of bpf listenersChristian Weisgerber
2008-09-17remove dead stores and newly created unused variables.Charles Longeau
2008-01-25Prevent USB network devices to generate a page fault trap when detachedMarcus Glocker
2007-09-15malloc sweep:Henning Brauer
2007-07-25Back out the tracking of procs in struct selinfo. There's one seriousArtur Grabowski
2007-03-24Kill the horrible hack of storing the pid in struct selinfo.Artur Grabowski
2007-03-04Make sure a bpf device can only be opened once.Can Erkin Acar
2006-07-18get rid of arc network support. we have no users of it so this is deadDavid Gwynne
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
2006-03-04With the exception of two other small uncommited diffs this movesBrad Smith
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