lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #29210] struct sockaddr


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #29210] struct sockaddr
Date: Sat, 13 Mar 2010 14:03:27 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2) Gecko/20100115 Firefox/3.6

Follow-up Comment #4, bug #29210 (project lwip):

Unfortunately, that doesn't work as well, as it alignes both a1 and a2 on a
32-bit boundary and the struct gets 20 bytes long instead of 16 bytes.

Also the standard defines the struct to have a member of 'char sa_data[]',
which means sizeof(sa_data) will return the size, which it won't for the
define.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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