summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2018-05-02 12:45:10 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2018-05-04 21:52:23 +0000
commita9855ef839ab99d7e66b9dd8d706b14cc8cd77dd (patch)
tree79e11f4ad26161bfa36e1f23bcd5c484ac64e517 /src/vnet
parentc44f0f238a1878b0db0c59e4c34a652d469f0090 (diff)
Flow: Rename IPFIX exporter.
Change-Id: I9363cf54b73f7cfd8622af6f1cb250438ea0d3b6 Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/ipfix-export/flow_api.c (renamed from src/vnet/flow/flow_api.c)6
-rw-r--r--src/vnet/ipfix-export/flow_report.c (renamed from src/vnet/flow/flow_report.c)2
-rw-r--r--src/vnet/ipfix-export/flow_report.h (renamed from src/vnet/flow/flow_report.h)2
-rw-r--r--src/vnet/ipfix-export/flow_report_classify.c (renamed from src/vnet/flow/flow_report_classify.c)4
-rw-r--r--src/vnet/ipfix-export/flow_report_classify.h (renamed from src/vnet/flow/flow_report_classify.h)0
-rw-r--r--src/vnet/ipfix-export/ipfix_export.api (renamed from src/vnet/flow/flow.api)0
-rw-r--r--src/vnet/ipfix-export/ipfix_info_elements.h (renamed from src/vnet/flow/ipfix_info_elements.h)0
-rw-r--r--src/vnet/ipfix-export/ipfix_packet.h (renamed from src/vnet/flow/ipfix_packet.h)2
-rw-r--r--src/vnet/vnet_all_api_h.h2
9 files changed, 9 insertions, 9 deletions
diff --git a/src/vnet/flow/flow_api.c b/src/vnet/ipfix-export/flow_api.c
index d1eb2c008c5..e6446ef7033 100644
--- a/src/vnet/flow/flow_api.c
+++ b/src/vnet/ipfix-export/flow_api.c
@@ -24,8 +24,8 @@
#include <vnet/api_errno.h>
#include <vnet/fib/fib_table.h>
-#include <vnet/flow/flow_report.h>
-#include <vnet/flow/flow_report_classify.h>
+#include <vnet/ipfix-export/flow_report.h>
+#include <vnet/ipfix-export/flow_report_classify.h>
#include <vnet/vnet_msg_enum.h>
@@ -358,7 +358,7 @@ static void
setup_message_id_table (api_main_t * am)
{
#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n "_" #crc, id);
- foreach_vl_msg_name_crc_flow;
+ foreach_vl_msg_name_crc_ipfix_export;
#undef _
}
diff --git a/src/vnet/flow/flow_report.c b/src/vnet/ipfix-export/flow_report.c
index 4b890728a8a..793eedaeb38 100644
--- a/src/vnet/flow/flow_report.c
+++ b/src/vnet/ipfix-export/flow_report.c
@@ -15,7 +15,7 @@
/*
* flow_report.c
*/
-#include <vnet/flow/flow_report.h>
+#include <vnet/ipfix-export/flow_report.h>
#include <vnet/api_errno.h>
flow_report_main_t flow_report_main;
diff --git a/src/vnet/flow/flow_report.h b/src/vnet/ipfix-export/flow_report.h
index b26345b86ed..b45ce06a880 100644
--- a/src/vnet/flow/flow_report.h
+++ b/src/vnet/ipfix-export/flow_report.h
@@ -29,7 +29,7 @@
#include <vppinfra/hash.h>
#include <vppinfra/cache.h>
-#include <vnet/flow/ipfix_packet.h>
+#include <vnet/ipfix-export/ipfix_packet.h>
/* Used to build the rewrite */
typedef struct
diff --git a/src/vnet/flow/flow_report_classify.c b/src/vnet/ipfix-export/flow_report_classify.c
index 163ce10a369..46813ee6e1b 100644
--- a/src/vnet/flow/flow_report_classify.c
+++ b/src/vnet/ipfix-export/flow_report_classify.c
@@ -12,8 +12,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#include <vnet/flow/flow_report.h>
-#include <vnet/flow/flow_report_classify.h>
+#include <vnet/ipfix-export/flow_report.h>
+#include <vnet/ipfix-export/flow_report_classify.h>
#include <vnet/api_errno.h>
/* Common prefix of tcp and udp headers
diff --git a/src/vnet/flow/flow_report_classify.h b/src/vnet/ipfix-export/flow_report_classify.h
index 0533b450122..0533b450122 100644
--- a/src/vnet/flow/flow_report_classify.h
+++ b/src/vnet/ipfix-export/flow_report_classify.h
diff --git a/src/vnet/flow/flow.api b/src/vnet/ipfix-export/ipfix_export.api
index 9bd3790a430..9bd3790a430 100644
--- a/src/vnet/flow/flow.api
+++ b/src/vnet/ipfix-export/ipfix_export.api
diff --git a/src/vnet/flow/ipfix_info_elements.h b/src/vnet/ipfix-export/ipfix_info_elements.h
index 171cdfe702e..171cdfe702e 100644
--- a/src/vnet/flow/ipfix_info_elements.h
+++ b/src/vnet/ipfix-export/ipfix_info_elements.h
diff --git a/src/vnet/flow/ipfix_packet.h b/src/vnet/ipfix-export/ipfix_packet.h
index a50d86ea379..8b026e4db27 100644
--- a/src/vnet/flow/ipfix_packet.h
+++ b/src/vnet/ipfix-export/ipfix_packet.h
@@ -15,7 +15,7 @@
#ifndef __included_ipfix_packet_h__
#define __included_ipfix_packet_h__
-#include <vnet/flow/ipfix_info_elements.h>
+#include <vnet/ipfix-export/ipfix_info_elements.h>
/* From RFC-7011:
* https://tools.ietf.org/html/rfc7011
diff --git a/src/vnet/vnet_all_api_h.h b/src/vnet/vnet_all_api_h.h
index 5c7c4869c91..9d416e92e4e 100644
--- a/src/vnet/vnet_all_api_h.h
+++ b/src/vnet/vnet_all_api_h.h
@@ -59,7 +59,7 @@
#include <vnet/srv6/sr.api.h>
#include <vnet/srmpls/sr_mpls.api.h>
#include <vnet/classify/classify.api.h>
-#include <vnet/flow/flow.api.h>
+#include <vnet/ipfix-export/ipfix_export.api.h>
#include <vnet/dhcp/dhcp.api.h>
#include <vnet/cop/cop.api.h>
#include <vnet/policer/policer.api.h>