summaryrefslogtreecommitdiffstats
path: root/src/vnet/bfd/bfd_main.h
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2016-12-19 09:05:21 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-03 18:45:03 +0000
commit3e0a35613602ff7abf7348f7652b1d29b1352d1f (patch)
treec1340b25abb2e87ffe290f8e158f218570a25f3a /src/vnet/bfd/bfd_main.h
parent0c3d467df4c5651df03895d06444f6e830e9688c (diff)
BFD: immediately honor reduced remote_min_rx interval
Change-Id: I7f09b45c926557d2ad0e2706b38fa56ff8194a3d Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vnet/bfd/bfd_main.h')
-rw-r--r--src/vnet/bfd/bfd_main.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/vnet/bfd/bfd_main.h b/src/vnet/bfd/bfd_main.h
index c72ea92a70f..cc82c839ce9 100644
--- a/src/vnet/bfd/bfd_main.h
+++ b/src/vnet/bfd/bfd_main.h
@@ -75,16 +75,19 @@ typedef struct
/* desired min tx interval (clocks) */
u64 desired_min_tx_clocks;
- /* required min rx interval */
+ /* required min rx interval (microseconds) */
u32 required_min_rx_us;
+ /* required min echo rx interval (microseconds) */
+ u32 required_min_echo_rx_us;
+
/* remote min rx interval (microseconds) */
u32 remote_min_rx_us;
/* remote min rx interval (clocks) */
u64 remote_min_rx_clocks;
- /* remote desired min tx interval */
+ /* remote desired min tx interval (microseconds) */
u32 remote_desired_min_tx_us;
/* 1 if in demand mode, 0 otherwise */
@@ -108,6 +111,9 @@ typedef struct
/* next time at which to transmit a packet */
u64 tx_timeout_clocks;
+ /* timestamp of last packet transmitted */
+ u64 last_tx_clocks;
+
/* timestamp of last packet received */
u64 last_rx_clocks;