Implements per Network OOO/Drops/Retransmissions

Implements #2586
This commit is contained in:
Simone Mainardi 2019-05-21 16:08:47 +02:00
parent b221ae6a3e
commit f2e6491c83
4 changed files with 50 additions and 8 deletions

View file

@ -108,8 +108,11 @@ void AutonomousSystem::lua(lua_State* vm, DetailsLevel details_level, bool asLis
lua_push_uint64_table_entry(vm, "num_hosts", getNumHosts());
lua_push_uint64_table_entry(vm, "round_trip_time", round_trip_time);
if(details_level >= details_higher)
if(details_level >= details_higher) {
if(ndpiStats) ndpiStats->lua(iface, vm);
tcp_packet_stats_sent.lua(vm, "tcpPacketStats.sent");
tcp_packet_stats_rcvd.lua(vm, "tcpPacketStats.rcvd");
}
}
if(asListElement) {