Vladimir Dreizin
|
Reserving leading space in mbuf
|
Vladimir Dreizin
11/01/2010 8:28 PM
post73209
|
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!
|
|
|