.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* SCTP kernel implementation |
---|
2 | 3 | * (C) Copyright IBM Corp. 2001, 2004 |
---|
3 | 4 | * Copyright (c) 1999-2000 Cisco, Inc. |
---|
.. | .. |
---|
7 | 8 | * This file is part of the SCTP kernel implementation |
---|
8 | 9 | * |
---|
9 | 10 | * 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/>. |
---|
26 | 11 | * |
---|
27 | 12 | * Please send any bug reports or fixes you make to the |
---|
28 | 13 | * email addresses: |
---|
.. | .. |
---|
173 | 158 | __u8 sctp_get_chunk_type(struct sctp_chunk *chunk); |
---|
174 | 159 | const struct sctp_sm_table_entry *sctp_sm_lookup_event( |
---|
175 | 160 | struct net *net, |
---|
176 | | - enum sctp_event event_type, |
---|
| 161 | + enum sctp_event_type event_type, |
---|
177 | 162 | enum sctp_state state, |
---|
178 | 163 | union sctp_subtype event_subtype); |
---|
179 | 164 | int sctp_chunk_iif(const struct sctp_chunk *); |
---|
.. | .. |
---|
313 | 298 | |
---|
314 | 299 | /* Prototypes for statetable processing. */ |
---|
315 | 300 | |
---|
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, |
---|
317 | 302 | union sctp_subtype subtype, enum sctp_state state, |
---|
318 | 303 | struct sctp_endpoint *ep, struct sctp_association *asoc, |
---|
319 | 304 | void *event_arg, gfp_t gfp); |
---|