summaryrefslogtreecommitdiff
path: root/sys/net/bpf.c
AgeCommit message (Expand)Author
2023-02-08bpf.c: support loopback writes when BIOCSHDRCMPLT is setgutteridge
2023-02-07bpf.c: fix a few typos and grammatical issues in commentsgutteridge
2022-11-30bpf: support sending packets on loopback interfacesozaki-r
2022-11-19bpf: refresh bd_pid in a few more places as wellyamt
2022-09-03bpf(4): Reject bogus timeout values before arithmetic overflows.riastradh
2022-03-15bpf(4): Handle null bf_insn on free.riastradh
2022-03-12bpf(4): Nix KM_NOSLEEP and prune dead branch.riastradh
2022-03-12bpf(4): Clamp read timeout to INT_MAX ticks to avoid overflow.riastradh
2021-09-26Change the kqueue filterops::f_isfd field to filterops::f_flags, andthorpej
2021-09-16fix typos in word "successful".andvar
2021-07-14unset IFF_PROMISC at bpf_detach()yamaguchi
2021-06-09Add a bpf_register_track_event() function (and deregister equivalent)martin
2020-12-18Use sel{record,remove}_knote().thorpej
2020-08-02Use a more informative panic message.maxv
2020-06-11bpf(4): Add ioctls BIOCSETWF and BIOCLOCKroy
2020-03-16Use the module subsystem's ability to process SYSCTL_SETUP() entries topgoyette
2020-02-07Use percpu_foreach_xcall() to gather volatile per-cpu counters. Thesethorpej
2020-02-01Fix wrong memory order and switch bpf to atomic_load/store_*.riastradh
2020-01-19Stop including strip.h (it's no longer generated).thorpej
2019-11-29bpf can send a packet greater than MCLBYTES (JumboFrame) using multiple mbuf.ryo
2019-09-13As I suspected, the KASSERT I added yesterday can fire if we try to processmaxv
2019-09-12Add KASSERT to catch bugs. Something tells me it could easily fire.maxv
2019-07-10Fix info leak: use kmem_zalloc, because we align the buffers, and themaxv
2018-09-03Rename min/max -> uimin/uimax for better honesty.riastradh
2018-07-25 Initialize some members in a mbuf which is on stack.msaitoh
2018-06-26 Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backwardmsaitoh
2018-06-25 Removal of bpf_tap().msaitoh
2018-05-14Protect packet input routines with KERNEL_LOCK and splsoftnetozaki-r
2018-01-25Abandon unnecessary softintozaki-r
2017-12-15Make softint and callout MP-safeozaki-r
2017-12-12Fix panic in callout_halt (fix typo)ozaki-r
2017-11-30add fo_name so we can identify the fileops in a simple way.christos
2017-11-17Provide macros for softnet_lock and KERNEL_LOCK hiding NET_MPSAFE switchozaki-r
2017-10-25Use C99 initializer for filteropsmaya
2017-10-19Turn on D_MPSAFE flag of bpf_cdevsw that is already MP-safeozaki-r
2017-02-20Reinit a pslist entry before inserting it to a pslist againozaki-r
2017-02-19typochristos
2017-02-13Update comments to reflect bpf MP-ificationozaki-r
2017-02-09Make bpf MP-safeozaki-r
2017-02-01Reduce return pointsozaki-r
2017-02-01Kill tsleep/wakeup and use cvozaki-r
2017-02-01Make bpf_gstats percpuozaki-r
2017-02-01Use pslist(9) instead of queue(9) for psz/psrefozaki-r
2017-02-01Use kmem(9) instead of malloc/freeozaki-r
2017-02-01Make global variables staticozaki-r
2017-01-25Use bpf_ops for bpf_mtap_softintozaki-r
2017-01-24Defer bpf_mtap in Rx interrupt context to softintozaki-r
2017-01-23Make bpf_setf staticozaki-r
2016-07-19Fix regression introduced in tests/net/bpf and tests/net/bpfilterpgoyette
2016-07-17Now that we're only calling devsw_attach() in the modular driver, itpgoyette