Skip to main content
. 2023 Jan 10;23(2):819. doi: 10.3390/s23020819
Algorithm 2 Procedure to release a packet.

   if Cexp==S1

       Obuf←S1

       for 1<i≤M in parallel

          Pi−1←Pi; PM←(INF,INF)    ▹ Shift P2 to PM to the left; Mark SM unoccupied

          Cexp++                                                             ▹ Increment expected in-sequence counter