mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-24 05:01:03 +02:00
sctp: remove the typedef sctp_initack_chunk_t
This patch is to remove the typedef sctp_initack_chunk_t, and replace with struct sctp_initack_chunk 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
56eda01d53
commit
cb1844c472
@@ -336,7 +336,10 @@ struct sctp_hmac_algo_param {
|
||||
* The INIT ACK chunk is used to acknowledge the initiation of an SCTP
|
||||
* association.
|
||||
*/
|
||||
typedef struct sctp_init_chunk sctp_initack_chunk_t;
|
||||
struct sctp_initack_chunk {
|
||||
struct sctp_chunkhdr chunk_hdr;
|
||||
struct sctp_inithdr init_hdr;
|
||||
};
|
||||
|
||||
/* Section 3.3.3.1 State Cookie (7) */
|
||||
typedef struct sctp_cookie_param {
|
||||
|
Reference in New Issue
Block a user