summaryrefslogtreecommitdiffstats
path: root/src/stateless/trex_stream.cpp
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-09-06 17:55:00 +0300
committerimarom <imarom@cisco.com>2015-09-06 17:55:00 +0300
commit3adfe9c3c8a6e2ce1cdc5bd1a673e428c18fa64b (patch)
tree9077fc5911716a4c286feb50ef7021447c061dd9 /src/stateless/trex_stream.cpp
parentc625b6e4f6d71176ef1db5aab93f4e66939d7a25 (diff)
added more commands to RPC server
Diffstat (limited to 'src/stateless/trex_stream.cpp')
-rw-r--r--src/stateless/trex_stream.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stateless/trex_stream.cpp b/src/stateless/trex_stream.cpp
index b3919770..2b5b2424 100644
--- a/src/stateless/trex_stream.cpp
+++ b/src/stateless/trex_stream.cpp
@@ -99,3 +99,7 @@ void TrexStreamTable::get_stream_list(std::vector<uint32_t> &stream_list) {
stream_list.push_back(stream.first);
}
}
+
+int TrexStreamTable::size() {
+ return m_stream_table.size();
+}