mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-20 17:29:13 +00:00
Added alert drop reset with drop only button
This commit is contained in:
parent
ff9da3f237
commit
830d71c877
5 changed files with 45 additions and 6 deletions
|
|
@ -206,6 +206,17 @@ u_int64_t ViewInterface::getNumPackets() {
|
|||
|
||||
/* **************************************************** */
|
||||
|
||||
u_int64_t ViewInterface::getNumDroppedAlerts() {
|
||||
u_int64_t tot = 0;
|
||||
|
||||
for(u_int8_t s = 0; s<num_viewed_interfaces; s++)
|
||||
tot += viewed_interfaces[s]->getNumDroppedAlerts();
|
||||
|
||||
return(tot);
|
||||
};
|
||||
|
||||
/* **************************************************** */
|
||||
|
||||
u_int32_t ViewInterface::getNumPacketDrops() {
|
||||
u_int32_t tot = 0;
|
||||
|
||||
|
|
@ -307,6 +318,17 @@ u_int64_t ViewInterface::getCheckPointNumPackets() {
|
|||
|
||||
/* **************************************************** */
|
||||
|
||||
u_int64_t ViewInterface::getCheckPointDroppedAlerts() {
|
||||
u_int64_t tot = 0;
|
||||
|
||||
for(u_int8_t s = 0; s < num_viewed_interfaces; s++)
|
||||
tot += viewed_interfaces[s]->getCheckPointDroppedAlerts();
|
||||
|
||||
return(tot);
|
||||
};
|
||||
|
||||
/* **************************************************** */
|
||||
|
||||
u_int64_t ViewInterface::getCheckPointNumBytes() {
|
||||
u_int64_t tot = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue