Commit b559e437 authored by Andreas Schmidt's avatar Andreas Schmidt

Use prrtSequenceNumber_t.

parent c8977e16
Pipeline #924 passed with stages
in 2 minutes and 49 seconds
......@@ -110,7 +110,7 @@ static void handle_data_packet(PrrtSocket *sock_ptr, PrrtPacket *packet, struct
PrrtPacket *copiedPacket = PrrtPacket_copy(packet);
check(PrrtPacketTimeoutTable_insert(sock_ptr->packetTimeoutTable, copiedPacket), "Could not insert data packet.");
unsigned int seqno = packet->sequenceNumber;
prrtSequenceNumber_t seqno = packet->sequenceNumber;
PrrtTimeStampCycle(sock_ptr, ts_data_packet, seqno, SendFeedbackStart);
check(send_feedback(sock_ptr, remote), "Sending feedback failed.");
......@@ -219,7 +219,7 @@ void *receive_data_loop(void *ptr)
check(PrrtPacket_decode(buffer, (uint16_t) n, packet), "Decode failed.");
PrrtTimeStampCycle(&tsph3, ts_any_packet, 0, DecodeEnd);
unsigned int seqno = packet->sequenceNumber;
prrtSequenceNumber_t seqno = packet->sequenceNumber;
prrtPacketType_t packetType = PrrtPacket_type(packet);
debug(DEBUG_DATARECEIVER, "received packet %d:%u", (int) packetType, seqno);
......
Markdown is supported
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