X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fflowprobe%2Fflowprobe.h;h=760e924185cd7d87864a69595d6897b891cd2155;hb=ed92925f4d5535d7dd3e6de058ae90af209d5a8f;hp=196c92a7f3592a7bbf648f60c360fc49a0ee02b3;hpb=75c3995b218c1604ccee7f9aa052191214f4067f;p=vpp.git 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 @@ -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"); +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; /**