Count the number of correctly received UDP packets.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 15 Jan 2013 12:33:16 +0000 (13:33 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 15 Jan 2013 12:33:16 +0000 (13:33 +0100)
commiteef25266cb862b5e2c24450d158d99e3cb43e511
tree14f40a3699022795123f5d1d351e1c7a4ea647e3
parentb50a92d0c3d26edfeb7c8d6c1b8c3adc28edd6fe
Count the number of correctly received UDP packets.

Keep track of the number of correct, non-replayed UDP packets that have been
received, regardless of their content. This can be compared to the sequence
number to determine the real packet loss.
src/net_packet.c
src/node.h
src/protocol_key.c
src/sptps.c
src/sptps.h