FreeBSD kernel IPv4 code
sctp_input.h File Reference
#include <sys/cdefs.h>
Include dependency graph for sctp_input.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _NETINET_SCTP_INPUT_H_
 

Functions

 __FBSDID ("$FreeBSD$")
 
void sctp_common_input_processing (struct mbuf **, int, int, int, struct sockaddr *, struct sockaddr *, struct sctphdr *, struct sctp_chunkhdr *, uint8_t, uint8_t, uint8_t, uint32_t, uint16_t, uint32_t, uint16_t)
 
struct sctp_stream_reset_requestsctp_find_stream_reset (struct sctp_tcb *stcb, uint32_t seq, struct sctp_tmit_chunk **bchk)
 
void sctp_reset_in_stream (struct sctp_tcb *stcb, uint32_t number_entries, uint16_t *list)
 
int sctp_is_there_unsent_data (struct sctp_tcb *stcb, int so_locked)
 

Macro Definition Documentation

◆ _NETINET_SCTP_INPUT_H_

#define _NETINET_SCTP_INPUT_H_

Definition at line 39 of file sctp_input.h.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ sctp_common_input_processing()

void sctp_common_input_processing ( struct mbuf **  mm,
int  iphlen,
int  offset,
int  length,
struct sockaddr *  src,
struct sockaddr *  dst,
struct sctphdr sh,
struct sctp_chunkhdr ch,
uint8_t  compute_crc,
uint8_t  ecn_bits,
uint8_t  mflowtype,
uint32_t  mflowid,
uint16_t  fibnum,
uint32_t  vrf_id,
uint16_t  port 
)

Definition at line 5252 of file sctp_input.c.

References sctp_association::asconf_send_queue, sctp_tcb::asoc, sctp_association::authenticated, badport_bandlim(), BANDLIM_SCTP_OOTB, sctphdr::checksum, sctp_chunkhdr::chunk_type, sctp_association::control_send_queue, sctp_association::ctrl_queue_cnt, sctp_association::cumulative_tsn, sctphdr::dest_port, sctp_association::ecn_echo_cnt_onq, sctp_association::ecn_supported, sctp_inpcb::fibnum, sctp_nets::flowid, sctp_nets::flowtype, sctp_association::highest_tsn_inside_map, sctp_association::highest_tsn_inside_nr_map, sctp_inpcb::inp, IS_SCTP_CONTROL, sctp_association::local_auth_chunks, sctp_nets::mtu, sctp_association::my_vtag, sctp_association::peers_rwnd, sctp_nets::port, SCTP_ABORT_ASSOCIATION, sctp_auth_is_required_chunk, SCTP_BASE_SYSCTL, sctp_calculate_cksum(), SCTP_CE_BITS, sctp_chunk_output(), SCTP_DATA, SCTP_DEBUG_AUTH1, SCTP_DEBUG_INPUT1, SCTP_DEBUG_INPUT3, SCTP_DIAG_INFO_LEN, sctp_tcb::sctp_ep, sctp_findassociation_addr(), sctp_generate_cause(), SCTP_GET_STATE, sctp_handle_cookie_ack(), sctp_handle_ootb(), SCTP_INIT, SCTP_INITIATION, SCTP_INP_DECR_REF, SCTP_INP_WLOCK, SCTP_INP_WUNLOCK, SCTP_OUTPUT_FROM_CONTROL_PROC, SCTP_OUTPUT_FROM_INPUT_ERROR, sctp_pathmtu_adjustment(), SCTP_PROBE5, sctp_process_control(), sctp_process_data(), sctp_sack_check(), sctp_send_abort(), sctp_send_ecn_echo(), sctp_send_packet_dropped(), sctp_send_shutdown_complete2(), SCTP_SHUTDOWN_ACK, SCTP_SHUTDOWN_COMPLETE, SCTP_SNPRINTF, SCTP_SO_NOT_LOCKED, SCTP_STAT_INCR, SCTP_STAT_INCR_COUNTER32, SCTP_STAT_INCR_COUNTER64, SCTP_STATE_ABOUT_TO_BE_FREED, SCTP_STATE_COOKIE_ECHOED, SCTP_STATE_COOKIE_WAIT, SCTP_STATE_EMPTY, SCTP_STATE_INUSE, SCTP_STATE_OPEN, SCTP_STATE_SHUTDOWN_ACK_SENT, SCTP_STATE_SHUTDOWN_RECEIVED, SCTP_STATE_SHUTDOWN_SENT, SCTP_STATE_WAS_ABORTED, SCTP_TCB_UNLOCK, SCTP_TSN_GT, SCTPDBG, sctp_association::seen_a_sack_this_pkt, sctp_association::send_sack, sctp_association::smallest_mtu, sctp_association::state, sctp_association::total_flight, sctp_association::total_output_queue_size, sctp_association::trigger_reset, and sctphdr::v_tag.

Here is the call graph for this function:

◆ sctp_find_stream_reset()

◆ sctp_is_there_unsent_data()

◆ sctp_reset_in_stream()

void sctp_reset_in_stream ( struct sctp_tcb stcb,
uint32_t  number_entries,
uint16_t list 
)