Subject: Re: adding mbuf member
To: Michael C. Richardson <>
From: Jun-ichiro itojun Hagino <>
List: tech-net
Date: 01/31/2000 02:49:31
>> For keeping IPsec decryption history and other information, I
>> would like to add one variable into mbuf header (M_PKTHDR),
>> like below.  this will let us attach extra mbuf chain to
>> mbuf.
>  I think that this is the right way to do this...
>  Is there a way to allocate the aux chain in the mbuf itself when external
>clusters are used?

	You mean reusing MH_databuf for aux data when the mbuf is a
	cluster mbuf? ((m->m_flags & M_EXT) != 0)
	I think that complicates the story a bit more, and I would like to
	always simply allocate new mbuf and point that from MH_pkthdr.aux.