mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Added Lua batch SNMP API
This commit is contained in:
parent
7b15221414
commit
af74f3b041
6 changed files with 137 additions and 51 deletions
|
|
@ -72,6 +72,7 @@ class NetworkInterface {
|
|||
FlowHashingEnum flowHashingMode;
|
||||
FlowHashing *flowHashing;
|
||||
MDNS *mdns;
|
||||
SNMP *snmp;
|
||||
string ip_addresses;
|
||||
int id;
|
||||
bool bridge_interface;
|
||||
|
|
@ -556,6 +557,7 @@ class NetworkInterface {
|
|||
inline void luaTopPoolsProtos(lua_State *vm) { frequentProtocols->luaTopPoolsProtocols(vm); }
|
||||
void topMacsAdd(Mac *mac, ndpi_protocol *proto, u_int32_t bytes);
|
||||
inline void luaTopMacsProtos(lua_State *vm) { frequentMacs->luaTopMacsProtocols(vm); }
|
||||
inline SNMP* getSNMP() { return(snmp); }
|
||||
};
|
||||
|
||||
#endif /* _NETWORK_INTERFACE_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue