SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Namespaces | Macros
rtpsourcedata.cpp File Reference
#include "rtpsourcedata.h"
#include "rtpdefines.h"
#include "rtpaddress.h"
+ Include dependency graph for rtpsourcedata.cpp:

Go to the source code of this file.

Namespaces

 qrtplib
 

Macros

#define ACCEPTPACKETCODE
 

Macro Definition Documentation

◆ ACCEPTPACKETCODE

#define ACCEPTPACKETCODE
Value:
*accept = true; \
\
sentdata = true; \
packetsreceived++; \
numnewpackets++; \
\
if (pack->GetExtendedSequenceNumber() == 0) \
{ \
baseseqnr = 0x0000FFFF; \
numcycles = 0x00010000; \
} \
else \
baseseqnr = pack->GetExtendedSequenceNumber() - 1; \
\
exthighseqnr = baseseqnr + 1; \
prevpacktime = receivetime; \
prevexthighseqnr = baseseqnr; \
savedextseqnr = baseseqnr; \
\
pack->SetExtendedSequenceNumber(exthighseqnr); \
\
prevtimestamp = pack->GetTimestamp(); \
lastmsgtime = prevpacktime; \
if (!ownpacket) /* for own packet, this value is set on an outgoing packet */ \
lastrtptime = prevpacktime;

Definition at line 37 of file rtpsourcedata.cpp.

Referenced by qrtplib::RTPSourceStats::ProcessPacket().