diff options
author | Klement Sekera <ksekera@cisco.com> | 2019-06-24 11:52:49 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-10-03 08:43:03 +0000 |
commit | d46055e868b7e687f50866f8aa1cefc177836bc7 (patch) | |
tree | fe5d9a05db86996d210495c66caca2da94fbf37e /src/vnet/ip/ip46_cli.c | |
parent | 3f6e370ebd13d101ec6f54eef15e7373818801da (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>
(cherry picked from commit 896c896a3c4ed563a270281ff8b50fd253f4833f)
Diffstat (limited to 'src/vnet/ip/ip46_cli.c')
-rw-r--r-- | src/vnet/ip/ip46_cli.c | 16 |
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; |