diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-19 10:09:21 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-19 10:09:21 +0000 |
commit | 6e2621c23c35516b6036c2c0d9bb69fd5e1d9376 (patch) | |
tree | 7e406591ea45d943e4280b6c731addef3ed25457 /share | |
parent | d4a210e66036f42d4f704fa1ac3c075ca0172eb6 (diff) |
Stop abusing the rcvif pointer to pass wireless nodes down to the
driver start routines. Instead add & use a pointer in the pkthdr
since we don't want the overhead of using a mbuf_tags(9).
claudio@ pointed out that other subsystems might want to use this
pointer too, so here's a new cookie!
ok claudio@, mikeb@, deraadt@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/mbuf.9 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index e3db548d1d8..cf3c308ea8e 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mbuf.9,v 1.68 2014/01/21 03:15:46 schwarze Exp $ +.\" $OpenBSD: mbuf.9,v 1.69 2014/03/19 10:09:19 mpi Exp $ .\" .\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol <jjbg@openbsd.org> .\" All rights reserved. @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: March 19 2014 $ .Dt MBUF 9 .Os .Sh NAME @@ -119,6 +119,7 @@ struct pkthdr { u_int16_t csum_flags; u_int16_t ether_vtag; u_int rdomain; + void *ph_cookie; struct pkthdr_pf pf; }; |