From: Al Viro Date: Tue, 21 Nov 2006 01:25:32 +0000 (-0800) Subject: [SCTP]: sctp_association ->peer.i is a host-endian analog of sctp_inthdr. X-Git-Tag: v2.6.20-rc2~6^2~13^2~190 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e1857ea28dc76e2a929d1fff4d5d5cf712f12f4e;p=linux-2.6-omap-h63xx.git [SCTP]: sctp_association ->peer.i is a host-endian analog of sctp_inthdr. Signed-off-by: Al Viro Signed-off-by: David S. Miller --- diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 3a6b8745538..2db4a1bdd1a 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -1314,6 +1314,13 @@ int sctp_process_init(struct sctp_association *, sctp_cid_t cid, __u32 sctp_generate_tag(const struct sctp_endpoint *); __u32 sctp_generate_tsn(const struct sctp_endpoint *); +struct sctp_inithdr_host { + __u32 init_tag; + __u32 a_rwnd; + __u16 num_outbound_streams; + __u16 num_inbound_streams; + __u32 initial_tsn; +}; /* RFC2960 * @@ -1484,7 +1491,7 @@ struct sctp_association { */ __be16 addip_disabled_mask; - struct sctp_inithdr i; + struct sctp_inithdr_host i; int cookie_len; void *cookie;