FreeBSD kernel IPv4 code
|
#include <sys/cdefs.h>
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_request * | sctp_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) |
#define _NETINET_SCTP_INPUT_H_ |
Definition at line 39 of file sctp_input.h.
__FBSDID | ( | "$FreeBSD$" | ) |
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.
struct sctp_stream_reset_request * sctp_find_stream_reset | ( | struct sctp_tcb * | stcb, |
uint32_t | seq, | ||
struct sctp_tmit_chunk ** | bchk | ||
) |
Definition at line 3365 of file sctp_input.c.
References sctp_tcb::asoc, sctp_tmit_chunk::asoc, sctp_association::control_send_queue, sctp_tmit_chunk::data, sctp_paramhdr::param_length, sctp_stream_reset_request::ph, sctp_stream_reset_request::request_seq, SCTP_SIZE32, sctp_tmit_chunk::send_size, sctp_association::str_reset, and sctp_association::stream_reset_outstanding.
Referenced by sctp_handle_stream_reset_response(), and sctp_strreset_timer().
int sctp_is_there_unsent_data | ( | struct sctp_tcb * | stcb, |
int | so_locked | ||
) |
Definition at line 175 of file sctp_input.c.
References sctp_tcb::asoc, sctp_stream_queue_pending::data, sctp_stream_queue_pending::length, sctp_stream_queue_pending::msg_is_complete, sctp_stream_queue_pending::net, next, sctp_stream_out::outqueue, sctp_stream_queue_pending::put_last_out, sctp_free_a_strmoq, sctp_free_remote_addr, sctp_m_freem, SCTP_PRINTF, sctp_ss_functions::sctp_ss_is_empty, sctp_ss_functions::sctp_ss_remove_from_stream, SCTP_TCB_SEND_LOCK, SCTP_TCB_SEND_UNLOCK, sctp_stream_queue_pending::sender_all_done, sctp_association::ss_functions, sctp_association::stream_queue_cnt, sctp_association::streamoutcnt, and sctp_association::strmout.
Referenced by sctp_chunk_output(), sctp_handle_shutdown(), sctp_handle_shutdown_ack(), sctp_handle_shutdown_complete(), sctp_lower_sosend(), sctp_med_chunk_output(), and sctp_sendall_iterator().
Definition at line 3290 of file sctp_input.c.
References sctp_tcb::asoc, sctp_stream_in::last_mid_delivered, SCTP_NOTIFY_STR_RESET_RECV, SCTP_SO_NOT_LOCKED, sctp_ulp_notify(), sctp_association::streamincnt, and sctp_association::strmin.
Referenced by sctp_handle_str_reset_request_out(), sctp_handle_str_reset_request_tsn(), sctp_handle_stream_reset_response(), and sctp_process_a_data_chunk().