>> 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. That's kind of my understanding (with some PACKET_TAG* stuff going on). I don't have split headers, though. Neither would an arp frame, but he too gets a packet header and fills it out. I don't mind following suit, I'm just wondering what the convention is for. Perhaps we use mbufs without packet headers for something special? SamReceived on Tue Oct 12 2004 - 13:44:10 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:16 UTC