Searched refs:xDNSCache (Results 1 – 2 of 2) sorted by relevance
54 static DNSCacheRow_t xDNSCache[ ipconfigDNS_CACHE_ENTRIES ]; variable185 ( void ) memset( xDNSCache, 0x0, sizeof( xDNSCache ) ); in FreeRTOS_dnsclear()323 if( xDNSCache[ uxIndex ].pcName[ 0 ] == ( char ) 0 ) in prvFindEntryIndex()328 if( strcmp( xDNSCache[ uxIndex ].pcName, pcName ) == 0 ) in prvFindEntryIndex()331 if( pxIP->xIs_IPv6 == xDNSCache[ uxIndex ].xAddresses[ 0 ].xIs_IPv6 ) in prvFindEntryIndex()362 uint32_t ulAge = ulCurrentTimeSeconds - xDNSCache[ uxIndex ].ulTimeWhenAddedInSeconds; in prvGetCacheIPEntry()366 if( ulAge < FreeRTOS_ntohl( xDNSCache[ uxIndex ].ulTTL ) ) in prvGetCacheIPEntry()377 … ucIndex = xDNSCache[ uxIndex ].ucCurrentIPAddress % xDNSCache[ uxIndex ].ucNumIPAddresses; in prvGetCacheIPEntry()381 xDNSCache[ uxIndex ].ucCurrentIPAddress++; in prvGetCacheIPEntry()384 …( void ) memcpy( pxIP, &( xDNSCache[ uxIndex ].xAddresses[ ulIPAddressIndex ] ), sizeof( *pxIP ) ); in prvGetCacheIPEntry()[all …]
100 static DNSCacheRow_t xDNSCache[ ipconfigDNS_CACHE_ENTRIES ]; variable479 xDNSCache[ 0 ].xAddresses[ 0 ] = xAddress; in test_prepare_DNSLookup()