hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/net/sctp/sm.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* SCTP kernel implementation
23 * (C) Copyright IBM Corp. 2001, 2004
34 * Copyright (c) 1999-2000 Cisco, Inc.
....@@ -7,22 +8,6 @@
78 * This file is part of the SCTP kernel implementation
89 *
910 * These are definitions needed by the state machine.
10
- *
11
- * This SCTP implementation is free software;
12
- * you can redistribute it and/or modify it under the terms of
13
- * the GNU General Public License as published by
14
- * the Free Software Foundation; either version 2, or (at your option)
15
- * any later version.
16
- *
17
- * This SCTP implementation is distributed in the hope that it
18
- * will be useful, but WITHOUT ANY WARRANTY; without even the implied
19
- * ************************
20
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21
- * See the GNU General Public License for more details.
22
- *
23
- * You should have received a copy of the GNU General Public License
24
- * along with GNU CC; see the file COPYING. If not, see
25
- * <http://www.gnu.org/licenses/>.
2611 *
2712 * Please send any bug reports or fixes you make to the
2813 * email addresses:
....@@ -173,7 +158,7 @@
173158 __u8 sctp_get_chunk_type(struct sctp_chunk *chunk);
174159 const struct sctp_sm_table_entry *sctp_sm_lookup_event(
175160 struct net *net,
176
- enum sctp_event event_type,
161
+ enum sctp_event_type event_type,
177162 enum sctp_state state,
178163 union sctp_subtype event_subtype);
179164 int sctp_chunk_iif(const struct sctp_chunk *);
....@@ -313,7 +298,7 @@
313298
314299 /* Prototypes for statetable processing. */
315300
316
-int sctp_do_sm(struct net *net, enum sctp_event event_type,
301
+int sctp_do_sm(struct net *net, enum sctp_event_type event_type,
317302 union sctp_subtype subtype, enum sctp_state state,
318303 struct sctp_endpoint *ep, struct sctp_association *asoc,
319304 void *event_arg, gfp_t gfp);