|
@@ -1142,10 +1142,10 @@ int sctp_is_ep_boundall(struct sock *sk);
|
|
|
|
|
|
|
|
|
/* What type of endpoint? */
|
|
|
-typedef enum {
|
|
|
+enum sctp_endpoint_type {
|
|
|
SCTP_EP_TYPE_SOCKET,
|
|
|
SCTP_EP_TYPE_ASSOCIATION,
|
|
|
-} sctp_endpoint_type_t;
|
|
|
+};
|
|
|
|
|
|
/*
|
|
|
* A common base class to bridge the implmentation view of a
|
|
@@ -1169,7 +1169,7 @@ struct sctp_ep_common {
|
|
|
int hashent;
|
|
|
|
|
|
/* Runtime type information. What kind of endpoint is this? */
|
|
|
- sctp_endpoint_type_t type;
|
|
|
+ enum sctp_endpoint_type type;
|
|
|
|
|
|
/* Some fields to help us manage this object.
|
|
|
* refcnt - Reference count access to this object.
|