diff options
author | Marco Varlese <marco.varlese@suse.de> | 2018-01-26 16:50:01 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-01-31 03:29:33 +0000 |
commit | 8ad6a2dfed0a7248be9d005dd04c76da142f2238 (patch) | |
tree | e5349b5340d7944c35a6fe3c80db87bb5572f3dd /src/vnet/sctp/sctp_debug.h | |
parent | 8d6ef60b767fc0348b91b3abbf1aff2b84167c2b (diff) |
Prep-work patch for congestion-control
This patch addresses the missing field in various data-structures to
track valuable information to implement the congestion-control
algorithms and manage sub-connections states.
It adds the possibility to queue up to 2 SACKs chunks when the connection
is not gapping.
At the same time, it pushes some variable/field renaming for better
readibility.
Change-Id: Idcc53512983456779600a75e78e21af078e46602
Signed-off-by: Marco Varlese <marco.varlese@suse.de>
Diffstat (limited to 'src/vnet/sctp/sctp_debug.h')
-rw-r--r-- | src/vnet/sctp/sctp_debug.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vnet/sctp/sctp_debug.h b/src/vnet/sctp/sctp_debug.h index b422d199640..b0059d5fe67 100644 --- a/src/vnet/sctp/sctp_debug.h +++ b/src/vnet/sctp/sctp_debug.h @@ -59,4 +59,11 @@ typedef enum _sctp_dbg #define SCTP_ADV_DBG_OUTPUT(_fmt, _args...) #endif +#define SCTP_CONN_TRACKING_DEBUG (0) +#if SCTP_CONN_TRACKING_DEBUG +#define SCTP_CONN_TRACKING_DBG(_fmt, _args...) clib_warning (_fmt, ##_args) +#else +#define SCTP_CONN_TRACKING_DBG(_fmt, _args...) +#endif + #endif /* included_sctp_debug_h__ */ |