Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
FLOWPROBE: Add flowstartns, flowendns and tcpcontrolbits
[vpp.git]
/
src
/
plugins
/
flowprobe
/
flowprobe.h
diff --git
a/src/plugins/flowprobe/flowprobe.h
b/src/plugins/flowprobe/flowprobe.h
index
196c92a
..
760e924
100644
(file)
--- a/
src/plugins/flowprobe/flowprobe.h
+++ b/
src/plugins/flowprobe/flowprobe.h
@@
-96,14
+96,29
@@
typedef CLIB_PACKED (union
STATIC_ASSERT (sizeof (flowprobe_key_t) == FLOWPROBE_KEY_IN_U32 *
sizeof (u32), "flowprobe_key_t padding is wrong");
STATIC_ASSERT (sizeof (flowprobe_key_t) == FLOWPROBE_KEY_IN_U32 *
sizeof (u32), "flowprobe_key_t padding is wrong");
+typedef struct
+{
+ u32 sec;
+ u32 nsec;
+} timestamp_nsec_t;
+
typedef struct
{
flowprobe_key_t key;
u64 packetcount;
u64 octetcount;
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;
f64 last_updated;
f64 last_exported;
u32 passive_timer_handle;
+ union
+ {
+ struct
+ {
+ u16 flags;
+ } tcp;
+ } prot;
} flowprobe_entry_t;
/**
} flowprobe_entry_t;
/**