mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
Reimplemented view: interface, and Paginator code.
Minor code cleanup
This commit is contained in:
parent
650ce6e202
commit
274921ee5c
34 changed files with 809 additions and 359 deletions
|
|
@ -40,6 +40,10 @@ class TcpFlowStats {
|
|||
void deserialize(json_object *o);
|
||||
json_object* getJSONObject();
|
||||
void lua(lua_State* vm, const char *label);
|
||||
inline void sum(TcpFlowStats *s) {
|
||||
s->numSynFlows += numSynFlows, s->numEstablishedFlows += numEstablishedFlows,
|
||||
s->numResetFlows += numResetFlows, s->numFinFlows += numFinFlows;
|
||||
};
|
||||
};
|
||||
|
||||
#endif /* _TCP_FLOW_STATS_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue