sctp: remove the typedef sctp_hmac_algo_param_t
This patch is to remove the typedef sctp_hmac_algo_param_t, and replace with struct sctp_hmac_algo_param in the places where it's using this typedef. It is also to use sizeof(variable) instead of sizeof(type). Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a762a9d94d
commit
1474774a7f
@@ -327,10 +327,10 @@ struct sctp_chunks_param {
|
||||
};
|
||||
|
||||
/* AUTH Section 3.3 HMAC Algorithm */
|
||||
typedef struct sctp_hmac_algo_param {
|
||||
struct sctp_hmac_algo_param {
|
||||
struct sctp_paramhdr param_hdr;
|
||||
__be16 hmac_ids[0];
|
||||
} sctp_hmac_algo_param_t;
|
||||
};
|
||||
|
||||
/* RFC 2960. Section 3.3.3 Initiation Acknowledgement (INIT ACK) (2):
|
||||
* The INIT ACK chunk is used to acknowledge the initiation of an SCTP
|
||||
|
Reference in New Issue
Block a user