hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/net/sctp/auth.h
....@@ -1,23 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* SCTP kernel implementation
23 * (C) Copyright 2007 Hewlett-Packard Development Company, L.P.
34 *
45 * This file is part of the SCTP kernel implementation
5
- *
6
- * This SCTP implementation is free software;
7
- * you can redistribute it and/or modify it under the terms of
8
- * the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2, or (at your option)
10
- * any later version.
11
- *
12
- * This SCTP implementation is distributed in the hope that it
13
- * will be useful, but WITHOUT ANY WARRANTY; without even the implied
14
- * ************************
15
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
- * See the GNU General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License
19
- * along with GNU CC; see the file COPYING. If not, see
20
- * <http://www.gnu.org/licenses/>.
216 *
227 * Please send any bug reports or fixes you make to the
238 * email address(es):
....@@ -122,5 +107,7 @@
122107 struct sctp_association *asoc, __u16 key_id);
123108 int sctp_auth_deact_key_id(struct sctp_endpoint *ep,
124109 struct sctp_association *asoc, __u16 key_id);
110
+int sctp_auth_init(struct sctp_endpoint *ep, gfp_t gfp);
111
+void sctp_auth_free(struct sctp_endpoint *ep);
125112
126113 #endif