lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #26134] Insert a dummy u16_t field to prevent alignmen


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #26134] Insert a dummy u16_t field to prevent alignment exceptions
Date: Fri, 10 Apr 2009 05:58:15 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.0.8) Gecko/2009032608 Firefox/3.0.8

Follow-up Comment #2, bug #26134 (project lwip):

> Why not just define ETH_PAD_SIZE?

Especially as this change would break every port that does ot use
ETH_PAD_SIZE as now the header is always padded.

Plus the drivers wouldn't know where to start copying to the MAC...

Last but not least, who knows an u16_t would be enough? It is for 32-bit
architectures, but ETH_PAD_SIZE is more flexible.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26134>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]