diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2014-10-07 11:16:24 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2014-10-07 11:16:24 +0000 |
commit | cd5a90420939d92075abfcd44cc7ada39b42d84a (patch) | |
tree | b42cd7002213d8ed67b0aabca645ebe060c166d9 /sys/net/bpf.h | |
parent | 8ff4f7f90a38449cdee6f2d1c05e25ea504a275e (diff) |
when running bpf on an outgoing vlan interface that doesnt have a
parent that doesnt offload the tag insertion, we need to chop the
vlan subheader out before the filter is run, not after.
this moves the mbuf surgery out from the bpf layer into the vlan
layer.
ok henning@ jmatthew@
Diffstat (limited to 'sys/net/bpf.h')
-rw-r--r-- | sys/net/bpf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h index 6bbb73c9fd5..f733ef7de4c 100644 --- a/sys/net/bpf.h +++ b/sys/net/bpf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.h,v 1.46 2014/07/10 09:46:29 henning Exp $ */ +/* $OpenBSD: bpf.h,v 1.47 2014/10/07 11:16:23 dlg Exp $ */ /* $NetBSD: bpf.h,v 1.15 1996/12/13 07:57:33 mikel Exp $ */ /* @@ -272,7 +272,6 @@ struct bpf_dltlist { int bpf_validate(struct bpf_insn *, int); int bpf_tap(caddr_t, u_char *, u_int, u_int); void bpf_mtap(caddr_t, struct mbuf *, u_int); -void bpf_mtap_stripvlan(caddr_t, struct mbuf *, u_int); void bpf_mtap_hdr(caddr_t, caddr_t, u_int, struct mbuf *, u_int, void (*)(const void *, void *, size_t)); void bpf_mtap_af(caddr_t, u_int32_t, struct mbuf *, u_int); |