aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip46_cli.c
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2019-06-24 11:52:49 +0000
committerOle Trøan <otroan@employees.org>2019-09-25 08:23:04 +0000
commit896c896a3c4ed563a270281ff8b50fd253f4833f (patch)
tree801170d6b2d3c7ae4ff782e7f7088b4d6146d393 /src/vnet/ip/ip46_cli.c
parent5e2f84d2cf97a6efa89c1c4bbf80de6a8f03d2a8 (diff)
ip: refactor reassembly
this is a preparation step for introducing other reassembly types Type: refactor Change-Id: I197e299dbd729b00eead31667913b8ceff915d63 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip46_cli.c')
-rw-r--r--src/vnet/ip/ip46_cli.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/vnet/ip/ip46_cli.c b/src/vnet/ip/ip46_cli.c
index e0e26a2ce5d..ee797ab7068 100644
--- a/src/vnet/ip/ip46_cli.c
+++ b/src/vnet/ip/ip46_cli.c
@@ -38,8 +38,8 @@
*/
#include <vnet/ip/ip.h>
-#include <vnet/ip/ip4_reassembly.h>
-#include <vnet/ip/ip6_reassembly.h>
+#include <vnet/ip/reass/ip4_full_reass.h>
+#include <vnet/ip/reass/ip6_full_reass.h>
/**
* @file
@@ -269,26 +269,26 @@ set_reassembly_command_fn (vlib_main_t * vm,
}
- vnet_api_error_t rv4 = ip4_reass_enable_disable (sw_if_index, ip4_on);
- vnet_api_error_t rv6 = ip6_reass_enable_disable (sw_if_index, ip6_on);
+ vnet_api_error_t rv4 = ip4_full_reass_enable_disable (sw_if_index, ip4_on);
+ vnet_api_error_t rv6 = ip6_full_reass_enable_disable (sw_if_index, ip6_on);
if (rv4 && rv6)
{
return clib_error_return (0,
- "`ip4_reass_enable_disable' API call failed, rv=%d:%U, "
- "`ip6_reass_enable_disable' API call failed, rv=%d:%U",
+ "`ip4_full_reass_enable_disable' API call failed, rv=%d:%U, "
+ "`ip6_full_reass_enable_disable' API call failed, rv=%d:%U",
(int) rv4, format_vnet_api_errno, rv4,
(int) rv6, format_vnet_api_errno, rv6);
}
else if (rv4)
{
return clib_error_return (0,
- "`ip4_reass_enable_disable' API call failed, rv=%d:%U",
+ "`ip4_full_reass_enable_disable' API call failed, rv=%d:%U",
(int) rv4, format_vnet_api_errno, rv4);
}
else if (rv6)
{
return clib_error_return (0,
- "`ip6_reass_enable_disable' API call failed, rv=%d:%U",
+ "`ip6_full_reass_enable_disable' API call failed, rv=%d:%U",
(int) rv6, format_vnet_api_errno, rv6);
}
return NULL;