/* Compute the sequence space left in the old receive window. */
UINT32 TcpRcvWinOld(IN TCP_CB *Tcb)
/* Compute the sequence space left in the old receive window. */
UINT32 TcpRcvWinOld(IN TCP_CB *Tcb)
{
  UINT32  OldWin;
  OldWin = 0;
  if (TCP_SEQ_GT (Tcb->RcvWl2 + Tcb->RcvWnd, Tcb->RcvNxt)) {
    OldWin = TCP_SUB_SEQ (
               Tcb->RcvWl2 + Tcb->RcvWnd,
               Tcb->RcvNxt
               );
  }
  return OldWin;
}