diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-06-29 23:52:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-01 12:08:41 -0400 |
commit | 6d85e68f4cde48f8c2fac6d9c00ca6988cf6e327 (patch) | |
tree | a2ea24cfdef416dd62f5b1549e9a4b82f63414fe /net/sctp/auth.c | |
parent | 922dbc5be2186659d2c453a53f2ae569e55b6101 (diff) |
sctp: remove the typedef sctp_cid_t
This patch is to remove the typedef sctp_cid_t, and replace
with struct sctp_cid 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 'net/sctp/auth.c')
-rw-r--r-- | net/sctp/auth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sctp/auth.c b/net/sctp/auth.c index f99d4855d3de..7171dd3d6e40 100644 --- a/net/sctp/auth.c +++ b/net/sctp/auth.c | |||
@@ -632,7 +632,7 @@ void sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc, | |||
632 | 632 | ||
633 | 633 | ||
634 | /* Check to see if the given chunk is supposed to be authenticated */ | 634 | /* Check to see if the given chunk is supposed to be authenticated */ |
635 | static int __sctp_auth_cid(sctp_cid_t chunk, struct sctp_chunks_param *param) | 635 | static int __sctp_auth_cid(enum sctp_cid chunk, struct sctp_chunks_param *param) |
636 | { | 636 | { |
637 | unsigned short len; | 637 | unsigned short len; |
638 | int found = 0; | 638 | int found = 0; |
@@ -668,7 +668,7 @@ static int __sctp_auth_cid(sctp_cid_t chunk, struct sctp_chunks_param *param) | |||
668 | } | 668 | } |
669 | 669 | ||
670 | /* Check if peer requested that this chunk is authenticated */ | 670 | /* Check if peer requested that this chunk is authenticated */ |
671 | int sctp_auth_send_cid(sctp_cid_t chunk, const struct sctp_association *asoc) | 671 | int sctp_auth_send_cid(enum sctp_cid chunk, const struct sctp_association *asoc) |
672 | { | 672 | { |
673 | if (!asoc) | 673 | if (!asoc) |
674 | return 0; | 674 | return 0; |
@@ -680,7 +680,7 @@ int sctp_auth_send_cid(sctp_cid_t chunk, const struct sctp_association *asoc) | |||
680 | } | 680 | } |
681 | 681 | ||
682 | /* Check if we requested that peer authenticate this chunk. */ | 682 | /* Check if we requested that peer authenticate this chunk. */ |
683 | int sctp_auth_recv_cid(sctp_cid_t chunk, const struct sctp_association *asoc) | 683 | int sctp_auth_recv_cid(enum sctp_cid chunk, const struct sctp_association *asoc) |
684 | { | 684 | { |
685 | if (!asoc) | 685 | if (!asoc) |
686 | return 0; | 686 | return 0; |