FreeBSD kernel IPv4 code
sctp_ss_functions.c File Reference
#include <sys/cdefs.h>
#include <netinet/sctp_pcb.h>
Include dependency graph for sctp_ss_functions.c:

Go to the source code of this file.

Functions

 __FBSDID ("$FreeBSD$")
 
static void sctp_ss_default_add (struct sctp_tcb *, struct sctp_association *, struct sctp_stream_out *, struct sctp_stream_queue_pending *)
 
static void sctp_ss_default_remove (struct sctp_tcb *, struct sctp_association *, struct sctp_stream_out *, struct sctp_stream_queue_pending *)
 
static void sctp_ss_default_init (struct sctp_tcb *stcb, struct sctp_association *asoc)
 
static void sctp_ss_default_clear (struct sctp_tcb *stcb, struct sctp_association *asoc, bool clear_values SCTP_UNUSED)
 
static void sctp_ss_default_init_stream (struct sctp_tcb *stcb, struct sctp_stream_out *strq, struct sctp_stream_out *with_strq)
 
static void sctp_ss_default_add (struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED)
 
static bool sctp_ss_default_is_empty (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc)
 
static void sctp_ss_default_remove (struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED)
 
static struct sctp_stream_outsctp_ss_default_select (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, struct sctp_association *asoc)
 
static void sctp_ss_default_scheduled (struct sctp_tcb *stcb, struct sctp_nets *net SCTP_UNUSED, struct sctp_association *asoc, struct sctp_stream_out *strq, int moved_how_much SCTP_UNUSED)
 
static void sctp_ss_default_packet_done (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net SCTP_UNUSED, struct sctp_association *asoc SCTP_UNUSED)
 
static int sctp_ss_default_get_value (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc SCTP_UNUSED, struct sctp_stream_out *strq SCTP_UNUSED, uint16_t *value SCTP_UNUSED)
 
static int sctp_ss_default_set_value (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc SCTP_UNUSED, struct sctp_stream_out *strq SCTP_UNUSED, uint16_t value SCTP_UNUSED)
 
static bool sctp_ss_default_is_user_msgs_incomplete (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc)
 
static void sctp_ss_rr_add (struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED)
 
static struct sctp_stream_outsctp_ss_rrp_select (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net SCTP_UNUSED, struct sctp_association *asoc)
 
static void sctp_ss_rrp_packet_done (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, struct sctp_association *asoc)
 
static void sctp_ss_prio_clear (struct sctp_tcb *stcb, struct sctp_association *asoc, bool clear_values)
 
static void sctp_ss_prio_init_stream (struct sctp_tcb *stcb, struct sctp_stream_out *strq, struct sctp_stream_out *with_strq)
 
static void sctp_ss_prio_add (struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED)
 
static void sctp_ss_prio_remove (struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED)
 
static struct sctp_stream_outsctp_ss_prio_select (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, struct sctp_association *asoc)
 
static int sctp_ss_prio_get_value (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc SCTP_UNUSED, struct sctp_stream_out *strq, uint16_t *value)
 
static int sctp_ss_prio_set_value (struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, uint16_t value)
 
static void sctp_ss_fb_clear (struct sctp_tcb *stcb, struct sctp_association *asoc, bool clear_values)
 
static void sctp_ss_fb_init_stream (struct sctp_tcb *stcb, struct sctp_stream_out *strq, struct sctp_stream_out *with_strq)
 
static void sctp_ss_fb_add (struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED)
 
static void sctp_ss_fb_remove (struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED)
 
static struct sctp_stream_outsctp_ss_fb_select (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, struct sctp_association *asoc)
 
static void sctp_ss_fb_scheduled (struct sctp_tcb *stcb, struct sctp_nets *net SCTP_UNUSED, struct sctp_association *asoc, struct sctp_stream_out *strq, int moved_how_much SCTP_UNUSED)
 
static void sctp_ss_fcfs_add (struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq SCTP_UNUSED, struct sctp_stream_queue_pending *sp)
 
static void sctp_ss_fcfs_init (struct sctp_tcb *stcb, struct sctp_association *asoc)
 
static void sctp_ss_fcfs_clear (struct sctp_tcb *stcb, struct sctp_association *asoc, bool clear_values SCTP_UNUSED)
 
static void sctp_ss_fcfs_init_stream (struct sctp_tcb *stcb, struct sctp_stream_out *strq, struct sctp_stream_out *with_strq)
 
static bool sctp_ss_fcfs_is_empty (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc)
 
static void sctp_ss_fcfs_remove (struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq SCTP_UNUSED, struct sctp_stream_queue_pending *sp)
 
static struct sctp_stream_outsctp_ss_fcfs_select (struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, struct sctp_association *asoc)
 
static void sctp_ss_fcfs_scheduled (struct sctp_tcb *stcb, struct sctp_nets *net SCTP_UNUSED, struct sctp_association *asoc, struct sctp_stream_out *strq, int moved_how_much SCTP_UNUSED)
 

Variables

const struct sctp_ss_functions sctp_ss_functions []
 

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ sctp_ss_default_add() [1/2]

static void sctp_ss_default_add ( struct sctp_tcb ,
struct sctp_association ,
struct sctp_stream_out ,
struct sctp_stream_queue_pending  
)
static

◆ sctp_ss_default_add() [2/2]

◆ sctp_ss_default_clear()

◆ sctp_ss_default_get_value()

static int sctp_ss_default_get_value ( struct sctp_tcb *stcb  SCTP_UNUSED,
struct sctp_association *asoc  SCTP_UNUSED,
struct sctp_stream_out *strq  SCTP_UNUSED,
uint16_t *value  SCTP_UNUSED 
)
static

Definition at line 249 of file sctp_ss_functions.c.

