Searched refs:source_t (Results 1 - 17 of 17) sorted by relevance

/vpp/extras/vom/vom/
H A Dqos_types.cpp21 const source_t source_t::EXT(0, "ext");
22 const source_t source_t::VLAN(1, "vlan");
23 const source_t source_t::MPLS(2, "mpls");
24 const source_t source_t::IP(3, "IP");
26 source_t::source_t(in function in class:VOM::QoS::source_t
[all...]
H A Dqos_types.hpp33 class source_t : public enum_base<source_t> class in namespace:VOM::QoS
36 const static source_t EXT;
37 const static source_t VLAN;
38 const static source_t MPLS;
39 const static source_t IP;
45 source_t(int v, const std::string& s);
H A Dqos_types_api.cpp25 const source_t&
30 return source_t::EXT;
32 return source_t::VLAN;
34 return source_t::IP;
36 return source_t::MPLS;
38 return source_t::EXT;
42 to_api(const source_t& s)
H A Dqos_types_api.hpp23 const source_t& from_api(vapi_enum_qos_source e);
24 vapi_enum_qos_source to_api(const source_t& s);
H A Dqos_mark_cmds.hpp40 const source_t& src);
60 const source_t& m_src;
72 delete_cmd(HW::item<bool>& item, const handle_t& itf, const source_t& src);
91 const source_t& m_src;
H A Dqos_record_cmds.hpp38 create_cmd(HW::item<bool>& item, const handle_t& itf, const source_t& src);
57 const source_t& m_src;
70 delete_cmd(HW::item<bool>& item, const handle_t& itf, const source_t& src);
89 const source_t& m_src;
H A Dqos_store_cmds.hpp40 const source_t& src,
60 const source_t& m_src;
74 delete_cmd(HW::item<bool>& item, const handle_t& itf, const source_t& src);
93 const source_t& m_src;
H A Dqos_mark.hpp35 mark(const interface& i, const map& m, const source_t& source);
40 typedef std::pair<interface::key_t, source_t> key_t;
157 source_t m_src;
H A Dqos_record.hpp34 record(const interface& i, const source_t& source);
39 typedef std::pair<interface::key_t, source_t> key_t;
151 source_t m_src;
H A Dqos_store.hpp34 store(const interface& i, const source_t& source, bits_t value);
39 typedef std::pair<interface::key_t, source_t> key_t;
151 source_t m_src;
H A Dqos_record_cmds.cpp25 const source_t& s)
64 const source_t& s)
H A Dqos_mark_cmds.cpp26 const source_t& s)
68 const source_t& s)
H A Dqos_store_cmds.cpp25 const source_t& s,
68 const source_t& s)
H A Dqos_mark.cpp29 mark::mark(const interface& itf, const map& m, const source_t& src)
H A Dqos_record.cpp29 record::record(const interface& itf, const source_t& src)
H A Dqos_store.cpp29 store::store(const interface& itf, const source_t& src, bits_t value)
/vpp/test/ext/
H A Dvom_test.cpp2259 QoS::record *qr = new QoS::record(itf, QoS::source_t::IP);
2261 ADD_EXPECT(QoS::record_cmds::create_cmd(hw_qr, hw_ifh.data(), QoS::source_t::IP));
2264 QoS::store *qs = new QoS::store(itf, QoS::source_t::IP, 55);
2266 ADD_EXPECT(QoS::store_cmds::create_cmd(hw_qs, hw_ifh.data(), QoS::source_t::IP, 55));
2269 QoS::mark *qm = new QoS::mark(itf, qem, QoS::source_t::IP);
2271 ADD_EXPECT(QoS::mark_cmds::create_cmd(hw_qm, hw_ifh.data(), 1, QoS::source_t::IP));
2278 ADD_EXPECT(QoS::mark_cmds::delete_cmd(hw_qm, hw_ifh.data(), QoS::source_t::IP));
2280 ADD_EXPECT(QoS::record_cmds::delete_cmd(hw_qr, hw_ifh.data(), QoS::source_t::IP));
2281 ADD_EXPECT(QoS::store_cmds::delete_cmd(hw_qs, hw_ifh.data(), QoS::source_t::IP));

Completed in 19 milliseconds