Home
last modified time | relevance | path

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

/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/Zynq/
HDx_emacpsif_dma.c490 NetworkBufferDescriptor_t * pxBuffer, * pxNewBuffer; in emacps_check_rx() local
521 pxNewBuffer = NULL; in emacps_check_rx()
525pxNewBuffer = pxGetNetworkBufferWithDescriptor( dmaRX_TX_BUFFER_SIZE, ( TickType_t ) 0 ); in emacps_check_rx()
527 if( pxNewBuffer == NULL ) in emacps_check_rx()
535 if( pxNewBuffer == NULL ) in emacps_check_rx()
537 pxNewBuffer = ( NetworkBufferDescriptor_t * ) pxDMA_rx_buffers[ xEMACIndex ][ rxHead ]; in emacps_check_rx()
544 pxDMA_rx_buffers[ xEMACIndex ][ rxHead ] = pxNewBuffer; in emacps_check_rx()
588 if( ucIsCachedMemory( pxNewBuffer->pucEthernetBuffer ) != 0 ) in emacps_check_rx()
590 …Xil_DCacheInvalidateRange( ( ( uint32_t ) pxNewBuffer->pucEthernetBuffer ) - ipconfigPACKET_FILLER… in emacps_check_rx()
594 … uint32_t addr = ( ( uint32_t ) pxNewBuffer->pucEthernetBuffer ) & XEMACPS_RXBUF_ADD_MASK; in emacps_check_rx()
/FreeRTOS-Plus-TCP-v4.0.0/source/
HDFreeRTOS_IP_Utils.c258 NetworkBufferDescriptor_t * pxNewBuffer; in pxDuplicateNetworkBufferWithDescriptor() local
264 pxNewBuffer = pxGetNetworkBufferWithDescriptor( uxNewLength, ( TickType_t ) 0 ); in pxDuplicateNetworkBufferWithDescriptor()
266 if( pxNewBuffer != NULL ) in pxDuplicateNetworkBufferWithDescriptor()
268 configASSERT( pxNewBuffer->pucEthernetBuffer != NULL ); in pxDuplicateNetworkBufferWithDescriptor()
278 pxNewBuffer->xDataLength = uxNewLength; in pxDuplicateNetworkBufferWithDescriptor()
281 pxNewBuffer->xIPAddress.ulIP_IPv4 = pxNetworkBuffer->xIPAddress.ulIP_IPv4; in pxDuplicateNetworkBufferWithDescriptor()
282 pxNewBuffer->usPort = pxNetworkBuffer->usPort; in pxDuplicateNetworkBufferWithDescriptor()
283 pxNewBuffer->usBoundPort = pxNetworkBuffer->usBoundPort; in pxDuplicateNetworkBufferWithDescriptor()
284 pxNewBuffer->pxInterface = pxNetworkBuffer->pxInterface; in pxDuplicateNetworkBufferWithDescriptor()
285 pxNewBuffer->pxEndPoint = pxNetworkBuffer->pxEndPoint; in pxDuplicateNetworkBufferWithDescriptor()
[all …]
HDFreeRTOS_DNS_Parser.c489 NetworkBufferDescriptor_t * pxNewBuffer = NULL; in DNS_ParseDNSReply() local
520pxNewBuffer = pxDuplicateNetworkBufferWithDescriptor( pxNetworkBuffer, in DNS_ParseDNSReply()
524 if( pxNewBuffer != NULL ) in DNS_ParseDNSReply()
531 pxNetworkBuffer = pxNewBuffer; in DNS_ParseDNSReply()
591 if( pxNewBuffer != NULL ) in DNS_ParseDNSReply()
593 vReleaseNetworkBufferAndDescriptor( pxNewBuffer ); in DNS_ParseDNSReply()
1177 …NetworkBufferDescriptor_t * pxNewBuffer = pxResizeNetworkBufferWithDescriptor( pxNetworkBuffer, ux… in DNS_TreatNBNS() local
1179 if( pxNewBuffer == NULL ) in DNS_TreatNBNS()
HDFreeRTOS_TCP_Transmission.c817 NetworkBufferDescriptor_t * pxNewBuffer; in prvTCPPrepareSend() local
858pxNewBuffer = prvTCPBufferResize( pxSocket, *ppxNetworkBuffer, lDataLen, uxOptionsLength ); in prvTCPPrepareSend()
860 if( pxNewBuffer != NULL ) in prvTCPPrepareSend()
862 *ppxNetworkBuffer = pxNewBuffer; in prvTCPPrepareSend()
863 pucEthernetBuffer = pxNewBuffer->pucEthernetBuffer; in prvTCPPrepareSend()
HDFreeRTOS_IP.c2037 NetworkBufferDescriptor_t * pxNewBuffer; in vReturnEthernetFrame() local
2061pxNewBuffer = pxDuplicateNetworkBufferWithDescriptor( pxNetworkBuffer, pxNetworkBuffer->xDataLengt… in vReturnEthernetFrame()
2063 if( pxNewBuffer != NULL ) in vReturnEthernetFrame()
2067 pxNewBuffer->xDataLength = pxNetworkBuffer->xDataLength; in vReturnEthernetFrame()
2070 pxNetworkBuffer = pxNewBuffer; in vReturnEthernetFrame()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/xilinx_ultrascale/
HDx_emacpsif_dma.c397 NetworkBufferDescriptor_t * pxBuffer, * pxNewBuffer; in emacps_check_rx() local
421 pxNewBuffer = pxGetNetworkBufferWithDescriptor( dmaRX_TX_BUFFER_SIZE, ( TickType_t ) 0 ); in emacps_check_rx()
423 if( pxNewBuffer == NULL ) in emacps_check_rx()
428 pxNewBuffer = ( NetworkBufferDescriptor_t * ) pxDMA_rx_buffers[ head ]; in emacps_check_rx()
435 pxDMA_rx_buffers[ head ] = pxNewBuffer; in emacps_check_rx()
490 if( ucIsCachedMemory( pxNewBuffer->pucEthernetBuffer ) != 0 ) in emacps_check_rx()
492 …Xil_DCacheInvalidateRange( ( ( uintptr_t ) pxNewBuffer->pucEthernetBuffer ) - ipconfigPACKET_FILLE… in emacps_check_rx()
496 … uintptr_t addr = ( ( uintptr_t ) pxNewBuffer->pucEthernetBuffer ) & XEMACPS_RXBUF_ADD_MASK; in emacps_check_rx()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_DNS_Parser/
HDFreeRTOS_DNS_Parser_utest.c955 NetworkBufferDescriptor_t pxNewBuffer = { 0 }; in test_DNS_TreatNBNS_success_nbns_non_fixed_size_buffer() local
956 pxNewBuffer.pxEndPoint = &xEndPoint; in test_DNS_TreatNBNS_success_nbns_non_fixed_size_buffer()
957 pxNewBuffer.pucEthernetBuffer = pucPayload; in test_DNS_TreatNBNS_success_nbns_non_fixed_size_buffer()
958 pxNewBuffer.xDataLength = 300; in test_DNS_TreatNBNS_success_nbns_non_fixed_size_buffer()
966 pxResizeNetworkBufferWithDescriptor_ExpectAnyArgsAndReturn( &pxNewBuffer ); in test_DNS_TreatNBNS_success_nbns_non_fixed_size_buffer()
1521 NetworkBufferDescriptor_t pxNewBuffer; in test_DNS_ParseDNSReply_answer_lmmnr_reply_xBufferAllocFixedsize() local
1522 pxNewBuffer.pucEthernetBuffer = udp_buffer; in test_DNS_ParseDNSReply_answer_lmmnr_reply_xBufferAllocFixedsize()
1523 pxNewBuffer.xDataLength = uxBufferLength; in test_DNS_ParseDNSReply_answer_lmmnr_reply_xBufferAllocFixedsize()
1815 NetworkBufferDescriptor_t pxNewBuffer; in test_DNS_ParseDNSReply_answer_lmmnr_reply_diffUsType() local
1816 pxNewBuffer.pucEthernetBuffer = udp_buffer; in test_DNS_ParseDNSReply_answer_lmmnr_reply_diffUsType()
[all …]