mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
sctp: remove the typedef sctp_transport_cmd_t
This patch is to remove the typedef sctp_transport_cmd_t, and replace with enum sctp_transport_cmd 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
1c662018d2
commit
0ceaeebe28
3 changed files with 7 additions and 6 deletions
|
@ -320,11 +320,11 @@ typedef enum {
|
|||
} sctp_xmit_t;
|
||||
|
||||
/* These are the commands for manipulating transports. */
|
||||
typedef enum {
|
||||
enum sctp_transport_cmd {
|
||||
SCTP_TRANSPORT_UP,
|
||||
SCTP_TRANSPORT_DOWN,
|
||||
SCTP_TRANSPORT_PF,
|
||||
} sctp_transport_cmd_t;
|
||||
};
|
||||
|
||||
/* These are the address scopes defined mainly for IPv4 addresses
|
||||
* based on draft of SCTP IPv4 scoping <draft-stewart-tsvwg-sctp-ipv4-00.txt>.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue