提交 e1857ea2 编写于 作者: A Al Viro 提交者: David S. Miller

[SCTP]: sctp_association ->peer.i is a host-endian analog of sctp_inthdr.

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 dce116ae
...@@ -1314,6 +1314,13 @@ int sctp_process_init(struct sctp_association *, sctp_cid_t cid, ...@@ -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_tag(const struct sctp_endpoint *);
__u32 sctp_generate_tsn(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 /* RFC2960
* *
...@@ -1484,7 +1491,7 @@ struct sctp_association { ...@@ -1484,7 +1491,7 @@ struct sctp_association {
*/ */
__be16 addip_disabled_mask; __be16 addip_disabled_mask;
struct sctp_inithdr i; struct sctp_inithdr_host i;
int cookie_len; int cookie_len;
void *cookie; void *cookie;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册