Mark 'struct spx' and 'struct spxhdr' as __packed to prevent possible

alignment problems.

MFC after:	3 days
This commit is contained in:
Robert Watson 2005-01-02 15:06:47 +00:00
parent 14fad7b9d6
commit a3acf5d5a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139582

View File

@ -55,7 +55,7 @@ struct spxhdr {
u_short spx_seq; /* sequence number */
u_short spx_ack; /* acknowledge number */
u_short spx_alo; /* allocation number */
};
} __packed;
/*
* Definitions for NS(tm) Internet Datagram Protocol
@ -64,7 +64,7 @@ struct spxhdr {
struct spx {
struct ipx si_i;
struct spxhdr si_s;
};
} __packed;
struct spx_q {
struct spx_q *si_next;
struct spx_q *si_prev;