Commit e925d506 authored by Xin Long's avatar Xin Long Committed by David S. Miller

sctp: remove the typedef sctp_supported_addrs_param_t

This patch is to remove the typedef sctp_supported_addrs_param_t, and
replace with struct sctp_supported_addrs_param in the places where it's
using this typedef.
Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent df9af006
...@@ -297,10 +297,10 @@ struct sctp_hostname_param { ...@@ -297,10 +297,10 @@ struct sctp_hostname_param {
}; };
/* Section 3.3.2.1 Supported Address Types (12) */ /* Section 3.3.2.1 Supported Address Types (12) */
typedef struct sctp_supported_addrs_param { struct sctp_supported_addrs_param {
struct sctp_paramhdr param_hdr; struct sctp_paramhdr param_hdr;
__be16 types[0]; __be16 types[0];
} sctp_supported_addrs_param_t; };
/* Appendix A. ECN Capable (32768) */ /* Appendix A. ECN Capable (32768) */
typedef struct sctp_ecn_capable_param { typedef struct sctp_ecn_capable_param {
......
...@@ -223,7 +223,7 @@ struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, ...@@ -223,7 +223,7 @@ struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
struct sctp_chunk *retval = NULL; struct sctp_chunk *retval = NULL;
int num_types, addrs_len = 0; int num_types, addrs_len = 0;
struct sctp_sock *sp; struct sctp_sock *sp;
sctp_supported_addrs_param_t sat; struct sctp_supported_addrs_param sat;
__be16 types[2]; __be16 types[2];
sctp_adaptation_ind_param_t aiparam; sctp_adaptation_ind_param_t aiparam;
sctp_supported_ext_param_t ext_param; sctp_supported_ext_param_t ext_param;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment