Commit b8778efa authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Expired packets are noted as forwarded to application layer.

parent 72358d9f
......@@ -109,6 +109,7 @@ void handle_data_packet(PrrtSocket *sock_ptr, PrrtPacket *packet, struct sockadd
prrtTimestamp_t now = PrrtClock_get_prrt_time_us(sock_ptr->clock);
if(now > payload->packetTimeout_us) {
PrrtForwardPacketTable_test_set_is_number_relevant(sock_ptr->forwardPacketTable, packet->sequenceNumber);
// TODO: note this as loss
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment