Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Reserving leading space in mbuf: (1 Item)
   
Reserving leading space in mbuf  
Hi

I am porting Linux ethernet driver to QNX devnp. The Ethernet device requires prepending proprietary HW header (4 bytes)
 for each outgoing packet.  M_LEADINGSPACE(m) for all packets received from io-pkt returns 2, which means that 
M_PREPEND(m, 4...)  is not able to just update data pointer and length.

Is there any way to configure io-pkt to reserve more bytes in the beginning of the packet?

Thanks!