Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2004 17:36:13 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Sam <sah@softcardsystems.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: mbuf w/o pkthdr?
Message-ID:  <xzpy8ict0cy.fsf@dwp.des.no>
In-Reply-To: <Pine.LNX.4.60.0410121115430.30953@athena> (sah@softcardsystems.com's message of "Tue, 12 Oct 2004 11:24:03 -0500 (EST)")
References:  <Pine.LNX.4.60.0410121115430.30953@athena>

next in thread | previous in thread | raw e-mail | index | archive | help
Sam <sah@softcardsystems.com> writes:
> Are all packets supposed to have the M_PKTHDR flag?  Why?

IIRC, M_PKTHDR indicates the first mbuf in a chain when a packet is
split across multiple mbufs.  This usually only happens for outgoing
packets, where protocol headers are constructed in separate mbufs
which are prepended to the chain as the packet moves down the stack.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpy8ict0cy.fsf>