diff options
author | Juraj Sloboda <jsloboda@cisco.com> | 2016-07-06 23:11:47 -0700 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2016-07-08 11:24:39 +0000 |
commit | 837fbb119c0dcd10594485d15d700ceec7c0f33a (patch) | |
tree | 096431a38daca4e093eafc90c32afcd8859bd3b8 /vnet | |
parent | 483f668eda5382912d99b81e94a1e34311ded1ed (diff) |
Add binary API for IPFIX
Change-Id: I3346b18126d65b72726e977dfb11ba4c380056c0
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/flow/flow_report.c | 2 | ||||
-rw-r--r-- | vnet/vnet/flow/flow_report.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/vnet/vnet/flow/flow_report.c b/vnet/vnet/flow/flow_report.c index 77f92b132fe..38ad6136ef6 100644 --- a/vnet/vnet/flow/flow_report.c +++ b/vnet/vnet/flow/flow_report.c @@ -18,6 +18,8 @@ #include <vnet/flow/flow_report.h> #include <vnet/api_errno.h> +flow_report_main_t flow_report_main; + int send_template_packet (flow_report_main_t *frm, flow_report_t *fr, u32 * buffer_indexp) diff --git a/vnet/vnet/flow/flow_report.h b/vnet/vnet/flow/flow_report.h index 50e15449d53..27aa81ae3ca 100644 --- a/vnet/vnet/flow/flow_report.h +++ b/vnet/vnet/flow/flow_report.h @@ -97,7 +97,7 @@ typedef struct flow_report_main { vnet_main_t * vnet_main; } flow_report_main_t; -flow_report_main_t flow_report_main; +extern flow_report_main_t flow_report_main; extern vlib_node_registration_t flow_report_process_node; @@ -115,4 +115,6 @@ typedef struct { int vnet_flow_report_add_del (flow_report_main_t *frm, vnet_flow_report_add_del_args_t *a); +void vnet_flow_reports_reset (flow_report_main_t * frm); + #endif /* __included_vnet_flow_report_h__ */ |