◆ sctp_ss_default_init()

◆ sctp_ss_default_init_stream()

static void sctp_ss_default_init_stream ( struct sctp_tcb stcb,
struct sctp_stream_out strq,
struct sctp_stream_out with_strq 
)
static

◆ sctp_ss_default_is_empty()

static bool sctp_ss_default_is_empty ( struct sctp_tcb *stcb  SCTP_UNUSED,
struct sctp_association asoc 
)
static

◆ sctp_ss_default_is_user_msgs_incomplete()

static bool sctp_ss_default_is_user_msgs_incomplete ( struct sctp_tcb *stcb  SCTP_UNUSED,
struct sctp_association asoc 
)
static

◆ sctp_ss_default_packet_done()

static void sctp_ss_default_packet_done ( struct sctp_tcb *stcb  SCTP_UNUSED,
struct sctp_nets *net  SCTP_UNUSED,
struct sctp_association *asoc  SCTP_UNUSED 
)
static

Definition at line 241 of file sctp_ss_functions.c.

◆ sctp_ss_default_remove() [1/2]

static void sctp_ss_default_remove ( struct sctp_tcb ,
struct sctp_association ,
struct sctp_stream_out ,
struct sctp_stream_queue_pending  
)
static

◆ sctp_ss_default_remove() [2/2]

◆ sctp_ss_default_scheduled()

static void sctp_ss_default_scheduled ( struct sctp_tcb stcb,
struct sctp_nets *net  SCTP_UNUSED,
struct sctp_association asoc,
struct sctp_stream_out strq,
int moved_how_much  SCTP_UNUSED 
)
static

◆ sctp_ss_default_select()

◆ sctp_ss_default_set_value()

static int sctp_ss_default_set_value ( struct sctp_tcb *stcb  SCTP_UNUSED,
struct sctp_association *asoc  SCTP_UNUSED,
struct sctp_stream_out *strq  SCTP_UNUSED,
uint16_t value  SCTP_UNUSED 
)
static

Definition at line 257 of file sctp_ss_functions.c.

◆ sctp_ss_fb_add()

◆ sctp_ss_fb_clear()

◆ sctp_ss_fb_init_stream()

◆ sctp_ss_fb_remove()

◆ sctp_ss_fb_scheduled()

◆ sctp_ss_fb_select()

◆ sctp_ss_fcfs_add()

static void sctp_ss_fcfs_add ( struct sctp_tcb stcb,
struct sctp_association asoc,
struct sctp_stream_out *strq  SCTP_UNUSED,
struct sctp_stream_queue_pending sp 
)
static

Definition at line 805 of file sctp_ss_functions.c.

References scheduling_data::list, scheduling_data::out, sctp_stream_queue_pending::scheduled, SCTP_TCB_SEND_LOCK_ASSERT, and sctp_association::ss_data.

Referenced by sctp_ss_fcfs_init().

Here is the caller graph for this function:

◆ sctp_ss_fcfs_clear()

static void sctp_ss_fcfs_clear ( struct sctp_tcb stcb,
struct sctp_association asoc,
bool clear_values  SCTP_UNUSED 
)
static

◆ sctp_ss_fcfs_init()

static void sctp_ss_fcfs_init ( struct sctp_tcb stcb,
struct sctp_association asoc 
)
static

◆ sctp_ss_fcfs_init_stream()

static void sctp_ss_fcfs_init_stream ( struct sctp_tcb stcb,
struct sctp_stream_out strq,
struct sctp_stream_out with_strq 
)
static

◆ sctp_ss_fcfs_is_empty()

static bool sctp_ss_fcfs_is_empty ( struct sctp_tcb *stcb  SCTP_UNUSED,
struct sctp_association asoc 
)
static

◆ sctp_ss_fcfs_remove()

static void sctp_ss_fcfs_remove ( struct sctp_tcb stcb,
struct sctp_association asoc,
struct sctp_stream_out *strq  SCTP_UNUSED,
struct sctp_stream_queue_pending sp 
)
static

◆ sctp_ss_fcfs_scheduled()

static void sctp_ss_fcfs_scheduled ( struct sctp_tcb stcb,
struct sctp_nets *net  SCTP_UNUSED,
struct sctp_association asoc,
struct sctp_stream_out strq,
int moved_how_much  SCTP_UNUSED 
)
static

◆ sctp_ss_fcfs_select()

◆ sctp_ss_prio_add()

static void sctp_ss_prio_add ( struct sctp_tcb stcb,
struct sctp_association asoc,
struct sctp_stream_out strq,
struct sctp_stream_queue_pending *sp  SCTP_UNUSED 
)
static

◆ sctp_ss_prio_clear()

◆ sctp_ss_prio_get_value()

static int sctp_ss_prio_get_value ( struct sctp_tcb *stcb  SCTP_UNUSED,
struct sctp_association *asoc  SCTP_UNUSED,
struct sctp_stream_out strq,
uint16_t value 
)
static

◆ sctp_ss_prio_init_stream()

◆ sctp_ss_prio_remove()

◆ sctp_ss_prio_select()

◆ sctp_ss_prio_set_value()

static int sctp_ss_prio_set_value ( struct sctp_tcb stcb,
struct sctp_association asoc,
struct sctp_stream_out strq,
uint16_t  value 
)
static

◆ sctp_ss_rr_add()

◆ sctp_ss_rrp_packet_done()

◆ sctp_ss_rrp_select()

static struct sctp_stream_out * sctp_ss_rrp_select ( struct sctp_tcb *stcb  SCTP_UNUSED,
struct sctp_nets *net  SCTP_UNUSED,
struct sctp_association asoc 
)
static

Variable Documentation

◆ sctp_ss_functions

Definition at line 899 of file sctp_ss_functions.c.