summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/handle_cgnat.c
diff options
context:
space:
mode:
authorXavier Simonart <xavier.simonart@intel.com>2018-02-27 23:59:52 +0100
committerXavier Simonart <xavier.simonart@intel.com>2018-03-05 17:57:36 +0100
commitca950778df863a2408cbec9ba8b6fcbfe9745d76 (patch)
tree983a2e29010e54db43dc8ef2d9af0f04719e46b6 /VNFs/DPPD-PROX/handle_cgnat.c
parent167e6d113d61a4a75812d0df71843b0ab8b88784 (diff)
Fix minimum latency
Revert back part of commit 9fa316261d7d9 The function abs_diff was erroneously changed to diff_or_zero. This function was supposed to measure the difference between rx and tx time; when rx time overflowed and tx time not yet (i.e. rx time ~= 0 and tx_time ~=UINT32_MAX, this function added UINT32_MAX to rx_time. The name of the function was confusing and caused the previous commit. Net effect of previous commit was that every four seconds the minimum latency was 0 This commit reverse back to the original behavior, with a function name diff_time. Change-Id: Ia1b80e48a756cf5df411dcf58ca1cbc835214d13 Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/handle_cgnat.c')
0 files changed, 0 insertions, 0 deletions