X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Fl2_vtr.hpp;h=688e87a8108b82e7ac87354d5b872b732dd07c2c;hb=72e31bc2d9b910147c09e1c329713fccc873a018;hp=540cc83fd076c41deda399714b60f524867c198b;hpb=d3125833d5f93116a88468d532da123d061a7cd1;p=vpp.git diff --git a/extras/vom/vom/l2_vtr.hpp b/extras/vom/vom/l2_vtr.hpp index 540cc83fd07..688e87a8108 100644 --- a/extras/vom/vom/l2_vtr.hpp +++ b/extras/vom/vom/l2_vtr.hpp @@ -20,25 +20,27 @@ #include "vom/om.hpp" namespace VOM { -struct l2_vtr_op_t : public enum_base +namespace l2_vtr { +struct option_t : public enum_base { - l2_vtr_op_t(const l2_vtr_op_t& l) = default; - ~l2_vtr_op_t() = default; + option_t(const option_t& l) = default; + ~option_t() = default; - const static l2_vtr_op_t L2_VTR_DISABLED; - const static l2_vtr_op_t L2_VTR_PUSH_1; - const static l2_vtr_op_t L2_VTR_PUSH_2; - const static l2_vtr_op_t L2_VTR_POP_1; - const static l2_vtr_op_t L2_VTR_POP_2; - const static l2_vtr_op_t L2_VTR_TRANSLATE_1_1; - const static l2_vtr_op_t L2_VTR_TRANSLATE_1_2; - const static l2_vtr_op_t L2_VTR_TRANSLATE_2_1; - const static l2_vtr_op_t L2_VTR_TRANSLATE_2_2; + const static option_t DISABLED; + const static option_t PUSH_1; + const static option_t PUSH_2; + const static option_t POP_1; + const static option_t POP_2; + const static option_t TRANSLATE_1_1; + const static option_t TRANSLATE_1_2; + const static option_t TRANSLATE_2_1; + const static option_t TRANSLATE_2_2; private: - l2_vtr_op_t(int v, const std::string s); -}; + option_t(int v, const std::string s); }; +}; // namespace l2_vtr +}; // namesapce VOM /* * fd.io coding-style-patch-verification: ON