mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
sctp: remove the typedef sctp_sackhdr_t
This patch is to remove the typedef sctp_sackhdr_t, and replace with struct sctp_sackhdr 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
afd93b7be6
commit
787310859d
3 changed files with 6 additions and 6 deletions
|
@ -135,7 +135,7 @@ typedef union {
|
|||
struct sctp_init_chunk *init;
|
||||
struct sctp_ulpevent *ulpevent;
|
||||
struct sctp_packet *packet;
|
||||
sctp_sackhdr_t *sackh;
|
||||
struct sctp_sackhdr *sackh;
|
||||
struct sctp_datamsg *msg;
|
||||
} sctp_arg_t;
|
||||
|
||||
|
@ -176,7 +176,7 @@ SCTP_ARG_CONSTRUCTOR(BA, struct sctp_bind_addr *, bp)
|
|||
SCTP_ARG_CONSTRUCTOR(PEER_INIT, struct sctp_init_chunk *, init)
|
||||
SCTP_ARG_CONSTRUCTOR(ULPEVENT, struct sctp_ulpevent *, ulpevent)
|
||||
SCTP_ARG_CONSTRUCTOR(PACKET, struct sctp_packet *, packet)
|
||||
SCTP_ARG_CONSTRUCTOR(SACKH, sctp_sackhdr_t *, sackh)
|
||||
SCTP_ARG_CONSTRUCTOR(SACKH, struct sctp_sackhdr *, sackh)
|
||||
SCTP_ARG_CONSTRUCTOR(DATAMSG, struct sctp_datamsg *, msg)
|
||||
|
||||
static inline sctp_arg_t SCTP_FORCE(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue