| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* SCTP kernel implementation |
|---|
| 2 | 3 | * Copyright (c) 1999-2000 Cisco, Inc. |
|---|
| 3 | 4 | * Copyright (c) 1999-2001 Motorola, Inc. |
|---|
| .. | .. |
|---|
| 9 | 10 | * Note that the descriptions from the specification are USER level |
|---|
| 10 | 11 | * functions--this file is the functions which populate the struct proto |
|---|
| 11 | 12 | * for SCTP which is the BOTTOM of the sockets interface. |
|---|
| 12 | | - * |
|---|
| 13 | | - * This SCTP implementation is free software; |
|---|
| 14 | | - * you can redistribute it and/or modify it under the terms of |
|---|
| 15 | | - * the GNU General Public License as published by |
|---|
| 16 | | - * the Free Software Foundation; either version 2, or (at your option) |
|---|
| 17 | | - * any later version. |
|---|
| 18 | | - * |
|---|
| 19 | | - * This SCTP implementation is distributed in the hope that it |
|---|
| 20 | | - * will be useful, but WITHOUT ANY WARRANTY; without even the implied |
|---|
| 21 | | - * ************************ |
|---|
| 22 | | - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| 23 | | - * See the GNU General Public License for more details. |
|---|
| 24 | | - * |
|---|
| 25 | | - * You should have received a copy of the GNU General Public License |
|---|
| 26 | | - * along with GNU CC; see the file COPYING. If not, see |
|---|
| 27 | | - * <http://www.gnu.org/licenses/>. |
|---|
| 28 | 13 | * |
|---|
| 29 | 14 | * Please send any bug reports or fixes you make to the |
|---|
| 30 | 15 | * email address(es): |
|---|
| .. | .. |
|---|
| 53 | 38 | int sctp_primitive_ ## name(struct net *net, struct sctp_association *asoc, \ |
|---|
| 54 | 39 | void *arg) { \ |
|---|
| 55 | 40 | int error = 0; \ |
|---|
| 56 | | - enum sctp_event event_type; union sctp_subtype subtype; \ |
|---|
| 41 | + enum sctp_event_type event_type; union sctp_subtype subtype; \ |
|---|
| 57 | 42 | enum sctp_state state; \ |
|---|
| 58 | 43 | struct sctp_endpoint *ep; \ |
|---|
| 59 | 44 | \ |
|---|