X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Finterface_factory.hpp;h=c90c7942c521cfd511307d5a223e91db9f5b4ebb;hp=dda52752352e2d2cd0eef227d75ab8cd1fda7a9b;hb=8e1cc46b2bba1ade546d611cdf7b6e48c97d90a1;hpb=164e5f8c63652028ecb9c3570e1ea8618b163071 diff --git a/extras/vom/vom/interface_factory.hpp b/extras/vom/vom/interface_factory.hpp index dda52752352..c90c7942c52 100644 --- a/extras/vom/vom/interface_factory.hpp +++ b/extras/vom/vom/interface_factory.hpp @@ -18,11 +18,18 @@ #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 #include namespace VOM { @@ -39,11 +46,20 @@ public: static std::shared_ptr new_vhost_user_interface( const vapi_payload_sw_interface_vhost_user_details& vd); + 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); }; };