Re: mbuf question
Re: mbuf question
- Subject: Re: mbuf question
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 5 Aug 2003 17:48:17 +0200
On mardi, ao{ 5, 2003, at 17:24 Europe/Paris, Justin Walker wrote:
On Tuesday, Aug 5, 2003, at 10:06 America/Chicago, Stiphane Sudre
wrote:
Q: Can a non PacketHeader mbuf use an external storage?
i.e. can the M_EXT flag be set on a mbuf with no M_PKTHDR flag?
I had a look at the book "The Design and Implementation of the 4.4
BSD OS" but did not find an answer to this.
The theoretical answer is 'yes'. Mbuf processing should deal with
each mbuf individually, without regard to the chain its in. It is
possible that some code doesn't obey this rule, but I don't know of
any off-hand. It's easy to screw this up, so the possibility can't be
ruled out, but it should work.
Are you having problems, or just checking?
I'm checking to see if I can have problems :-)
As I don't think mbuf is the acronym for My Best Unix Friend, I'm
trying to avoid potential problems due to false assumptions. I had some
code which was making the assumption that an outgoing TCP/UDP packet
could not be made of mbuf with an external storage. I removed this
assumption, and now I'm trying to find if this second assumption is
just an assumption or an axiom.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.