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

Go to the source code of this file.

Macros

#define _NETINET_SCTP_TIMER_H_
 
#define SCTP_RTT_SHIFT   3
 
#define SCTP_RTT_VAR_SHIFT   2
 

Functions

 __FBSDID ("$FreeBSD$")
 
struct sctp_netssctp_find_alternate_net (struct sctp_tcb *, struct sctp_nets *, int)
 
int sctp_t3rxt_timer (struct sctp_inpcb *, struct sctp_tcb *, struct sctp_nets *)
 
int sctp_t1init_timer (struct sctp_inpcb *, struct sctp_tcb *, struct sctp_nets *)
 
int sctp_shutdown_timer (struct sctp_inpcb *, struct sctp_tcb *, struct sctp_nets *)
 
int sctp_heartbeat_timer (struct sctp_inpcb *, struct sctp_tcb *, struct sctp_nets *)
 
int sctp_cookie_timer (struct sctp_inpcb *, struct sctp_tcb *, struct sctp_nets *)
 
void sctp_pathmtu_timer (struct sctp_inpcb *, struct sctp_tcb *, struct sctp_nets *)
 
int sctp_shutdownack_timer (struct sctp_inpcb *, struct sctp_tcb *, struct sctp_nets *)
 
int sctp_strreset_timer (struct sctp_inpcb *, struct sctp_tcb *)
 
int sctp_asconf_timer (struct sctp_inpcb *, struct sctp_tcb *, struct sctp_nets *)
 
void sctp_delete_prim_timer (struct sctp_inpcb *, struct sctp_tcb *)
 
void sctp_autoclose_timer (struct sctp_inpcb *, struct sctp_tcb *)
 
void sctp_audit_retranmission_queue (struct sctp_association *)
 
void sctp_iterator_timer (struct sctp_iterator *it)
 

Macro Definition Documentation

◆ _NETINET_SCTP_TIMER_H_

#define _NETINET_SCTP_TIMER_H_

Definition at line 39 of file sctp_timer.h.

◆ SCTP_RTT_SHIFT

#define SCTP_RTT_SHIFT   3

Definition at line 43 of file sctp_timer.h.

◆ SCTP_RTT_VAR_SHIFT

#define SCTP_RTT_VAR_SHIFT   2

Definition at line 44 of file sctp_timer.h.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ sctp_asconf_timer()

◆ sctp_audit_retranmission_queue()

◆ sctp_autoclose_timer()

◆ sctp_cookie_timer()

int sctp_cookie_timer ( struct sctp_inpcb ,
struct sctp_tcb ,
struct sctp_nets  
)

◆ sctp_delete_prim_timer()

◆ sctp_find_alternate_net()

◆ sctp_heartbeat_timer()

◆ sctp_iterator_timer()

void sctp_iterator_timer ( struct sctp_iterator it)

◆ sctp_pathmtu_timer()

◆ sctp_shutdown_timer()

int sctp_shutdown_timer ( struct sctp_inpcb inp,
struct sctp_tcb stcb,
struct sctp_nets net 
)

Definition at line 1301 of file sctp_timer.c.

References sctp_tcb::asoc, sctp_association::max_send_times, sctp_backoff_on_timeout(), sctp_find_alternate_net(), sctp_send_shutdown(), sctp_threshold_management(), sctp_timer_start(), and SCTP_TIMER_TYPE_SHUTDOWN.

Referenced by sctp_timeout_handler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sctp_shutdownack_timer()

int sctp_shutdownack_timer ( struct sctp_inpcb inp,
struct sctp_tcb stcb,
struct sctp_nets net 
)

Definition at line 1324 of file sctp_timer.c.

References sctp_tcb::asoc, sctp_association::max_send_times, sctp_backoff_on_timeout(), sctp_find_alternate_net(), sctp_send_shutdown_ack(), sctp_threshold_management(), sctp_timer_start(), and SCTP_TIMER_TYPE_SHUTDOWNACK.

Referenced by sctp_timeout_handler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sctp_strreset_timer()

◆ sctp_t1init_timer()

◆ sctp_t3rxt_timer()

int sctp_t3rxt_timer ( struct sctp_inpcb inp,
struct sctp_tcb stcb,
struct sctp_nets net 
)

Definition at line 816 of file sctp_timer.c.

References sctp_net_route::_s_addr, sctp_association::advanced_peer_ack_point, sctp_association::alternate, sctp_tcb::asoc, sctp_association::cc_functions, sctp_nets::cwnd, sctp_nets::dest_state, sctp_nets::failure_threshold, sctp_nets::fast_retran_loss_recovery, sctp_association::fast_retran_loss_recovery, sctp_nets::find_pseudo_cumack, sctp_nets::find_rtx_pseudo_cumack, sctp_nets::flight_size, sctp_association::last_acked_seq, sctp_nets::last_sent_time, sctp_association::max_send_times, sctp_nets::mtu, sctp_association::nets, sctp_association::peers_rwnd, sctp_nets::pf_threshold, sctp_association::primary_destination, sctp_association::prsctp_supported, sctp_nets::ref_count, sctp_nets::ro, sctp_nets::RTO, sctp_association::sat_t3_loss_recovery, sctp_association::sat_t3_recovery_tsn, SCTP_ADDR_PF, SCTP_ADDR_REACHABLE, sctp_backoff_on_timeout(), SCTP_BASE_SYSCTL, sctp_association::sctp_cmt_on_off, SCTP_CWND_LOG_FROM_RTX, SCTP_CWND_LOG_FROM_T3, SCTP_CWND_LOGGING_ENABLE, SCTP_CWND_MONITOR_ENABLE, sctp_cc_functions::sctp_cwnd_new_transmission_begins, sctp_tcb::sctp_ep, sctp_find_alternate_net(), SCTP_FR_LOGGING_ENABLE, SCTP_FR_T3_TIMEOUT, sctp_free_ifa(), sctp_free_remote_addr, SCTP_GET_STATE, SCTP_GETTIME_TIMEVAL, sctp_log_cwnd(), sctp_log_fr(), sctp_mark_all_for_resend(), sctp_move_chunks_from_net(), sctp_send_hb(), SCTP_SO_NOT_LOCKED, SCTP_STAT_INCR, SCTP_STATE_COOKIE_ECHOED, sctp_threshold_management(), sctp_timer_start(), SCTP_TIMER_TYPE_SEND, sctp_try_advance_peer_ack_point(), SCTP_TSN_GT, send_forward_tsn(), sctp_association::sending_seq, sctp_nets::src_addr_selected, sctp_association::total_flight, and sctp_tmit_chunk::whoTo.

Referenced by sctp_assoc_immediate_retrans(), and sctp_timeout_handler().

Here is the call graph for this function:
Here is the caller graph for this function: