X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Finterface_factory.hpp;h=fef2b638c183e101b94ce2e25f2936cbe21d9351;hb=2331e48ff981e83b46f82c661383f398c63c2bb7;hp=613c26e98b575a887ae77c9e7d14664a2a857c9a;hpb=0af529c4c50bfa52e83cd4190e7d8baa5b20022f;p=vpp.git diff --git a/extras/vom/vom/interface_factory.hpp b/extras/vom/vom/interface_factory.hpp index 613c26e98b5..fef2b638c18 100644 --- a/extras/vom/vom/interface_factory.hpp +++ b/extras/vom/vom/interface_factory.hpp @@ -18,12 +18,17 @@ #include +#include "vom/bond_interface.hpp" #include "vom/bond_member.hpp" #include "vom/interface.hpp" +#include "vom/pipe.hpp" +#include "vom/tap_interface.hpp" #include #include #include +#include +#include #include namespace VOM { @@ -43,11 +48,17 @@ public: static std::shared_ptr new_af_packet_interface( const vapi_payload_af_packet_details& vd); + static std::shared_ptr new_tap_interface( + const vapi_payload_sw_interface_tap_v2_details& vd); + static std::shared_ptr new_bond_interface( const vapi_payload_sw_interface_bond_details& vd); static bond_member new_bond_member_interface( const vapi_payload_sw_interface_slave_details& vd); + + static std::shared_ptr new_pipe_interface( + const vapi_payload_pipe_details& payload); }; };