diff --git a/include/statistics.h b/include/statistics.h index 2519d7a7c..8c8051707 100644 --- a/include/statistics.h +++ b/include/statistics.h @@ -3,14 +3,6 @@ #include "helpers.h" #include "bencode.h" - -struct packet_stream; -struct stream_stats { - atomic64 packets; - atomic64 bytes; - atomic64 errors; -}; - #include "control_ng.h" #include "graphite.h" diff --git a/kernel-module/common_stats.h b/kernel-module/common_stats.h index d4571de04..0e61c1493 100644 --- a/kernel-module/common_stats.h +++ b/kernel-module/common_stats.h @@ -39,5 +39,10 @@ struct interface_stats_block { struct interface_sampled_stats sampled; }; +struct stream_stats { + atomic64 packets; + atomic64 bytes; + atomic64 errors; +}; #endif