mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-20 17:29:13 +00:00
Handles TCP flags via nProbe
This commit is contained in:
parent
64911a37e8
commit
3fcb15cda2
9 changed files with 91 additions and 29 deletions
|
|
@ -341,7 +341,7 @@ bool ParserInterface::parsePENZeroField(ZMQ_Flow * const flow, u_int32_t field,
|
|||
flow->core.l4_proto = atoi(value);
|
||||
break;
|
||||
case TCP_FLAGS:
|
||||
flow->core.tcp_flags = atoi(value);
|
||||
flow->core.tcp.tcp_flags = atoi(value);
|
||||
break;
|
||||
case INITIATOR_PKTS:
|
||||
flow->core.absolute_packet_octet_counters = true;
|
||||
|
|
@ -483,6 +483,10 @@ bool ParserInterface::parsePENNtopField(ZMQ_Flow * const flow, u_int32_t field,
|
|||
flow->core.tcp.serverNwLatency.tv_usec = 1e3 * (server_nw_latency - flow->core.tcp.serverNwLatency.tv_sec * 1e3);
|
||||
break;
|
||||
}
|
||||
case CLIENT_TCP_FLAGS:
|
||||
flow->core.tcp.client_tcp_flags = atoi(value);
|
||||
case SERVER_TCP_FLAGS:
|
||||
flow->core.tcp.server_tcp_flags = atoi(value);
|
||||
case APPL_LATENCY_MS:
|
||||
flow->core.tcp.applLatencyMsec = atof(value);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue