#include <linux/list.h>
#include <net/sctp/sctp.h>
#include <net/sctp/sm.h>
#include <net/sctp/stream_sched.h>
static int sctp_sched_fcfs_set(struct sctp_stream *stream, __u16 sid,
__u16 value, gfp_t gfp)
{ … }
static int sctp_sched_fcfs_get(struct sctp_stream *stream, __u16 sid,
__u16 *value)
{ … }
static int sctp_sched_fcfs_init(struct sctp_stream *stream)
{ … }
static int sctp_sched_fcfs_init_sid(struct sctp_stream *stream, __u16 sid,
gfp_t gfp)
{ … }
static void sctp_sched_fcfs_free_sid(struct sctp_stream *stream, __u16 sid)
{ … }
static void sctp_sched_fcfs_enqueue(struct sctp_outq *q,
struct sctp_datamsg *msg)
{ … }
static struct sctp_chunk *sctp_sched_fcfs_dequeue(struct sctp_outq *q)
{ … }
static void sctp_sched_fcfs_dequeue_done(struct sctp_outq *q,
struct sctp_chunk *chunk)
{ … }
static void sctp_sched_fcfs_sched_all(struct sctp_stream *stream)
{ … }
static void sctp_sched_fcfs_unsched_all(struct sctp_stream *stream)
{ … }
static struct sctp_sched_ops sctp_sched_fcfs = …;
static void sctp_sched_ops_fcfs_init(void)
{ … }
static struct sctp_sched_ops *sctp_sched_ops[SCTP_SS_MAX + 1];
void sctp_sched_ops_register(enum sctp_sched_type sched,
struct sctp_sched_ops *sched_ops)
{ … }
void sctp_sched_ops_init(void)
{ … }
static void sctp_sched_free_sched(struct sctp_stream *stream)
{ … }
int sctp_sched_set_sched(struct sctp_association *asoc,
enum sctp_sched_type sched)
{ … }
int sctp_sched_get_sched(struct sctp_association *asoc)
{ … }
int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid,
__u16 value, gfp_t gfp)
{ … }
int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid,
__u16 *value)
{ … }
void sctp_sched_dequeue_done(struct sctp_outq *q, struct sctp_chunk *ch)
{ … }
void sctp_sched_dequeue_common(struct sctp_outq *q, struct sctp_chunk *ch)
{ … }
int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp)
{ … }
struct sctp_sched_ops *sctp_sched_ops_from_stream(struct sctp_stream *stream)
{ … }