diff options
author | Dave Barach <dave@barachs.net> | 2016-11-02 18:37:56 -0400 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2016-11-03 13:29:13 +0000 |
commit | 393252a6b1757690fb83ce744e8e63af46a64453 (patch) | |
tree | 438f554a6f2060f14b82357c29d8fe32ba3c5b63 /plugins/flowperpkt-plugin/flowperpkt/flowperpkt.h | |
parent | ed4a2fdd4d62c46a2237157cd3a72bda16fceb6a (diff) |
Timestamp now a 64-bit integer: ns since 1/1/1970
Properly initialize allocated buffers
Change-Id: Ib2005e605c89a164a4856790db6968fcd7520f5c
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'plugins/flowperpkt-plugin/flowperpkt/flowperpkt.h')
-rw-r--r-- | plugins/flowperpkt-plugin/flowperpkt/flowperpkt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/flowperpkt-plugin/flowperpkt/flowperpkt.h b/plugins/flowperpkt-plugin/flowperpkt/flowperpkt.h index 54d978ab1ea..5ddba9ce1da 100644 --- a/plugins/flowperpkt-plugin/flowperpkt/flowperpkt.h +++ b/plugins/flowperpkt-plugin/flowperpkt/flowperpkt.h @@ -48,6 +48,10 @@ typedef struct /** next record offset, per worker thread */ u16 *next_record_offset_per_worker; + /** Time reference pair */ + u64 nanosecond_time_0; + f64 vlib_time_0; + /** convenience vlib_main_t pointer */ vlib_main_t *vlib_main; /** convenience vnet_main_t pointer */ |