mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Push smart recording filters from flows and hosts directly. Removed endpoint.
This commit is contained in:
parent
1e64364b06
commit
e192def3a8
12 changed files with 94 additions and 168 deletions
|
|
@ -229,6 +229,8 @@ class NetworkInterface : public NetworkInterfaceAlertableEntity {
|
|||
bool discard_probing_traffic;
|
||||
bool flows_only_interface; /* Only allocates flows for the interface (e.g., no
|
||||
hosts, ases, etc) */
|
||||
bool is_smart_recording_enabled;
|
||||
char *smart_recording_instance_name;
|
||||
ProtoStats discardedProbingStats;
|
||||
#ifdef NTOPNG_PRO
|
||||
L7Policer *policer;
|
||||
|
|
@ -677,12 +679,15 @@ class NetworkInterface : public NetworkInterfaceAlertableEntity {
|
|||
bool isRunning() const;
|
||||
bool isShuttingDown() const;
|
||||
inline bool isTrafficMirrored() const { return is_traffic_mirrored; };
|
||||
inline bool isSmartRecordingEnabled() const { return is_smart_recording_enabled; };
|
||||
inline const char *getSmartRecordingInstance() const { return smart_recording_instance_name; };
|
||||
inline bool showDynamicInterfaceTraffic() const {
|
||||
return show_dynamic_interface_traffic;
|
||||
};
|
||||
inline bool discardProbingTraffic() const { return discard_probing_traffic; };
|
||||
inline bool flowsOnlyInterface() const { return flows_only_interface; };
|
||||
void updateTrafficMirrored();
|
||||
void updateSmartRecording();
|
||||
void updateDynIfaceTrafficPolicy();
|
||||
void updateFlowDumpDisabled();
|
||||
void updateLbdIdentifier();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue