Subject: Re: 802.1q hardware support
To: None <itojun@iijlab.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-net
Date: 11/14/2000 21:45:41
On Wed, Nov 15, 2000 at 04:11:31AM +0900, itojun@iijlab.net wrote:
>
> >--- sys/mbuf.h 2000/08/18 16:19:23 1.53
> >+++ sys/mbuf.h 2000/11/13 21:48:11
> >@@ -114,6 +114,10 @@
> > int mh_len; /* amount of data in this mbuf */
> > short mh_type; /* type of data in this mbuf */
> > short mh_flags; /* flags; see below */
> >+ union {
> >+ int mh_info;
> >+ void *mh_infop;
> >+ } mh_info; /* link-layer specific info */
> > };
>
> you may want to look at m->m_pkthdr.m_aux. it can hold anything you
> want.
Seems a bit overkill for what I need here (allocate a new mbuf each time).
Also isn't m_aux already used by higther-level protocols ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
--