mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
9f8d314715
commit
4ae70c0845
4 changed files with 13 additions and 13 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue