PERFORCE change 110826 for review
Warner Losh
imp at FreeBSD.org
Fri Dec 1 10:56:51 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=110826
Change 110826 by imp at imp_lighthouse on 2006/12/01 18:55:18
Follow bde's suggestion and make this 'aligned(4)' because
that's what all the code is written to expect.
Affected files ...
.. //depot/projects/arm/src/sys/netinet/ip.h#2 edit
Differences ...
==== //depot/projects/arm/src/sys/netinet/ip.h#2 (text+ko) ====
@@ -65,7 +65,7 @@
u_char ip_p; /* protocol */
u_short ip_sum; /* checksum */
struct in_addr ip_src,ip_dst; /* source and dest address */
-} __packed;
+} __packed __aligned(4);
#ifdef CTASSERT
CTASSERT(sizeof (struct ip) == 20);
More information about the p4-projects
mailing list