lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #5846] struct sockaddr_in has different alignment th


From: Kieran Mansley
Subject: [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr
Date: Tue, 03 Apr 2007 13:42:20 +0000
User-agent: Opera/8.02 (X11; Linux i686; U; en)

Follow-up Comment #1, patch #5846 (project lwip):

Is the problem the layout of the fields within the structure, or how an
instance of the structure itself is aligned?

In general I prefer to rely on the compiler to sort out things like this (by
e.g. using the "packed" directive to gcc).

Given that these types should be similar to those used on BSD, Linux, etc,
how are they defined there to avoid the same problem?  Could we do something
similar?



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5846>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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