Packet mmap payload alignment.

From: Paul Chavent
Date: Sat Mar 31 2012 - 15:39:06 EST


Hi.

I'm playing with the packet mmap interface. After having success with SOCK_DGRAM, i would like to try SOCK_RAW packet mmap.

I would like to align my payload on 16 bytes boundary. On rx side, it's automatic. But on tx side, it lacks the possibility to tell to the kernel where to begin to read the data.

Do i miss something ?

Do you think it could be possible to have a "reserve" like on the rx side ?


Regards.

Paul.


P.S. : can you cc me your reply please ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/