This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-tsg-master/inc/tsg_statistic.h

17 lines
398 B
C
Raw Normal View History

2019-12-25 15:27:15 +08:00
#ifndef __TSG_STATISTIC_H__
#define __TSG_STATISTIC_H__
struct _traffic_info
{
long long con_num;
long long in_bytes;
long long out_bytes;
long long in_packets;
long long out_packets;
};
2019-12-25 15:27:15 +08:00
int tsg_set_policy_flow(struct streaminfo *a_stream, Maat_rule_t *p_result, int thread_seq);
int tsg_set_intercept_flow(Maat_rule_t *p_result, struct _traffic_info *traffic_info, int thread_seq);
2019-12-25 15:27:15 +08:00
#endif