Searched refs:pvContextBuffer (Results 1 – 1 of 1) sorted by relevance
| /FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/libslirp/ |
| D | MBuffNetifBackendLibslirp.c | 175 void * pvContextBuffer = NULL; in vMBuffNetifBackendInit() local 245 pvContextBuffer = pvPortMalloc( sizeof( SlirpBackendContext_t ) ); in vMBuffNetifBackendInit() 248 if( pvContextBuffer != NULL ) in vMBuffNetifBackendInit() 250 pxCtx = ( SlirpBackendContext_t * ) pvContextBuffer; in vMBuffNetifBackendInit() 274 pxCtx->pxSlirp = slirp_new( &xSlirpConfig, &xSlirpCallbacks, pvContextBuffer ); in vMBuffNetifBackendInit() 282 … pxCtx->xTxThread = _beginthreadex( NULL, 0, vTransmitThread, pvContextBuffer, 0, NULL ); in vMBuffNetifBackendInit() 285 … pxCtx->xRxThread = _beginthreadex( NULL, 0, vReceiveThread, pvContextBuffer, 0, NULL ); in vMBuffNetifBackendInit() 294 … lRslt = pthread_create( &( pxCtx->xTxThread ), NULL, vTransmitThread, pvContextBuffer ); in vMBuffNetifBackendInit() 297 … lRslt = pthread_create( &( pxCtx->xRxThread ), NULL, vReceiveThread, pvContextBuffer ); in vMBuffNetifBackendInit() 305 if( pvContextBuffer != NULL ) in vMBuffNetifBackendInit() [all …]
|