summaryrefslogtreecommitdiffstats
path: root/include/net/sctp
diff options
context:
space:
mode:
authorAl Viro2006-11-21 02:25:32 +0100
committerDavid S. Miller2006-12-03 06:27:10 +0100
commite1857ea28dc76e2a929d1fff4d5d5cf712f12f4e (patch)
treeb2990fd0826d3d3d7ac4c0c956c17c06e3420713 /include/net/sctp
parent[SCTP]: Get rid of the last remnants of sin_port flipping. (diff)
downloadkernel-qcow2-linux-e1857ea28dc76e2a929d1fff4d5d5cf712f12f4e.tar.gz
kernel-qcow2-linux-e1857ea28dc76e2a929d1fff4d5d5cf712f12f4e.tar.xz
kernel-qcow2-linux-e1857ea28dc76e2a929d1fff4d5d5cf712f12f4e.zip
[SCTP]: sctp_association ->peer.i is a host-endian analog of sctp_inthdr.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp')
-rw-r--r--include/net/sctp/structs.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 3a6b8745538c..2db4a1bdd1a7 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;