Searched refs:xRecvBuffer (Results 1 – 2 of 2) sorted by relevance
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/linux/ |
HD | NetworkInterface.c | 88 static StreamBuffer_t * xRecvBuffer = NULL; variable 305 if( xRecvBuffer == NULL ) in prvCreateThreadSafeBuffers() 307 …xRecvBuffer = ( StreamBuffer_t * ) malloc( sizeof( *xRecvBuffer ) - sizeof( xRecvBuffer->ucArray )… in prvCreateThreadSafeBuffers() 309 if( xRecvBuffer == NULL ) in prvCreateThreadSafeBuffers() 314 configASSERT( xRecvBuffer ); in prvCreateThreadSafeBuffers() 315 memset( xRecvBuffer, '\0', sizeof( *xRecvBuffer ) - sizeof( xRecvBuffer->ucArray ) ); in prvCreateThreadSafeBuffers() 316 xRecvBuffer->LENGTH = xRECV_BUFFER_SIZE + 1; in prvCreateThreadSafeBuffers() 775 …( uxStreamBufferGetSpace( xRecvBuffer ) >= ( ( ( size_t ) pkt_header->caplen ) + sizeof( *pkt_head… in pcap_callback() 785 prvStreamBufferAdd( xRecvBuffer, ( const uint8_t * ) pkt_header, sizeof( *pkt_header ) ); in pcap_callback() 786 … prvStreamBufferAdd( xRecvBuffer, ( const uint8_t * ) pkt_data, ( size_t ) pkt_header->caplen ); in pcap_callback() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/WinPCap/ |
HD | NetworkInterface.c | 166 static StreamBuffer_t * xRecvBuffer = NULL; variable 228 if( xRecvBuffer == NULL ) in prvCreateThreadSafeBuffers() 230 …xRecvBuffer = ( StreamBuffer_t * ) malloc( sizeof( *xRecvBuffer ) - sizeof( xRecvBuffer->ucArray )… in prvCreateThreadSafeBuffers() 231 configASSERT( xRecvBuffer ); in prvCreateThreadSafeBuffers() 232 memset( xRecvBuffer, '\0', sizeof( *xRecvBuffer ) - sizeof( xRecvBuffer->ucArray ) ); in prvCreateThreadSafeBuffers() 233 xRecvBuffer->LENGTH = xRECV_BUFFER_SIZE + 1; in prvCreateThreadSafeBuffers() 675 …( uxStreamBufferGetSpace( xRecvBuffer ) >= ( ( ( size_t ) pkt_header->caplen ) + sizeof( *pkt_head… in pcap_callback() 690 prvStreamBufferAdd( xRecvBuffer, ( const uint8_t * ) pkt_header, sizeof( *pkt_header ) ); in pcap_callback() 691 … prvStreamBufferAdd( xRecvBuffer, ( const uint8_t * ) pkt_data, ( size_t ) pkt_header->caplen ); in pcap_callback() 804 if( uxStreamBufferGetSize( xRecvBuffer ) > sizeof( xHeader ) ) in prvInterruptSimulatorTask() [all …]
|