summaryrefslogtreecommitdiffstats
path: root/include/net/sctp/constants.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-05 19:59:55 +0800
committerDavid S. Miller <davem@davemloft.net>2017-08-06 21:33:41 -0700
commit0ceaeebe28d46e49c865f88a3e3ca75f6cf13e1f (patch)
treea1a2d68c37b5575fd98d0accaff8f5f4c40c90ea /include/net/sctp/constants.h
parent1c662018d2d41ecc5550cbd74d29d2d32c164ed3 (diff)
downloadlinux-0ceaeebe28d46e49c865f88a3e3ca75f6cf13e1f.tar.bz2
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>
Diffstat (limited to 'include/net/sctp/constants.h')
-rw-r--r--include/net/sctp/constants.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h
index 0503bb70e5d9..8ce6d3263e41 100644
--- a/include/net/sctp/constants.h
+++ b/include/net/sctp/constants.h
@@ -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>.