mbuf w/o pkthdr?

Dag-Erling Smørgrav des at des.no
Tue Oct 12 08:36:22 PDT 2004


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


More information about the freebsd-current mailing list