Re: mbuf w/o pkthdr?

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Tue, 12 Oct 2004 17:36:13 +0200
Sam <sah_at_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
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Tue Oct 12 2004 - 13:36:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:16 UTC