Skip to content

Commit

Permalink
[SCTP]: sctp_association ->peer.i is a host-endian analog of sctp_int…
Browse files Browse the repository at this point in the history
…hdr.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Al Viro authored and David S. Miller committed Dec 3, 2006
1 parent dce116a commit e1857ea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion include/net/sctp/structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit e1857ea

Please sign in to comment.