diff options
author | 2019-03-18 00:05:52 +0000 | |
---|---|---|
committer | 2019-03-18 00:05:52 +0000 | |
commit | 6283794b95bbbdf75344e5036c1fdcb940270357 (patch) | |
tree | 9b44564cca7f2267588f3de6a374a009ee1441c1 /sys/net/if_mpe.c | |
parent | explicitly use BPF_FILDROP_CAPTURE when configuring BIOCSFILDROP (diff) | |
download | wireguard-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