summaryrefslogtreecommitdiffstats
path: root/sys/net/if_mpe.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-03-18 00:05:52 +0000
committerdlg <dlg@openbsd.org>2019-03-18 00:05:52 +0000
commit6283794b95bbbdf75344e5036c1fdcb940270357 (patch)
tree9b44564cca7f2267588f3de6a374a009ee1441c1 /sys/net/if_mpe.c
parentexplicitly use BPF_FILDROP_CAPTURE when configuring BIOCSFILDROP (diff)
downloadwireguard-openbsd-6283794b95bbbdf75344e5036c1fdcb940270357.tar.xz
wireguard-openbsd-6283794b95bbbdf75344e5036c1fdcb940270357.zip
extend BIOCSFILDROP so it can be configured to not capture packets.
BIOCSFILDROP was already able to be used as a quick and dirty firewall, which is especially useful when you you want to filter non-ip things. however, capturing the packets you're dropping is a lot of overhead when you just want to drop stuff. this extends fildrop so you can tell bpf not to capture the packets it drops. ok sthen@ mikeb@ claudio@ visa@
Diffstat (limited to 'sys/net/if_mpe.c')
0 files changed, 0 insertions, 0 deletions