sctp: rename enum sctp_event to sctp_event_type
sctp_event is a structure name defined in RFC for sockopt SCTP_EVENT. To avoid the conflict, rename it. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a1e3a0590f
commit
88ee48c1f3
@@ -173,7 +173,7 @@ sctp_state_fn_t sctp_sf_autoclose_timer_expire;
|
||||
__u8 sctp_get_chunk_type(struct sctp_chunk *chunk);
|
||||
const struct sctp_sm_table_entry *sctp_sm_lookup_event(
|
||||
struct net *net,
|
||||
enum sctp_event event_type,
|
||||
enum sctp_event_type event_type,
|
||||
enum sctp_state state,
|
||||
union sctp_subtype event_subtype);
|
||||
int sctp_chunk_iif(const struct sctp_chunk *);
|
||||
@@ -313,7 +313,7 @@ struct sctp_chunk *sctp_process_strreset_resp(
|
||||
|
||||
/* Prototypes for statetable processing. */
|
||||
|
||||
int sctp_do_sm(struct net *net, enum sctp_event event_type,
|
||||
int sctp_do_sm(struct net *net, enum sctp_event_type event_type,
|
||||
union sctp_subtype subtype, enum sctp_state state,
|
||||
struct sctp_endpoint *ep, struct sctp_association *asoc,
|
||||
void *event_arg, gfp_t gfp);
|
||||
|
Reference in New Issue
Block a user