diff options
author | 2016-03-07 15:58:03 +0200 | |
---|---|---|
committer | 2016-03-07 15:58:31 +0200 | |
commit | ccfb88c91c50893bf3d43b67f48ac46e9a252f64 (patch) | |
tree | 78b3c280eb4748c561db4b6947f66ac76a72893c /src/internal_api | |
parent | 29c78819b903a2933e8ba106faa5ba5745eb527e (diff) |
Added get_active_pgids
Diffstat (limited to 'src/internal_api')
-rw-r--r-- | src/internal_api/trex_platform_api.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/internal_api/trex_platform_api.h b/src/internal_api/trex_platform_api.h index f6d7278e..71ec442a 100644 --- a/src/internal_api/trex_platform_api.h +++ b/src/internal_api/trex_platform_api.h @@ -26,6 +26,7 @@ limitations under the License. #include <vector> #include <string> #include <string.h> +#include "trex_defs.h" /** * Global stats @@ -149,7 +150,7 @@ public: virtual void set_promiscuous(uint8_t port_id, bool enabled) const = 0; virtual bool get_promiscuous(uint8_t port_id) const = 0; virtual void flush_dp_messages() const = 0; - + virtual int get_active_pgids(flow_stat_active_t &result) const = 0; virtual ~TrexPlatformApi() {} }; @@ -178,6 +179,7 @@ public: void set_promiscuous(uint8_t port_id, bool enabled) const; bool get_promiscuous(uint8_t port_id) const; void flush_dp_messages() const; + int get_active_pgids(flow_stat_active_t &result) const; }; @@ -238,6 +240,7 @@ public: void flush_dp_messages() const { } + int get_active_pgids(flow_stat_active_t &result) {/*??? implement*/ return 0;}; private: int m_dp_core_count; |