blob: b76d3352875c29877a2a1fada42145da16d5b60d [file] [log] [blame]
Nicolas Palpacuer0f19b1a2018-06-07 17:29:31 -04001#ifndef OPENOLT_STATS_COLLECTION_H_
2#define OPENOLT_STATS_COLLECTION_H_
3
4#include <openolt.grpc.pb.h>
5
6extern "C"
7{
8#include <bal_model_types.h>
9}
10
11void start_collecting_statistics();
12void stop_collecting_statistics();
13openolt::PortStatistics* get_default_port_statistics();
14openolt::PortStatistics* collectPortStatistics(int intf_id, bcmbal_intf_type intf_type);
15openolt::FlowStatistics* get_default_flow_statistics();
16openolt::FlowStatistics* collectFlowStatistics(bcmbal_flow_id flow_id, bcmbal_flow_type flow_type);
17void* stats_collection(void* x);
18void register_new_flow(bcmbal_flow_key key);
19
20
21#endif