[U-Boot] IP_t should be a "packed" struct
Wolfgang Denk
wd at denx.de
Wed Jan 28 23:21:19 CET 2009
Dear Ben,
In message <4980D38F.4020100 at gmail.com> you wrote:
>
> > Here is for example a copy of /usr/include/netinet/ip.h :
...
> > struct iphdr
...
> Yeah, I made the same observation, but am not fluent enough in the black
> magic of Linux header files to know if packing was being enforced
> somewhere else or in some other way that my little brain can't comprehend.
Note that this was standard <netinet/ip.h>, i. e. no Linux kernel
header file, but a standard user land header. Any application code
using network functions would break if this was a real problem.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The human race has one really effective weapon, and that is laughter.
- Mark Twain
More information about the U-Boot
mailing list