.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* SCTP kernel implementation |
---|
2 | 3 | * (C) Copyright Red Hat Inc. 2017 |
---|
3 | 4 | * |
---|
4 | 5 | * These are definitions used by the stream schedulers, defined in RFC |
---|
5 | 6 | * draft ndata (https://tools.ietf.org/html/draft-ietf-tsvwg-sctp-ndata-11) |
---|
6 | | - * |
---|
7 | | - * This SCTP implementation is free software; |
---|
8 | | - * you can redistribute it and/or modify it under the terms of |
---|
9 | | - * the GNU General Public License as published by |
---|
10 | | - * the Free Software Foundation; either version 2, or (at your option) |
---|
11 | | - * any later version. |
---|
12 | | - * |
---|
13 | | - * This SCTP implementation is distributed in the hope that it |
---|
14 | | - * will be useful, but WITHOUT ANY WARRANTY; without even the implied |
---|
15 | | - * ************************ |
---|
16 | | - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
17 | | - * See the GNU General Public License for more details. |
---|
18 | | - * |
---|
19 | | - * You should have received a copy of the GNU General Public License |
---|
20 | | - * along with GNU CC; see the file COPYING. If not, see |
---|
21 | | - * <http://www.gnu.org/licenses/>. |
---|
22 | 7 | * |
---|
23 | 8 | * Please send any bug reports or fixes you make to the |
---|
24 | 9 | * email addresses: |
---|
.. | .. |
---|
41 | 26 | int (*init)(struct sctp_stream *stream); |
---|
42 | 27 | /* Init a stream */ |
---|
43 | 28 | int (*init_sid)(struct sctp_stream *stream, __u16 sid, gfp_t gfp); |
---|
| 29 | + /* free a stream */ |
---|
| 30 | + void (*free_sid)(struct sctp_stream *stream, __u16 sid); |
---|
44 | 31 | /* Frees the entire thing */ |
---|
45 | 32 | void (*free)(struct sctp_stream *stream); |
---|
46 | 33 | |
---|