summaryrefslogtreecommitdiffstats
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long2017-06-30 05:52:21 +0200
committerDavid S. Miller2017-07-01 18:08:42 +0200
commit4ae70c0845faba3096aa2be4b2ebfcc3ac590a67 (patch)
tree3c3a22e4c1fc69940834b48849cabf8ac7fde2b8 /include/linux/sctp.h
parentsctp: remove the typedef sctp_data_chunk_t (diff)
downloadkernel-qcow2-linux-4ae70c0845faba3096aa2be4b2ebfcc3ac590a67.tar.gz
kernel-qcow2-linux-4ae70c0845faba3096aa2be4b2ebfcc3ac590a67.tar.xz
kernel-qcow2-linux-4ae70c0845faba3096aa2be4b2ebfcc3ac590a67.zip
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;