Browse Source

MT#55283 move stream_stats to kernel header

Change-Id: I41fc5af5f868fa858f467adf5c367555f37ab2bf
pull/1826/head
Richard Fuchs 2 years ago
parent
commit
c511088f63
2 changed files with 5 additions and 8 deletions
  1. +0
    -8
      include/statistics.h
  2. +5
    -0
      kernel-module/common_stats.h

+ 0
- 8
include/statistics.h View File

@ -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"


+ 5
- 0
kernel-module/common_stats.h View File

@ -39,5 +39,10 @@ struct interface_stats_block {
struct interface_sampled_stats sampled;
};
struct stream_stats {
atomic64 packets;
atomic64 bytes;
atomic64 errors;
};
#endif

Loading…
Cancel
Save