Lines Matching refs:pxWindow
146 int32_t lTCPWindowRxCheck( TCPWindow_t * pxWindow, in lTCPWindowRxCheck() argument
158 … if( ( pxWindow->rx.ulCurrentSequenceNumber != ulSequenceNumber ) || ( ulSpace < ulLength ) ) in lTCPWindowRxCheck()
164 pxWindow->rx.ulCurrentSequenceNumber += ( uint32_t ) ulLength; in lTCPWindowRxCheck()
185 int32_t lTCPWindowTxAdd( TCPWindow_t * pxWindow, in lTCPWindowTxAdd() argument
190 TCPSegment_t * pxSegment = &( pxWindow->xTxSegment ); in lTCPWindowTxAdd()
208 …if( ( xTCPWindowLoggingLevel != 0 ) && ( ipconfigTCP_MAY_LOG_PORT( pxWindow->usOurPortNumber ) != … in lTCPWindowTxAdd()
216 …if( ( xTCPWindowLoggingLevel != 0 ) && ( ipconfigTCP_MAY_LOG_PORT( pxWindow->usOurPortNumber ) != … in lTCPWindowTxAdd()
219 … ( unsigned ) ( pxWindow->ulNextTxSequenceNumber - pxWindow->tx.ulFirstSequenceNumber ), in lTCPWindowTxAdd()
220 … ( unsigned ) ( pxWindow->tx.ulCurrentSequenceNumber - pxWindow->tx.ulFirstSequenceNumber ), in lTCPWindowTxAdd()
225 pxSegment->ulSequenceNumber = pxWindow->ulNextTxSequenceNumber; in lTCPWindowTxAdd()
233 pxWindow->ulNextTxSequenceNumber += ulLength; in lTCPWindowTxAdd()
253 uint32_t ulTCPWindowTxGet( TCPWindow_t * pxWindow, in ulTCPWindowTxGet() argument
257 TCPSegment_t * pxSegment = &( pxWindow->xTxSegment ); in ulTCPWindowTxGet()
270 ulMaxTime *= ( uint32_t ) pxWindow->lSRTT; in ulTCPWindowTxGet()
283 pxWindow->ulOurSequenceNumber = pxSegment->ulSequenceNumber; in ulTCPWindowTxGet()
303 BaseType_t xTCPWindowTxDone( const TCPWindow_t * pxWindow ) in xTCPWindowTxDone() argument
308 if( pxWindow->xTxSegment.lDataLength == 0 ) in xTCPWindowTxDone()
323 static BaseType_t prvTCPWindowTxHasSpace( TCPWindow_t const * pxWindow,
334 static BaseType_t prvTCPWindowTxHasSpace( TCPWindow_t const * pxWindow, in prvTCPWindowTxHasSpace() argument
339 if( ulWindowSize >= pxWindow->usMSSInit ) in prvTCPWindowTxHasSpace()
364 BaseType_t xTCPWindowTxHasData( TCPWindow_t const * pxWindow, in xTCPWindowTxHasData() argument
368 TCPSegment_t const * pxSegment = &( pxWindow->xTxSegment ); in xTCPWindowTxHasData()
385 …ge = ( ( TickType_t ) 1U << pxSegment->u.bits.ucTransmitCount ) * ( ( uint32_t ) pxWindow->lSRTT ); in xTCPWindowTxHasData()
394 else if( prvTCPWindowTxHasSpace( pxWindow, ulWindowSize ) == pdFALSE ) in xTCPWindowTxHasData()
420 uint32_t ulTCPWindowTxAck( TCPWindow_t * pxWindow, in ulTCPWindowTxAck() argument
423 TCPSegment_t * pxSegment = &( pxWindow->xTxSegment ); in ulTCPWindowTxAck()
430 if( ulSequenceNumber < ( pxWindow->tx.ulCurrentSequenceNumber + ulDataLength ) ) in ulTCPWindowTxAck()
432 if( ipconfigTCP_MAY_LOG_PORT( pxWindow->usOurPortNumber ) != pdFALSE ) in ulTCPWindowTxAck()
435 … ( unsigned ) ( ulSequenceNumber - pxWindow->tx.ulFirstSequenceNumber ), in ulTCPWindowTxAck()
436 … ( unsigned ) ( pxWindow->tx.ulCurrentSequenceNumber - pxWindow->tx.ulFirstSequenceNumber ), in ulTCPWindowTxAck()
445 pxWindow->tx.ulCurrentSequenceNumber += ulDataLength; in ulTCPWindowTxAck()
447 …if( ( xTCPWindowLoggingLevel != 0 ) && ( ipconfigTCP_MAY_LOG_PORT( pxWindow->usOurPortNumber ) != … in ulTCPWindowTxAck()
450 … ( unsigned ) ( ulSequenceNumber - pxWindow->tx.ulFirstSequenceNumber ), in ulTCPWindowTxAck()
473 BaseType_t xTCPWindowRxEmpty( const TCPWindow_t * pxWindow ) in xTCPWindowRxEmpty() argument
478 …return xSequenceGreaterThanOrEqual( pxWindow->rx.ulCurrentSequenceNumber, pxWindow->rx.ulHighestSe… in xTCPWindowRxEmpty()
492 void vTCPWindowDestroy( const TCPWindow_t * pxWindow ) in vTCPWindowDestroy() argument
496 ( void ) pxWindow; in vTCPWindowDestroy()