diff options
author | imarom <imarom@cisco.com> | 2015-09-01 15:14:27 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2015-09-01 15:14:27 +0300 |
commit | 166e1b639a8cb3d95a6ebae325a4156c6df6c595 (patch) | |
tree | 28add5311782054d5977db4f1826652fb25a5344 /src/stateless/trex_stateless_api.h | |
parent | 580a81e3476d2f316fa263adceb136a178fb5f1a (diff) |
draft
Diffstat (limited to 'src/stateless/trex_stateless_api.h')
-rw-r--r-- | src/stateless/trex_stateless_api.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/stateless/trex_stateless_api.h b/src/stateless/trex_stateless_api.h index 50cc3947..6406a946 100644 --- a/src/stateless/trex_stateless_api.h +++ b/src/stateless/trex_stateless_api.h @@ -29,7 +29,7 @@ limitations under the License. /** * generic exception for errors - * + * TODO: move this to a better place */ class TrexException : public std::runtime_error { @@ -42,7 +42,7 @@ public: }; /** - * + * describes a stateless port * * @author imarom (31-Aug-15) */ @@ -52,12 +52,15 @@ public: TrexStatelessPort(uint8_t port_id) : m_port_id(port_id) { } + /** + * access the stream table + * + */ TrexStreamTable *get_stream_table() { return &m_stream_table; } private: - /* a stream table per port */ TrexStreamTable m_stream_table; uint8_t m_port_id; }; |