aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/flowprobe/flowprobe.h
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2017-06-13 21:15:40 +0200
committerPavel Kotucek <pkotucek@cisco.com>2017-06-27 12:01:34 +0200
commited92925f4d5535d7dd3e6de058ae90af209d5a8f (patch)
treede87748974eac8e7260e11267ef446f2599708a6 /src/plugins/flowprobe/flowprobe.h
parent75c3995b218c1604ccee7f9aa052191214f4067f (diff)
FLOWPROBE: Add flowstartns, flowendns and tcpcontrolbits
- fixed problem with tcp_flag - changed flowtimestamp into NTP format Change-Id: I4ef05d6c69c5c078a0c80d59c5ccb0c85b924ba6 Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/plugins/flowprobe/flowprobe.h')
-rw-r--r--src/plugins/flowprobe/flowprobe.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/plugins/flowprobe/flowprobe.h b/src/plugins/flowprobe/flowprobe.h
index 196c92a7f35..760e924185c 100644
--- a/src/plugins/flowprobe/flowprobe.h
+++ b/src/plugins/flowprobe/flowprobe.h
@@ -98,12 +98,27 @@ STATIC_ASSERT (sizeof (flowprobe_key_t) == FLOWPROBE_KEY_IN_U32 *
typedef struct
{
+ u32 sec;
+ u32 nsec;
+} timestamp_nsec_t;
+
+typedef struct
+{
flowprobe_key_t key;
u64 packetcount;
u64 octetcount;
+ timestamp_nsec_t flow_start;
+ timestamp_nsec_t flow_end;
f64 last_updated;
f64 last_exported;
u32 passive_timer_handle;
+ union
+ {
+ struct
+ {
+ u16 flags;
+ } tcp;
+ } prot;
} flowprobe_entry_t;
/**