On Tuesday, November 06, 2012 04:25:26 Sven Eckelmann wrote:
Headers which are already perfectly aligned and create a 4 byte boundary non-ethernet header payload can have the __packed attribute removed. The __packed attribute doesn't change the appeareance of the packet for these headers because no extra padding is necessary to align the data members. The compiler will also create slightly faster code for loads of multi-byte members.
Signed-off-by: Sven Eckelmann sven@narfation.org
Because we had protests against the approach of splitting the 32 bit seqno... here is a different approach. Now get your dices to find out what David may will like.
packet.h | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-)
Applied in revision e754ea0.
Thanks, Marek