summaryrefslogtreecommitdiffstats
path: root/src/internal_api/trex_platform_api.h
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-03-08 13:38:31 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-03-08 13:38:31 +0200
commit344df4618f219758a6fd005e2ea3e3d1056b5f4b (patch)
treeee55c0b783521655c49200c034bcb115d61aa8df /src/internal_api/trex_platform_api.h
parentafefddfa387dad83bbcb15812bd279cf3197f583 (diff)
parent8ea0aeb8506b4da6b574700519ff4ca77b833c62 (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src/internal_api/trex_platform_api.h')
-rw-r--r--src/internal_api/trex_platform_api.h5
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..b1cf2fb7 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) const {return 0;}
private:
int m_dp_core_count;