[Top][All Lists]
[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/
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Simon Goldschmidt, 2007/04/02
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr,
Kieran Mansley <=
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Simon Goldschmidt, 2007/04/03
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Jonathan Larmour, 2007/04/05
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Simon Goldschmidt, 2007/04/06
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Jonathan Larmour, 2007/04/06
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Simon Goldschmidt, 2007/04/07
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Jonathan Larmour, 2007/04/07
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Simon Goldschmidt, 2007/04/11