diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-08-05 14:59:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 07:33:41 +0300 |
commit | 1c662018d2d41ecc5550cbd74d29d2d32c164ed3 (patch) | |
tree | 6bb6c9b10e9a1e8ac972c6c2db06f4a7559776f5 /include/net/sctp/constants.h | |
parent | 701ef3e6c74be771a76be39817941e68e7228644 (diff) | |
download | linux-1c662018d2d41ecc5550cbd74d29d2d32c164ed3.tar.xz |
sctp: remove the typedef sctp_scope_t
This patch is to remove the typedef sctp_scope_t, and
replace with enum sctp_scope 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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h index acb03eb64842..0503bb70e5d9 100644 --- a/include/net/sctp/constants.h +++ b/include/net/sctp/constants.h @@ -333,13 +333,13 @@ typedef enum { * At this point, the IPv6 scopes will be mapped to these internal scopes * as much as possible. */ -typedef enum { +enum sctp_scope { SCTP_SCOPE_GLOBAL, /* IPv4 global addresses */ SCTP_SCOPE_PRIVATE, /* IPv4 private addresses */ SCTP_SCOPE_LINK, /* IPv4 link local address */ SCTP_SCOPE_LOOPBACK, /* IPv4 loopback address */ SCTP_SCOPE_UNUSABLE, /* IPv4 unusable addresses */ -} sctp_scope_t; +}; enum { SCTP_SCOPE_POLICY_DISABLE, /* Disable IPv4 address scoping */ |