Home
last modified time | relevance | path

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

/FreeRTOS-Plus-TCP-v4.0.0/source/
DFreeRTOS_IPv6_Sockets.c240 BaseType_t xIndex = 0; /* The index in the IPv6 address: 0..7. */ in prv_ntop6_search_zeros() local
249 for( ; xIndex < xShortCount; xIndex++ ) in prv_ntop6_search_zeros()
251 uint16_t usValue = pxSet->pusAddress[ xIndex ]; in prv_ntop6_search_zeros()
258 xCurStart = xIndex; in prv_ntop6_search_zeros()
265 if( ( usValue != 0U ) || ( xIndex == ( xShortCount - 1 ) ) ) in prv_ntop6_search_zeros()
305 if( ( pxSet->xIndex + pxSet->xZeroLength ) == xShortCount ) in prv_ntop6_write_zeros()
352 if( pxSet->xIndex > 0 ) in prv_ntop6_write_short()
373 FreeRTOS_ntohs( pxSet->pusAddress[ pxSet->xIndex ] ) ); in prv_ntop6_write_short()
417 while( xSet.xIndex < 8 ) in FreeRTOS_inet_ntop6()
419 if( xSet.xIndex == xSet.xZeroStart ) in FreeRTOS_inet_ntop6()
[all …]
DFreeRTOS_Routing.c745 BaseType_t xIndex; in pxEasyFit() local
849 for( xIndex = 0; xIndex < rMATCH_COUNT; xIndex++ ) in pxEasyFit()
851 if( xCount[ xIndex ] >= 1 ) in pxEasyFit()
853 pxReturn = pxFound[ xIndex ]; in pxEasyFit()
1447 BaseType_t xIndex; in xIPv6_GetIPType() local
1459 for( xIndex = 0; xIndex < ARRAY_SIZE_X( xIPCouples ); xIndex++ ) in xIPv6_GetIPType()
1465 if( ( usAddress & xIPCouples[ xIndex ].usMask ) == xIPCouples[ xIndex ].usExpected ) in xIPv6_GetIPType()
1467 eResult = xIPCouples[ xIndex ].eType; in xIPv6_GetIPType()
DFreeRTOS_TCP_Transmission_IPv4.c268 BaseType_t xIndex; in prvTCPReturnPacket_IPV4() local
270 …for( xIndex = ( BaseType_t ) pxNetworkBuffer->xDataLength; xIndex < ( BaseType_t ) ipconfigETHERNE… in prvTCPReturnPacket_IPV4()
272 pxNetworkBuffer->pucEthernetBuffer[ xIndex ] = 0U; in prvTCPReturnPacket_IPV4()
DFreeRTOS_UDP_IPv4.c300 BaseType_t xIndex; in vProcessGeneratedUDPPacket_IPv4() local
302 …for( xIndex = ( BaseType_t ) pxNetworkBuffer->xDataLength; xIndex < ( BaseType_t ) ipconfigETHERNE… in vProcessGeneratedUDPPacket_IPv4()
304 pxNetworkBuffer->pucEthernetBuffer[ xIndex ] = 0U; in vProcessGeneratedUDPPacket_IPv4()
DFreeRTOS_UDP_IPv6.c386 BaseType_t xIndex; in vProcessGeneratedUDPPacket_IPv6() local
388 …for( xIndex = ( BaseType_t ) pxNetworkBuffer->xDataLength; xIndex < ( BaseType_t ) ipconfigETHERNE… in vProcessGeneratedUDPPacket_IPv6()
390 pxNetworkBuffer->pucEthernetBuffer[ xIndex ] = 0U; in vProcessGeneratedUDPPacket_IPv6()
DFreeRTOS_TCP_Transmission_IPv6.c264 BaseType_t xIndex; in prvTCPReturnPacket_IPV6() local
266 …for( xIndex = ( BaseType_t ) pxNetworkBuffer->xDataLength; xIndex < ( BaseType_t ) ipconfigETHERNE… in prvTCPReturnPacket_IPV6()
268 pxNetworkBuffer->pucEthernetBuffer[ xIndex ] = 0U; in prvTCPReturnPacket_IPV6()
DFreeRTOS_TCP_WIN.c423 BaseType_t xIndex; in prvCreateSectors() local
443 for( xIndex = 0; xIndex < ipconfigTCP_WIN_SEG_COUNT; xIndex++ ) in prvCreateSectors()
450 vListInitialiseItem( &( xTCPSegments[ xIndex ].xSegmentItem ) ); in prvCreateSectors()
451 vListInitialiseItem( &( xTCPSegments[ xIndex ].xQueueItem ) ); in prvCreateSectors()
455 …listSET_LIST_ITEM_OWNER( &( xTCPSegments[ xIndex ].xSegmentItem ), ( void * ) &( xTCPSegments[ xIn… in prvCreateSectors()
456 …listSET_LIST_ITEM_OWNER( &( xTCPSegments[ xIndex ].xQueueItem ), ( void * ) &( xTCPSegments[ xInde… in prvCreateSectors()
459 vListInsertFifo( &xSegmentList, &( xTCPSegments[ xIndex ].xSegmentItem ) ); in prvCreateSectors()
DFreeRTOS_TCP_State_Handling.c1067 BaseType_t xIndex = ( BaseType_t ) ulState; in FreeRTOS_GetTCPStateName() local
1069 if( ( xIndex < 0 ) || ( xIndex >= ARRAY_SIZE( pcStateNames ) ) ) in FreeRTOS_GetTCPStateName()
1072 xIndex = ARRAY_SIZE( pcStateNames ); in FreeRTOS_GetTCPStateName()
1073 xIndex--; in FreeRTOS_GetTCPStateName()
1076 return pcStateNames[ xIndex ]; in FreeRTOS_GetTCPStateName()
DFreeRTOS_ND.c1232 BaseType_t xIndex, xResult = pdPASS; in FreeRTOS_CreateIPv6Address() local
1241 for( xIndex = 0; xIndex < ARRAY_SIZE_X( pulRandom ); xIndex++ ) in FreeRTOS_CreateIPv6Address()
1243 if( xApplicationGetRandomNumber( &( pulRandom[ xIndex ] ) ) == pdFAIL ) in FreeRTOS_CreateIPv6Address()
DFreeRTOS_ARP.c1297 BaseType_t xIndex; in FreeRTOS_OutputARPRequest() local
1299 …for( xIndex = ( BaseType_t ) pxNetworkBuffer->xDataLength; xIndex < ( BaseType_t ) ipconfigETHERNE… in FreeRTOS_OutputARPRequest()
1301 pxNetworkBuffer->pucEthernetBuffer[ xIndex ] = 0U; in FreeRTOS_OutputARPRequest()
DFreeRTOS_IP.c2044 BaseType_t xIndex; in vReturnEthernetFrame() local
2048 …for( xIndex = ( BaseType_t ) pxNetworkBuffer->xDataLength; xIndex < ( BaseType_t ) ipconfigETHERNE… in vReturnEthernetFrame()
2050 pxNetworkBuffer->pucEthernetBuffer[ xIndex ] = 0U; in vReturnEthernetFrame()
DFreeRTOS_DNS.c1189 BaseType_t xIndex = ( BaseType_t ) uxIndex; in prvSendBuffer() local
1195 xDNSBuf.pucPayloadBuffer[ -xIndex ] = ( uint8_t ) ipTYPE_IPv6; in prvSendBuffer()
1199 xDNSBuf.pucPayloadBuffer[ -xIndex ] = ( uint8_t ) ipTYPE_IPv4; in prvSendBuffer()
/FreeRTOS-Plus-TCP-v4.0.0/tools/tcp_utilities/
Dplus_tcp_demo_cli.c245 BaseType_t xIndex; in xHandleTestingCommand() local
247 for( xIndex = 0; xIndex < ARRAY_SIZE( xCommands ); xIndex++ ) in xHandleTestingCommand()
249 struct xCommandCouple * pxCommand = &( xCommands[ xIndex ] ); in xHandleTestingCommand()
754 BaseType_t xIndex; in handle_dnsq() local
756 for( xIndex = 0; xIndex < ( BaseType_t ) ipconfigDNS_CACHE_ENTRIES; xIndex++ ) in handle_dnsq()
762 if( xIndex == 0 ) in handle_dnsq()
771 …FreeRTOS_printf( ( "Cache[%d]: %xip\n", ( int ) xIndex, ( unsigned ) FreeRTOS_ntohl( ulThisIPAddre… in handle_dnsq()
917 BaseType_t xIndex; in handle_help() local
922 for( xIndex = 0; xIndex < ARRAY_SIZE( xCommands ); xIndex++ ) in handle_help()
924 …FreeRTOS_printf( ( "%-11.11s: %s\n", xCommands[ xIndex ].pcCommand, xCommands[ xIndex ].pcHelp ) ); in handle_help()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/STM32Fxx/
DNetworkInterface.c654 BaseType_t xIndex; in prvDMATxDescListInit() local
660 for( xIndex = 0; xIndex < ETH_TXBUFNB; xIndex++, pxDMADescriptor++ ) in prvDMATxDescListInit()
668 pxDMADescriptor->Buffer1Addr = ( uint32_t ) ( Tx_Buff[ xIndex ] ); in prvDMATxDescListInit()
683 if( xIndex < ETH_TXBUFNB - 1 ) in prvDMATxDescListInit()
703 BaseType_t xIndex; in prvDMARxDescListInit() local
713 for( xIndex = 0; xIndex < ETH_RXBUFNB; xIndex++, pxDMADescriptor++ ) in prvDMARxDescListInit()
738 pxDMADescriptor->Buffer1Addr = ( uint32_t ) ( Rx_Buff[ xIndex ] ); in prvDMARxDescListInit()
745 if( xIndex < ETH_RXBUFNB - 1 ) in prvDMARxDescListInit()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets_IPv6/
DFreeRTOS_Sockets_IPv6_utest.c603 xSet.xIndex = xSet.xZeroStart; in test_prv_ntop6_write_zeros()
625 xSet.xIndex = xSet.xZeroStart; in test_prv_ntop6_write_zeros_AddressEndsInZeroes()
647 xSet.xIndex = xSet.xZeroStart; in test_prv_ntop6_write_zeros_NotEnoughSpaceInBuffer()
668 xSet.xIndex = 1; in test_prv_ntop6_write_zeros_NotEnoughSpaceInBuffer_2()
689 xSet.xIndex = 1; in test_prv_ntop6_write_zeros_TargetndexGreater()
708 xSet.xIndex = 8; in test_prv_ntop6_write_short_SmallerBuffer()
728 xSet.xIndex = 0; in test_prv_ntop6_write_short_EnoughBuffer()
750 xSet.xIndex = 1; in test_prv_ntop6_write_short_EnoughBuffer_StartAfterBeginning()
771 xSet.xIndex = 1; in test_prv_ntop6_write_short_NotEnoughSpaceForShort()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ND/
DFreeRTOS_ND_utest.c1855 BaseType_t xDoRandom = pdTRUE, xReturn, xIndex; in test_FreeRTOS_CreateIPv6Address_Assert1() local
1857 for( xIndex = 0; xIndex < 4; xIndex++ ) in test_FreeRTOS_CreateIPv6Address_Assert1()
1874 BaseType_t xDoRandom = pdFALSE, xReturn, xIndex; in test_FreeRTOS_CreateIPv6Address_Assert2() local
1887 BaseType_t xDoRandom = pdTRUE, xReturn, xIndex; in test_FreeRTOS_CreateIPv6Address_Pass1() local
1889 for( xIndex = 0; xIndex < 4; xIndex++ ) in test_FreeRTOS_CreateIPv6Address_Pass1()
1908 BaseType_t xDoRandom = pdTRUE, xReturn, xIndex; in test_FreeRTOS_CreateIPv6Address_Pass2() local
1910 for( xIndex = 0; xIndex < 4; xIndex++ ) in test_FreeRTOS_CreateIPv6Address_Pass2()
1924 BaseType_t xDoRandom = pdTRUE, xReturn, xIndex; in test_FreeRTOS_CreateIPv6Address_Pass3() local
1926 for( xIndex = 0; xIndex < 4; xIndex++ ) in test_FreeRTOS_CreateIPv6Address_Pass3()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/Zynq/
DNetworkInterface.c225 void vInitialiseOnIndex( BaseType_t xIndex ) in vInitialiseOnIndex() argument
227 if( ( xIndex >= 0 ) && ( xIndex < XPAR_XEMACPS_NUM_INSTANCES ) ) in vInitialiseOnIndex()
229 NetworkInterface_t * pxInterface = pxMyInterfaces[ xIndex ]; in vInitialiseOnIndex()
Dx_emacpsif.h151 void vInitialiseOnIndex( BaseType_t xIndex );
/FreeRTOS-Plus-TCP-v4.0.0/source/include/
DFreeRTOS_IPv6_Sockets.h54 …BaseType_t xIndex; /**< The read index in the array of short values, the network address… member
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/libslirp/
DMBuffNetifBackendLibslirp.c614 nfds_t xIndex; in lSlirpGetREventsCallback() local
620 xIndex = ( nfds_t ) lIdx; in lSlirpGetREventsCallback()
621 configASSERT( xIndex < pxCtx->nfds ); in lSlirpGetREventsCallback()
622 configASSERT( xIndex < pxCtx->xPollFdArraySize ); in lSlirpGetREventsCallback()
624 rEvents = ( pxCtx->pxPollFdArray[ xIndex ].revents ); in lSlirpGetREventsCallback()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/LPC18xx/
DNetworkInterface.c981 BaseType_t xIndex; in prvAddMACAddress() local
983 xIndex = prvGetHashIndex( ucMacAddress ); in prvAddMACAddress()
985 if( xIndex >= 32 ) in prvAddMACAddress()
987 LPC_ETHERNET->MAC_HASHTABLE_HIGH |= ( 1u << ( xIndex - 32 ) ); in prvAddMACAddress()
991 LPC_ETHERNET->MAC_HASHTABLE_LOW |= ( 1u << xIndex ); in prvAddMACAddress()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/STM32Hxx/
DNetworkInterface.c1007 BaseType_t xIndex; in uxGetOwnCount() local
1012 for( xIndex = 0; xIndex < ETH_RX_DESC_CNT; xIndex++ ) in uxGetOwnCount()
1015 ( __IO const ETH_DMADescTypeDef * )dmarxdesclist->RxDesc[ xIndex ]; in uxGetOwnCount()