aboutsummaryrefslogtreecommitdiff
path: root/sys/net/bpf.c
Commit message (Expand)AuthorAgeFilesLines
* net: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-2/+0
* To avoid a startup script race change net.bpf.optimize_writers fromTycho Nightingale2020-06-231-1/+1
* Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)Pawel Biernacki2020-02-261-1/+2
* Introduce NET_EPOCH_CALL() macro and use it everywhere where we freeGleb Smirnoff2020-01-151-7/+6
* Add an external mbuf buffer type that holds multiple unmapped pages.John Baldwin2019-06-291-0/+1
* Rework r348303 to reduce the time of holding global BPF lock.Andrey V. Elsukov2019-05-281-7/+7
* Fix possible NULL pointer dereference.Andrey V. Elsukov2019-05-271-2/+7
* Restructure mbuf send tags to provide stronger guarantees.John Baldwin2019-05-241-2/+2
* Extract eventfilter declarations to sys/_eventfilter.hConrad Meyer2019-05-201-3/+5
* Avoid possible recursion on BPF_LOCK() in bpfwrite().Andrey V. Elsukov2019-05-131-1/+4
* Do not leak memory used for binary filter.Andrey V. Elsukov2019-05-131-0/+6
* Rework locking in BPF code to remove rwlock from fast path.Andrey V. Elsukov2019-05-131-368/+364
* Convert allocation of bpf_if in bpfattach2 from M_NOWAIT to M_WAITOKAndrey V. Elsukov2019-03-191-7/+5
* Use the new VNET_DEFINE_STATIC macro when we are defining static VNETAndrew Turner2018-07-241-1/+1
* Move BPFIF_* macro definitions into .c file, where struct bpf_if isAndrey V. Elsukov2018-06-191-0/+5
* Fix a memory leak for the BIOCSETWF ioctl on kernels with the BPF_JITTERJonathan T. Looney2018-06-111-2/+7
* Use dead_bpf_if instead of bp_null.Mark Johnston2018-04-241-3/+3
* Add dead_bpf_if structure, that should be used as fake bpf_ifAndrey V. Elsukov2018-04-201-1/+5
* Make BPF global lock an SXStephen Hurd2018-04-101-2/+5
* Move most of the contents of opt_compat.h to opt_global.h.Brooks Davis2018-04-061-1/+0
* Use count(9) api for the bpf(4) statistics.Alexander V. Chernikov2018-03-201-39/+56
* BPF: Switch to 32 bit compatible mode only when thread is 32 bitWojciech Macek2018-01-251-3/+6
* kernel: Fix several typos and minor errorsEitan Adler2017-12-271-1/+1
* sys: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* bpf: Fix incorrect cleanupKristof Provost2017-08-161-7/+3
* Update comments and simplify conditionals for compat32Justin Hibbits2017-06-271-6/+6
* Solve the y2038 problem for powerpcJustin Hibbits2017-06-261-6/+6
* Ignore ifnet renaming in the bpf ifnet departure handler.Andrey V. Elsukov2017-03-131-0/+4
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Hide the boottime and bootimebin globals, provide the getboottime(9)Konstantin Belousov2016-07-271-1/+2
* sys: use our roundup2/rounddown2() macros when param.h is available.Pedro F. Giffuni2016-04-211-1/+1
* bpf_getdltlist: Don't overrun 'lst'Conrad Meyer2016-04-201-1/+1
* During if_vmove() we call if_detach_internal() which in turn calls the eventBjoern A. Zeeb2016-04-111-0/+62
* In bpf_getdltlist(), do not call copyout(9) while holding bpf lock.Konstantin Belousov2016-02-241-7/+25
* Implement interface link header precomputation API.Alexander V. Chernikov2015-12-311-5/+19
* If bootverbose is enabled every vnet startup and virtual interfaceBjoern A. Zeeb2015-12-221-1/+1
* Remove the mtx_sleep() from the kqueue f_event filter.Luiz Otavio O Souza2015-08-031-4/+4
* Add a KASSERT() to make sure we wont rotate the buffers twice (rotate theLuiz Otavio O Souza2015-08-031-0/+1
* Remove two unnecessary sleeps from the hot path in bpf(4).Luiz Otavio O Souza2015-07-311-8/+2
* Do not allocate the buffers at opening of the descriptor, because onceLuiz Otavio O Souza2015-07-311-13/+30
* Move the definition of struct bpf_if to bpf.c.Mark Johnston2015-04-201-3/+16
* Activate write-only optimization if bpf device opened with O_WRONLY.Alexander Motin2015-04-201-1/+3
* Eliminate SIOCGIFADDR handling in bpf.Alexander V. Chernikov2015-01-161-14/+0
* Remove SYSCTL_VNET_* macros, and simply put CTLFLAG_VNET where needed.Gleb Smirnoff2014-11-071-2/+2
* The SYSCTL data pointers can come from userspace and must not beHans Petter Selasky2014-10-281-5/+8
* Improve logic besides net.bpf.optimize_writers.Alexander V. Chernikov2014-06-111-12/+63
* Convert the random entropy harvesting code to use a const void * pointerAdrian Chadd2013-11-011-1/+1
* The r48589 promised to remove implicit inclusion of if_var.h soon. PrepareGleb Smirnoff2013-10-261-0/+1
* While waiting for the bpf hold buffer to become idle, checkGuy Helmer2013-05-231-2/+7
* Functions m_getm2() and m_get2() have different order of arguments,Gleb Smirnoff2013-03-121-1/+1