summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/interface_factory.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/interface_factory.hpp')
-rw-r--r--src/vpp-api/vom/interface_factory.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vpp-api/vom/interface_factory.hpp b/src/vpp-api/vom/interface_factory.hpp
index e1cbb38fd83..a2c81993550 100644
--- a/src/vpp-api/vom/interface_factory.hpp
+++ b/src/vpp-api/vom/interface_factory.hpp
@@ -21,6 +21,7 @@
#include "vom/interface.hpp"
#include <vapi/interface.api.vapi.hpp>
+#include <vapi/vhost_user.api.vapi.hpp>
namespace VOM {
@@ -32,6 +33,9 @@ public:
*/
static std::shared_ptr<interface> new_interface(
const vapi_payload_sw_interface_details& vd);
+
+ static std::shared_ptr<interface> new_vhost_user_interface(
+ const vapi_payload_sw_interface_vhost_user_details& vd);
};
};