SCTP: refactoring 12/10512/3
authorMarco Varlese <marco.varlese@suse.com>
Tue, 13 Feb 2018 11:38:52 +0000 (12:38 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Thu, 15 Feb 2018 07:31:01 +0000 (07:31 +0000)
commita38783e0d1ab1d4c661570a1ec90670a1fb0598d
tree0506e7820911191e9e80ceb0dd6172b3e7a888c8
parent4941fcc23ab01f5ca918e56489d404b92d8bde90
SCTP: refactoring

This patch takes care of some refactoring, including the initialization
of the timestamp to calculate the RTO, the output state-machine
validation which can be enabled (disabled by default) when debugging and
some clean-up of unused fields.
It also addresses the requirement of Karn's algorithm when computing the
RTO.

Change-Id: I6b875152369bff23cad085708cec1f7e1151cfa8
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