void addPacket(BasicHeader bh, CommonHeader ch, GUCPacket packet, QByteArray payload, QByteArray sender)
addPacket Add packet to the buffer.
QVector< UnicastForwardingPacketEntry > m_ucForwardPacketBuffer
quint32 timestamp() const
timestamp Timestamp field getter
Buffer used for unicast forwarding.
UnicastForwardingPacketBuffer()
UnicastForwardingPacketBuffer Default constructor.
bool isDuplicatePacketDetectionTimestampSN(quint32 lastReceivedTimestamp, quint32 nowReceivedTimestamp, quint16 lastReceivedSN, quint16 nowReceivedSN)
isDuplicatePacketDetectionTimestamp Calculate if the packet is a duplicate using the timestamp and th...
bool isDuplicateTimestamp(GUCPacket packet)
isDuplicateTimestamp Check is the packet is duplicate.
bool erase(GUCPacket packet)
erase Remove packet from the buffer.
#define itsGnUcForwardingPacketBufferSize
static int nbUCForwardingPacketQueued
quint16 sequenceNumber() const
sequenceNumber GUC sequence number getter.
LongPositionVector soPv() const
soPv GUC SO PV getter.
void clear()
clear Clear the buffer.