mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-26 14:17:26 -04: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:
parent
56eda01d53
commit
cb1844c472
2 changed files with 10 additions and 8 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue