diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-06-30 06:52:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-01 19:08:42 +0300 |
commit | 01a992bea523d9568cf56a02003c15c9dc40eb20 (patch) | |
tree | 92b53d05411df6cebf6c6cedf0d25d41ae85bc09 /include/linux/sctp.h | |
parent | 4ae70c0845faba3096aa2be4b2ebfcc3ac590a67 (diff) | |
download | linux-01a992bea523d9568cf56a02003c15c9dc40eb20.tar.xz |
sctp: remove the typedef sctp_init_chunk_t
This patch is to remove the typedef sctp_init_chunk_t, and replace
with struct sctp_init_chunk 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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h index 56241953e57e..99e866487e2f 100644 --- a/include/linux/sctp.h +++ b/include/linux/sctp.h @@ -266,10 +266,10 @@ struct sctp_inithdr { __u8 params[0]; }; -typedef struct sctp_init_chunk { +struct sctp_init_chunk { struct sctp_chunkhdr chunk_hdr; struct sctp_inithdr init_hdr; -} sctp_init_chunk_t; +}; /* Section 3.3.2.1. IPv4 Address Parameter (5) */ @@ -341,7 +341,7 @@ typedef struct sctp_hmac_algo_param { * The INIT ACK chunk is used to acknowledge the initiation of an SCTP * association. */ -typedef sctp_init_chunk_t sctp_initack_chunk_t; +typedef struct sctp_init_chunk sctp_initack_chunk_t; /* Section 3.3.3.1 State Cookie (7) */ typedef struct sctp_cookie_param { |