aboutsummaryrefslogtreecommitdiff
path: root/sys/net/bpf.c
Commit message (Expand)AuthorAgeFilesLines
* Create release/8.0.0 for the 8.0-RELEASE.release/8.0.0_cvsKen Smith2009-11-211-1/+1
* MFC: r196150Jung-uk Kim2009-08-121-6/+12
* Merge the remainder of kern_vimage.c and vimage.h into vnet.c andRobert Watson2009-08-011-1/+1
* Implement the -z (zero counters) option for the various bpf counters.Christian S.J. Peron2009-06-191-1/+45
* Add explicit includes for jail.h to the files that need them andBjoern A. Zeeb2009-06-171-0/+1
* Adapt vfs kqfilter to the shared vnode lock used by zfs write vop. UseKonstantin Belousov2009-06-101-1/+1
* Move "options MAC" from opt_mac.h to opt_global.h, as it's now in GENERICRobert Watson2009-06-051-1/+0
* rev bpf attach/detach event api to include the dltSam Leffler2009-05-251-2/+2
* add bpf_track eventhandler for monitoring bpf taps attached/detachedSam Leffler2009-05-181-0/+4
* Change the curvnet variable from a global const struct vnet *,Marko Zec2009-05-051-2/+2
* Disable zerocopy by default for now. It's causing some problems in pcapChristian S.J. Peron2009-03-101-1/+1
* When resetting a BPF descriptor, properly check that zero-copy buffersRobert Watson2009-03-071-5/+11
* Mark the bpf stats sysctl as being mpsafe. We do not requireChristian S.J. Peron2009-03-071-1/+1
* Switch the default buffer mode in bpf(4) to zero-copy buffers.Christian S.J. Peron2009-03-021-1/+1
* Merge more of currently non-functional (i.e. resolving toMarko Zec2008-11-261-0/+7
* Retire the MALLOC and FREE macros. They are an abomination unto style(9).Dag-Erling Smørgrav2008-10-231-1/+1
* Make bpf_maxinsns visible from ng_bpf.c.Jung-uk Kim2008-08-291-1/+1
* Change bpf(4) to use the cdevpriv API.Ed Schouten2008-08-131-80/+62
* Annotate why we do not call BPF_CHECK_DIRECTION() in this tapping routine.Christian S.J. Peron2008-08-011-0/+6
* Allow injecting big packets via bpf(4) up to min(MTU, 16K-byte).Jung-uk Kim2008-07-141-3/+9
* Add a new ioctl for changing the read filter (BIOCSETFNR). This isDavid Malone2008-07-071-4/+8
* Make sure we are clearing the ZBUF_FLAG_IMMUTABLE any time a free bufferChristian S.J. Peron2008-07-051-0/+25
* Set D_TRACKCLOSE to avoid a race in devfs that could lead to orphaned bpfJohn Baldwin2008-05-091-0/+1
* Check packet directions more properly instead of just checking receivedJung-uk Kim2008-04-281-5/+5
* Revert the previous commit and use M_PROMISC flag instead.Jung-uk Kim2008-04-151-8/+17
* Remove M_SKIP_FIREWALL abuse and add more appropriate check.Jung-uk Kim2008-04-151-20/+11
* Maintain and observe a ZBUF_FLAG_IMMUTABLE flag on zero-copy BPFRobert Watson2008-04-071-10/+50
* Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT.Ruslan Ermilov2008-03-251-7/+4
* Check for a NULL free buffer pointer in BPF before invokingRobert Watson2008-03-251-1/+1
* Introduce support for zero-copy BPF buffering, which reduces theChristian S.J. Peron2008-03-241-109/+313
* In keeping with style(9)'s recommendations on macros, use a ';'Robert Watson2008-03-161-1/+1
* Add comment that bpfread() has multi-threading issues.Robert Watson2008-02-021-1/+4
* Use __FBSDID() in the kernel BPF implementation.Robert Watson2007-12-251-2/+3
* Remove trailing whitespace from lines in BPF.Robert Watson2007-12-231-3/+3
* Merge first in a series of TrustedBSD MAC Framework KPI changesRobert Watson2007-10-241-8/+8
* Make sure that we refresh the PID on read(2) and write(2) operations.Christian S.J. Peron2007-10-121-0/+2
* Check for multicast destination on bpf injected packets and update the M_*CASTAndrew Thompson2007-09-101-4/+19
* Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, whichRobert Watson2007-08-061-10/+2
* Replace references to NET_CALLOUT_MPSAFE with CALLOUT_MPSAFE, and removeRobert Watson2007-07-281-1/+1
* Silence some gcc 4 warnings. It is expected that the bpf_movein() routineChristian S.J. Peron2007-06-171-0/+2
* - Conditionally pickup Giant around the network interfaceChristian S.J. Peron2007-06-151-3/+4
* Add three new ioctl(2) commands for bpf(4).Jung-uk Kim2007-02-261-31/+88
* Remove slightly dubious comment; add descriptive strings for severalRobert Watson2007-01-281-5/+2
* Sweep kernel replacing suser(9) calls with priv(9) calls, assigningRobert Watson2006-11-061-1/+2
* Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.hRobert Watson2006-10-221-1/+2
* Since bpf_allocbufs() uses malloc() with M_WAITOK, don't check returnRobert Watson2006-08-091-16/+9
* add support for 802.11 packet injection via bpfSam Leffler2006-07-261-0/+31
* Rather than calling mircotime() in catchpacket(), make catchpacket()David Malone2006-07-241-6/+30
* Adjust descriptor locking to tell the kqueue subsystem that our descriptor isChristian S.J. Peron2006-07-031-3/+1
* Since we are doing some bpf(4) clean up, change a couple of function prototypesChristian S.J. Peron2006-06-151-142/+48