summaryrefslogtreecommitdiff
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-06-30 11:52:21 +0800
committerDavid S. Miller <davem@davemloft.net>2017-07-01 09:08:42 -0700
commit4ae70c0845faba3096aa2be4b2ebfcc3ac590a67 (patch)
tree3c3a22e4c1fc69940834b48849cabf8ac7fde2b8 /include/linux/sctp.h
parent9f8d31471548d9b74609335f9a3c75c7b664c8b4 (diff)
sctp: remove the typedef sctp_inithdr_t
This patch is to remove the typedef sctp_inithdr_t, and replace with struct sctp_inithdr in the places where it's using this typedef. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sctp.h')
-rw-r--r--include/linux/sctp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h
index 91c888f21b24..56241953e57e 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -257,18 +257,18 @@ enum { SCTP_DATA_FRAG_MASK = 0x03, };
* This chunk is used to initiate a SCTP association between two
* endpoints.
*/
-typedef struct sctp_inithdr {
+struct sctp_inithdr {
__be32 init_tag;
__be32 a_rwnd;
__be16 num_outbound_streams;
__be16 num_inbound_streams;
__be32 initial_tsn;
__u8 params[0];
-} sctp_inithdr_t;
+};
typedef struct sctp_init_chunk {
struct sctp_chunkhdr chunk_hdr;
- sctp_inithdr_t init_hdr;
+ struct sctp_inithdr init_hdr;
} sctp_init_chunk_t;