Home
last modified time | relevance | path

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

/FreeRTOS-Plus-TCP-v4.0.0/source/
DFreeRTOS_DNS.c732 uint8_t ucIndex = pxEndPoint->ipv6_settings.ucDNSIndex; in prvIncreaseDNS6Index() local
733 uint8_t ucInitialIndex = ucIndex; in prvIncreaseDNS6Index()
737 ucIndex++; in prvIncreaseDNS6Index()
739 if( ucIndex >= ( uint8_t ) ipconfigENDPOINT_DNS_ADDRESS_COUNT ) in prvIncreaseDNS6Index()
741 ucIndex = 0U; in prvIncreaseDNS6Index()
744 … if( ( pxEndPoint->ipv6_settings.xDNSServerAddresses[ ucIndex ].ucBytes[ 0 ] != 0U ) || in prvIncreaseDNS6Index()
745 ( ucInitialIndex == ucIndex ) ) in prvIncreaseDNS6Index()
751 …TOS_printf( ( "prvIncreaseDNS6Index: from %d to %d\n", ( int ) ucInitialIndex, ( int ) ucIndex ) ); in prvIncreaseDNS6Index()
752 pxEndPoint->ipv6_settings.ucDNSIndex = ucIndex; in prvIncreaseDNS6Index()
767 uint8_t ucIndex = pxEndPoint->ipv4_settings.ucDNSIndex; in prvIncreaseDNS4Index() local
[all …]
DFreeRTOS_DNS_Cache.c369 uint8_t ucIndex; in prvGetCacheIPEntry() local
377ucIndex = xDNSCache[ uxIndex ].ucCurrentIPAddress % xDNSCache[ uxIndex ].ucNumIPAddresses; in prvGetCacheIPEntry()
378 ucIndex = ucIndex % ( uint8_t ) ipconfigDNS_CACHE_ADDRESSES_PER_ENTRY; in prvGetCacheIPEntry()
379 ulIPAddressIndex = ucIndex; in prvGetCacheIPEntry()