Lines Matching refs:uxFreeEntry
60 static UBaseType_t uxFreeEntry = 0U; variable
186 uxFreeEntry = 0U; in FreeRTOS_dnsclear()
451 ( void ) strcpy( xDNSCache[ uxFreeEntry ].pcName, pcName ); in prvInsertCacheEntry()
452 ( void ) memcpy( &( xDNSCache[ uxFreeEntry ].xAddresses[ 0 ] ), pxIP, sizeof( *pxIP ) ); in prvInsertCacheEntry()
455 xDNSCache[ uxFreeEntry ].ulTTL = ulTTL; in prvInsertCacheEntry()
456 xDNSCache[ uxFreeEntry ].ulTimeWhenAddedInSeconds = ulCurrentTimeSeconds; in prvInsertCacheEntry()
458 xDNSCache[ uxFreeEntry ].ucNumIPAddresses = 1; in prvInsertCacheEntry()
459 xDNSCache[ uxFreeEntry ].ucCurrentIPAddress = 0; in prvInsertCacheEntry()
462 ( void ) memset( &xDNSCache[ uxFreeEntry ].xAddresses[ 1 ], in prvInsertCacheEntry()
464 sizeof( xDNSCache[ uxFreeEntry ].xAddresses[ 1 ] ) * in prvInsertCacheEntry()
467 uxFreeEntry++; in prvInsertCacheEntry()
469 if( uxFreeEntry == ipconfigDNS_CACHE_ENTRIES ) in prvInsertCacheEntry()
471 uxFreeEntry = 0; in prvInsertCacheEntry()