SCTP: retransmission in INIT/SHUTDOWN phase 56/10956/2
authorMarco Varlese <marco.varlese@suse.com>
Mon, 5 Mar 2018 11:31:45 +0000 (12:31 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Mon, 5 Mar 2018 13:46:32 +0000 (13:46 +0000)
commit9e09ff394ac0e731b5b33caf4d0cddff8de570b4
tree5fdb5784570dadce34afc4cfe824f51a3f00e948
parenteac3b11b67a9ee2d5b85c3e2e90220a04cd5db61
SCTP: retransmission in INIT/SHUTDOWN phase

This patch addresses the need to handle timers timeouts (e.g. sent
chunks not being acked) for both the INIT and SHUTDOWN phases.
The INIT phase requires the handling of two timers the T1-init and
T1-cookie timers whilst the SHUTDOWN phase requires the handling of the
T2-shutdown timer only for the retransmission case.
Left to be implemented is the handling of the DATA chunks retransmission
(e.g. T3-rxtx expiration) but that will be submitted with a separate
patch.

Change-Id: I2b2e13dce11000aea3c7d965f02b27b76c97e605
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
src/vnet/sctp/sctp.c
src/vnet/sctp/sctp.h
src/vnet/sctp/sctp_input.c
src/vnet/sctp/sctp_output.c