Date: Sat, 17 Apr 2010 04:00:57 +0000 (UTC) From: Randall Stewart <rrs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r206734 - stable/8/sys/netinet Message-ID: <201004170400.o3H40voE041022@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rrs Date: Sat Apr 17 04:00:57 2010 New Revision: 206734 URL: http://svn.freebsd.org/changeset/base/206734 Log: MFC of 203847 Puts in missing packed declarations (from Michael). It worked only because it was properly aligned anyway ;-) Modified: stable/8/sys/netinet/sctp_header.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/netinet/sctp_header.h ============================================================================== --- stable/8/sys/netinet/sctp_header.h Sat Apr 17 03:58:56 2010 (r206733) +++ stable/8/sys/netinet/sctp_header.h Sat Apr 17 04:00:57 2010 (r206734) @@ -62,7 +62,7 @@ struct sctp_ipv6addr_param { struct sctp_cookie_perserve_param { struct sctp_paramhdr ph;/* type=SCTP_COOKIE_PRESERVE, len=8 */ uint32_t time; /* time in ms to extend cookie */ -}; +} SCTP_PACKED; #define SCTP_ARRAY_MIN_LEN 1 /* Host Name Address */ @@ -495,7 +495,7 @@ struct sctp_stream_reset_add_strm { uint32_t request_seq; uint16_t number_of_streams; uint16_t reserved; -}; +} SCTP_PACKED; #define SCTP_STREAM_RESET_NOTHING 0x00000000 /* Nothing for me to do */ #define SCTP_STREAM_RESET_PERFORMED 0x00000001 /* Did it */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004170400.o3H40voE041022>