webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
sctp_indata.c File Reference
#include <netinet/sctp_os.h>
#include <netinet/sctp_var.h>
#include <netinet/sctp_sysctl.h>
#include <netinet/sctp_header.h>
#include <netinet/sctp_pcb.h>
#include <netinet/sctputil.h>
#include <netinet/sctp_output.h>
#include <netinet/sctp_uio.h>
#include <netinet/sctp_auth.h>
#include <netinet/sctp_timer.h>
#include <netinet/sctp_asconf.h>
#include <netinet/sctp_indata.h>
#include <netinet/sctp_bsd_addr.h>
#include <netinet/sctp_input.h>
#include <netinet/sctp_crc32.h>

Functions

void sctp_set_rwnd (struct sctp_tcb *stcb, struct sctp_association *asoc)
 
uint32_t sctp_calc_rwnd (struct sctp_tcb *stcb, struct sctp_association *asoc)
 
struct sctp_queued_to_readsctp_build_readq_entry (struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t tsn, uint32_t ppid, uint32_t context, uint16_t stream_no, uint32_t stream_seq, uint8_t flags, struct mbuf *dm)
 
struct mbufsctp_build_ctl_nchunk (struct sctp_inpcb *inp, struct sctp_sndrcvinfo *sinfo)
 
void sctp_slide_mapping_arrays (struct sctp_tcb *stcb)
 
void sctp_sack_check (struct sctp_tcb *stcb, int was_a_gap)
 
int sctp_process_data (struct mbuf **mm, int iphlen, int *offset, int length, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t *high_tsn)
 
struct sctp_tmit_chunksctp_try_advance_peer_ack_point (struct sctp_tcb *stcb, struct sctp_association *asoc)
 
void sctp_express_handle_sack (struct sctp_tcb *stcb, uint32_t cumack, uint32_t rwnd, int *abort_now, int ecne_seen)
 
void sctp_handle_sack (struct mbuf *m, int offset_seg, int offset_dup, struct sctp_tcb *stcb, uint16_t num_seg, uint16_t num_nr_seg, uint16_t num_dup, int *abort_now, uint8_t flags, uint32_t cum_ack, uint32_t rwnd, int ecne_seen)
 
void sctp_update_acked (struct sctp_tcb *stcb, struct sctp_shutdown_chunk *cp, int *abort_flag)
 
void sctp_handle_forward_tsn (struct sctp_tcb *stcb, struct sctp_forward_tsn_chunk *fwd, int *abort_flag, struct mbuf *m, int offset)
 

Function Documentation

◆ sctp_build_ctl_nchunk()

struct mbuf* sctp_build_ctl_nchunk ( struct sctp_inpcb inp,
struct sctp_sndrcvinfo sinfo 
)

◆ sctp_build_readq_entry()

struct sctp_queued_to_read* sctp_build_readq_entry ( struct sctp_tcb stcb,
struct sctp_nets net,
uint32_t  tsn,
uint32_t  ppid,
uint32_t  context,
uint16_t  stream_no,
uint32_t  stream_seq,
uint8_t  flags,
struct mbuf dm 
)

◆ sctp_calc_rwnd()

uint32_t sctp_calc_rwnd ( struct sctp_tcb stcb,
struct sctp_association asoc 
)

◆ sctp_express_handle_sack()

void sctp_express_handle_sack ( struct sctp_tcb stcb,
uint32_t  cumack,
uint32_t  rwnd,
int *  abort_now,
int  ecne_seen 
)

◆ sctp_handle_forward_tsn()

void sctp_handle_forward_tsn ( struct sctp_tcb stcb,
struct sctp_forward_tsn_chunk fwd,
int *  abort_flag,
struct mbuf m,
int  offset 
)

◆ sctp_handle_sack()

void sctp_handle_sack ( struct mbuf m,
int  offset_seg,
int  offset_dup,
struct sctp_tcb stcb,
uint16_t  num_seg,
uint16_t  num_nr_seg,
uint16_t  num_dup,
int *  abort_now,
uint8_t  flags,
uint32_t  cum_ack,
uint32_t  rwnd,
int  ecne_seen 
)

◆ sctp_process_data()

int sctp_process_data ( struct mbuf **  mm,
int  iphlen,
int *  offset,
int  length,
struct sctp_inpcb inp,
struct sctp_tcb stcb,
struct sctp_nets net,
uint32_t high_tsn 
)

◆ sctp_sack_check()

void sctp_sack_check ( struct sctp_tcb stcb,
int  was_a_gap 
)

◆ sctp_set_rwnd()

void sctp_set_rwnd ( struct sctp_tcb stcb,
struct sctp_association asoc 
)

◆ sctp_slide_mapping_arrays()

void sctp_slide_mapping_arrays ( struct sctp_tcb stcb)

◆ sctp_try_advance_peer_ack_point()

struct sctp_tmit_chunk* sctp_try_advance_peer_ack_point ( struct sctp_tcb stcb,
struct sctp_association asoc 
)

◆ sctp_update_acked()

void sctp_update_acked ( struct sctp_tcb stcb,
struct sctp_shutdown_chunk cp,
int *  abort_flag 
)