Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
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!