Reimplemented view: interface, and Paginator code.

Minor code cleanup
This commit is contained in:
Luca 2016-08-18 13:44:24 +02:00
parent 650ce6e202
commit 274921ee5c
34 changed files with 809 additions and 359 deletions

View file

@ -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_ */