summaryrefslogtreecommitdiffstats
path: root/VNFs/UDP_Replay/main.c
diff options
context:
space:
mode:
authorAnand B Jyoti <anand.b.jyoti@intel.com>2017-08-11 02:28:13 +0530
committerAnand B Jyoti <anand.b.jyoti@intel.com>2017-09-27 03:29:34 +0530
commitd451d3d2e6423523c300488f33adb4e593d6d2cb (patch)
treefbe960345cde29db3d009b4c5d606f838567b7eb /VNFs/UDP_Replay/main.c
parent14714e067d8e04a5b0ed9ee7f57b8bacbb8bccf3 (diff)
UDP_Replay: changes for gateway packet forwarding
JIRA: SAMPLEVNF-70 Integrating gateway packet forwarding to UDP_Replay VNF. Change-Id: I00f2bc498563b81260c2c98275f7a73dbc2cb445 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
Diffstat (limited to 'VNFs/UDP_Replay/main.c')
-rw-r--r--VNFs/UDP_Replay/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/VNFs/UDP_Replay/main.c b/VNFs/UDP_Replay/main.c
index 1b37c181..56513c1b 100644
--- a/VNFs/UDP_Replay/main.c
+++ b/VNFs/UDP_Replay/main.c
@@ -94,6 +94,7 @@ performance of the solution should be sufficient for testing the UDP NAT perform
#include "lib_icmpv6.h"
#include "app.h"
#include "vnf_common.h"
+#include "gateway.h"
#define IN6ADDRSZ 16
#define INADDRSZ 4
#define APP_LOOKUP_EXACT_MATCH 0
@@ -2921,6 +2922,7 @@ main(int argc, char **argv)
ifm_init();
nb_ports = rte_eth_dev_count();
num_ports = nb_ports;
+ gw_init(num_ports);
if (nb_ports > RTE_MAX_ETHPORTS)
nb_ports = RTE_MAX_ETHPORTS;