mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Extended host with new methods for detecting broadcast and multicast addrsesses
This commit is contained in:
parent
db46c48d7a
commit
79e749c769
1 changed files with 3 additions and 0 deletions
|
|
@ -111,6 +111,9 @@ class Host : public GenericHashEntry, public AlertableEntity {
|
|||
inline void setBroadcastDomainHost() { is_in_broadcast_domain = true; };
|
||||
inline void setSystemHost() { /* TODO: remove */ };
|
||||
|
||||
bool isBroadcastHost() { return(ip.isBroadcastAddress()); }
|
||||
bool isMulticastHost() { return(ip.isMulticastAddress()); }
|
||||
|
||||
inline nDPIStats* get_ndpi_stats() const { return(stats->getnDPIStats()); };
|
||||
|
||||
inline bool isChildSafe() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue