#include <linux/list.h>
#include <net/sctp/sctp.h>
#include <net/sctp/sm.h>
#include <net/sctp/stream_sched.h>
static void sctp_sched_prio_unsched_all(struct sctp_stream *stream);
static struct sctp_stream_priorities *sctp_sched_prio_head_get(struct sctp_stream_priorities *p)
{ … }
static void sctp_sched_prio_head_put(struct sctp_stream_priorities *p)
{ … }
static struct sctp_stream_priorities *sctp_sched_prio_new_head(
struct sctp_stream *stream, int prio, gfp_t gfp)
{ … }
static struct sctp_stream_priorities *sctp_sched_prio_get_head(
struct sctp_stream *stream, int prio, gfp_t gfp)
{ … }
static void sctp_sched_prio_next_stream(struct sctp_stream_priorities *p)
{ … }
static bool sctp_sched_prio_unsched(struct sctp_stream_out_ext *soute)
{ … }
static void sctp_sched_prio_sched(struct sctp_stream *stream,
struct sctp_stream_out_ext *soute)
{ … }
static int sctp_sched_prio_set(struct sctp_stream *stream, __u16 sid,
__u16 prio, gfp_t gfp)
{ … }
static int sctp_sched_prio_get(struct sctp_stream *stream, __u16 sid,
__u16 *value)
{ … }
static int sctp_sched_prio_init(struct sctp_stream *stream)
{ … }
static int sctp_sched_prio_init_sid(struct sctp_stream *stream, __u16 sid,
gfp_t gfp)
{ … }
static void sctp_sched_prio_free_sid(struct sctp_stream *stream, __u16 sid)
{ … }
static void sctp_sched_prio_enqueue(struct sctp_outq *q,
struct sctp_datamsg *msg)
{ … }
static struct sctp_chunk *sctp_sched_prio_dequeue(struct sctp_outq *q)
{ … }
static void sctp_sched_prio_dequeue_done(struct sctp_outq *q,
struct sctp_chunk *ch)
{ … }
static void sctp_sched_prio_sched_all(struct sctp_stream *stream)
{ … }
static void sctp_sched_prio_unsched_all(struct sctp_stream *stream)
{ … }
static struct sctp_sched_ops sctp_sched_prio = …;
void sctp_sched_ops_prio_init(void)
{ … }