Home
last modified time | relevance | path

Searched refs:pvContextBuffer (Results 1 – 1 of 1) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/libslirp/
DMBuffNetifBackendLibslirp.c175 void * pvContextBuffer = NULL; in vMBuffNetifBackendInit() local
252 pvContextBuffer = pvPortMalloc( sizeof( SlirpBackendContext_t ) ); in vMBuffNetifBackendInit()
254 if( pvContextBuffer == NULL ) in vMBuffNetifBackendInit()
261 if( pvContextBuffer != NULL ) in vMBuffNetifBackendInit()
263 pxCtx = ( SlirpBackendContext_t * ) pvContextBuffer; in vMBuffNetifBackendInit()
287 pxCtx->pxSlirp = slirp_new( &xSlirpConfig, &xSlirpCallbacks, pvContextBuffer ); in vMBuffNetifBackendInit()
295 … pxCtx->xTxThread = _beginthreadex( NULL, 0, vTransmitThread, pvContextBuffer, 0, NULL ); in vMBuffNetifBackendInit()
298 … pxCtx->xRxThread = _beginthreadex( NULL, 0, vReceiveThread, pvContextBuffer, 0, NULL ); in vMBuffNetifBackendInit()
307 … lRslt = pthread_create( &( pxCtx->xTxThread ), NULL, vTransmitThread, pvContextBuffer ); in vMBuffNetifBackendInit()
310 … lRslt = pthread_create( &( pxCtx->xRxThread ), NULL, vReceiveThread, pvContextBuffer ); in vMBuffNetifBackendInit()
[all …]