summaryrefslogtreecommitdiffstats
path: root/src/stateless/trex_stream.cpp
diff options
context:
space:
mode:
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();
+}