#include <linux/list.h>
#include <net/sctp/sctp.h>
#include <net/sctp/sm.h>
#include <net/sctp/stream_sched.h>
static void sctp_stream_shrink_out(struct sctp_stream *stream, __u16 outcnt)
{ … }
static void sctp_stream_free_ext(struct sctp_stream *stream, __u16 sid)
{ … }
static void sctp_stream_outq_migrate(struct sctp_stream *stream,
struct sctp_stream *new, __u16 outcnt)
{ … }
static int sctp_stream_alloc_out(struct sctp_stream *stream, __u16 outcnt,
gfp_t gfp)
{ … }
static int sctp_stream_alloc_in(struct sctp_stream *stream, __u16 incnt,
gfp_t gfp)
{ … }
int sctp_stream_init(struct sctp_stream *stream, __u16 outcnt, __u16 incnt,
gfp_t gfp)
{ … }
int sctp_stream_init_ext(struct sctp_stream *stream, __u16 sid)
{ … }
void sctp_stream_free(struct sctp_stream *stream)
{ … }
void sctp_stream_clear(struct sctp_stream *stream)
{ … }
void sctp_stream_update(struct sctp_stream *stream, struct sctp_stream *new)
{ … }
static int sctp_send_reconf(struct sctp_association *asoc,
struct sctp_chunk *chunk)
{ … }
static bool sctp_stream_outq_is_empty(struct sctp_stream *stream,
__u16 str_nums, __be16 *str_list)
{ … }
int sctp_send_reset_streams(struct sctp_association *asoc,
struct sctp_reset_streams *params)
{ … }
int sctp_send_reset_assoc(struct sctp_association *asoc)
{ … }
int sctp_send_add_streams(struct sctp_association *asoc,
struct sctp_add_streams *params)
{ … }
static struct sctp_paramhdr *sctp_chunk_lookup_strreset_param(
struct sctp_association *asoc, __be32 resp_seq,
__be16 type)
{ … }
static void sctp_update_strreset_result(struct sctp_association *asoc,
__u32 result)
{ … }
struct sctp_chunk *sctp_process_strreset_outreq(
struct sctp_association *asoc,
union sctp_params param,
struct sctp_ulpevent **evp)
{ … }
struct sctp_chunk *sctp_process_strreset_inreq(
struct sctp_association *asoc,
union sctp_params param,
struct sctp_ulpevent **evp)
{ … }
struct sctp_chunk *sctp_process_strreset_tsnreq(
struct sctp_association *asoc,
union sctp_params param,
struct sctp_ulpevent **evp)
{ … }
struct sctp_chunk *sctp_process_strreset_addstrm_out(
struct sctp_association *asoc,
union sctp_params param,
struct sctp_ulpevent **evp)
{ … }
struct sctp_chunk *sctp_process_strreset_addstrm_in(
struct sctp_association *asoc,
union sctp_params param,
struct sctp_ulpevent **evp)
{ … }
struct sctp_chunk *sctp_process_strreset_resp(
struct sctp_association *asoc,
union sctp_params param,
struct sctp_ulpevent **evp)
{ … }