mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Initial work towards OS discovery
This commit is contained in:
parent
3275f236d5
commit
fdb7a8ab41
11 changed files with 131 additions and 18 deletions
|
|
@ -541,6 +541,7 @@ class NetworkInterface {
|
|||
inline virtual bool isView() { return(false); };
|
||||
bool getMacInfo(lua_State* vm, char *mac, u_int16_t vlan_id);
|
||||
bool setMacDeviceType(char *strmac, u_int16_t vlanId, DeviceType dtype, bool alwaysOverwrite);
|
||||
bool setMacOperatingSystem(lua_State* vm, char *mac, OperatingSystem os);
|
||||
bool getASInfo(lua_State* vm, u_int32_t asn);
|
||||
bool getVLANInfo(lua_State* vm, u_int16_t vlan_id);
|
||||
inline void incNumHosts(bool local) { if(local) numLocalHosts++; numHosts++; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue