diff options
author | 2014-07-10 09:46:29 +0000 | |
---|---|---|
committer | 2014-07-10 09:46:29 +0000 | |
commit | d78e14464aa3f02f0afe90d14d6b9e65ebe06c92 (patch) | |
tree | d6dcdfde26ada89751677b86db4c04a0dc2cdb29 /sys/kern/kern_malloc.c | |
parent | replace getservbyname_r with getaddrinfo for portability (diff) | |
download | wireguard-openbsd-d78e14464aa3f02f0afe90d14d6b9e65ebe06c92.tar.xz wireguard-openbsd-d78e14464aa3f02f0afe90d14d6b9e65ebe06c92.zip |
introduce bpf_mcopy_stripvlan, which cuts the 4 extra bytes out of the
ether_vlan_header to make it a regular ether_header while copying into
the bpf buffer.
add bpf_mtap_stripvlan, which is a 1-line wrapper around _bpf_mtap passing
this copy function in.
ok benno
Diffstat (limited to 'sys/kern/kern_malloc.c')
0 files changed, 0 insertions, 0 deletions