summaryrefslogtreecommitdiffstats
path: root/extras/vom/vom/interface_factory.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'extras/vom/vom/interface_factory.hpp')
-rw-r--r--extras/vom/vom/interface_factory.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/extras/vom/vom/interface_factory.hpp b/extras/vom/vom/interface_factory.hpp
index 613c26e98b5..1bb60a899f0 100644
--- a/extras/vom/vom/interface_factory.hpp
+++ b/extras/vom/vom/interface_factory.hpp
@@ -20,10 +20,13 @@
#include "vom/bond_member.hpp"
#include "vom/interface.hpp"
+#include "vom/tap_interface.hpp"
#include <vapi/af_packet.api.vapi.hpp>
#include <vapi/bond.api.vapi.hpp>
#include <vapi/interface.api.vapi.hpp>
+#include <vapi/tap.api.vapi.hpp>
+#include <vapi/tapv2.api.vapi.hpp>
#include <vapi/vhost_user.api.vapi.hpp>
namespace VOM {
@@ -43,6 +46,12 @@ public:
static std::shared_ptr<interface> new_af_packet_interface(
const vapi_payload_af_packet_details& vd);
+ static std::shared_ptr<tap_interface> new_tap_interface(
+ const vapi_payload_sw_interface_tap_details& vd);
+
+ static std::shared_ptr<tap_interface> new_tap_v2_interface(
+ const vapi_payload_sw_interface_tap_v2_details& vd);
+
static std::shared_ptr<bond_interface> new_bond_interface(
const vapi_payload_sw_interface_bond_details& vd);