i want to write lua plugin used for wireshark to parse udp packet, helping to analyze out of order or drop issues.
I checked source code below
static uint32 Pack(SequenceNumberT Seq, SequenceNumberT AckedSeq, SIZE_T HistoryWordCount)
{
uint32 Packed = 0u;
Packed |= Seq.Get() << SeqShift;
Packed |= AckedSeq.Get() << AckSeqShift;
Packed |= HistoryWordCount & HistoryWordCountMask;
return Packed;
}
Per my understanding , the first 14 bits stand for seq and next 14 bits stand for acked seq
But after parsing, looks like it’s not under expectation, as nor seq nor acked seq showing incremented
is it because there are additonnal headers ahead first 14 bits of seq? is there any udp packet format definition document or examples?
Thanks very much for any of your insight