projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dce116a
)
[SCTP]: sctp_association ->peer.i is a host-endian analog of sctp_inthdr.
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 21 Nov 2006 01:25:32 +0000
(17:25 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:27:10 +0000
(21:27 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/sctp/structs.h
b/include/net/sctp/structs.h
index 3a6b8745538cd549e0e7acd70fd98d574b0e0b90..2db4a1bdd1a760045dc0e49831f31ad3129f327f 100644
(file)
--- 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;