From 96068d6b94207435f9c9619e2ce7921ebc812ade Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Wed, 1 Jul 2020 13:16:16 +0200 Subject: nat: nat66 to plugin Type: refactor Change-Id: I8c1f0c02a4522c1f9e461ddadd59938579ec00c6 Signed-off-by: Ole Troan --- extras/vom/vom/nat_binding_cmds.hpp | 5 +++-- extras/vom/vom/nat_static_cmds.cpp | 13 +++++-------- extras/vom/vom/nat_static_cmds.hpp | 1 + 3 files changed, 9 insertions(+), 10 deletions(-) (limited to 'extras') diff --git a/extras/vom/vom/nat_binding_cmds.hpp b/extras/vom/vom/nat_binding_cmds.hpp index 9b59d0dbd2c..40507e0374b 100644 --- a/extras/vom/vom/nat_binding_cmds.hpp +++ b/extras/vom/vom/nat_binding_cmds.hpp @@ -21,6 +21,7 @@ #include "vom/rpc_cmd.hpp" #include +#include namespace VOM { namespace nat_binding_cmds { @@ -253,8 +254,8 @@ private: ///// /** -* A functor class that binds a NAT configuration to an input interface -*/ + * A functor class that binds a NAT configuration to an input interface + */ class bind_66_input_cmd : public rpc_cmd, vapi::Nat66_add_del_interface> { diff --git a/extras/vom/vom/nat_static_cmds.cpp b/extras/vom/vom/nat_static_cmds.cpp index 0c4d7283ea6..7e2b05f7f1e 100644 --- a/extras/vom/vom/nat_static_cmds.cpp +++ b/extras/vom/vom/nat_static_cmds.cpp @@ -16,6 +16,7 @@ #include "vom/nat_static_cmds.hpp" DEFINE_VAPI_MSG_IDS_NAT_API_JSON; +DEFINE_VAPI_MSG_IDS_NAT66_API_JSON; namespace VOM { namespace nat_static_cmds { @@ -28,8 +29,7 @@ create_44_cmd::create_44_cmd(HW::item& item, , m_id(id) , m_inside(inside) , m_outside(outside) -{ -} +{} bool create_44_cmd::operator==(const create_44_cmd& other) const @@ -77,8 +77,7 @@ delete_44_cmd::delete_44_cmd(HW::item& item, , m_id(id) , m_inside(inside) , m_outside(outside) -{ -} +{} bool delete_44_cmd::operator==(const delete_44_cmd& other) const @@ -153,8 +152,7 @@ create_66_cmd::create_66_cmd(HW::item& item, , m_id(id) , m_inside(inside) , m_outside(outside) -{ -} +{} bool create_66_cmd::operator==(const create_66_cmd& other) const @@ -198,8 +196,7 @@ delete_66_cmd::delete_66_cmd(HW::item& item, , m_id(id) , m_inside(inside) , m_outside(outside) -{ -} +{} bool delete_66_cmd::operator==(const delete_66_cmd& other) const diff --git a/extras/vom/vom/nat_static_cmds.hpp b/extras/vom/vom/nat_static_cmds.hpp index 8d514d85771..2213ef5ae47 100644 --- a/extras/vom/vom/nat_static_cmds.hpp +++ b/extras/vom/vom/nat_static_cmds.hpp @@ -20,6 +20,7 @@ #include "vom/dump_cmd.hpp" #include +#include namespace VOM { namespace nat_static_cmds { -- cgit 1.2.3-korg