Home
last modified time | relevance | path

Searched refs:ucAge (Results 1 – 3 of 3) sorted by relevance

/FreeRTOS-Plus-TCP-v3.1.0/source/
DFreeRTOS_ARP.c539 xARPCache[ x ].ucAge = ( uint8_t ) ipconfigMAX_ARP_AGE; in vARPRefreshCacheEntry()
577 else if( xARPCache[ x ].ucAge < ucMinAgeFound ) in vARPRefreshCacheEntry()
583 ucMinAgeFound = xARPCache[ x ].ucAge; in vARPRefreshCacheEntry()
627 xARPCache[ xUseEntry ].ucAge = ( uint8_t ) ipconfigMAX_ARP_AGE; in vARPRefreshCacheEntry()
632 xARPCache[ xUseEntry ].ucAge = ( uint8_t ) ipconfigMAX_ARP_RETRANSMISSIONS; in vARPRefreshCacheEntry()
864 if( xARPCache[ x ].ucAge > 0U ) in vARPAgeCache()
868 ( xARPCache[ x ].ucAge )--; in vARPAgeCache()
876 else if( xARPCache[ x ].ucAge <= ( uint8_t ) arpMAX_ARP_AGE_BEFORE_NEW_ARP_REQUEST ) in vARPAgeCache()
888 if( xARPCache[ x ].ucAge == 0U ) in vARPAgeCache()
1206 if( ( xARPCache[ x ].ulIPAddress != 0U ) && ( xARPCache[ x ].ucAge > ( uint8_t ) 0U ) ) in FreeRTOS_PrintARPCache()
[all …]
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_ARP/
DFreeRTOS_ARP_utest.c569 xARPCache[ 0 ].ucAge = 1; in test_eARPProcessPacket_Reply_TargetIPNotSameAsLocalIP_ButEntryInCache()
578 TEST_ASSERT_EQUAL( ipconfigMAX_ARP_AGE, xARPCache[ 0 ].ucAge ); in test_eARPProcessPacket_Reply_TargetIPNotSameAsLocalIP_ButEntryInCache()
1008 xARPCache[ i ].ucAge = 255; in test_vARPRefreshCacheEntry_NULLMAC_NoMatchingEntry()
1017 TEST_ASSERT_EQUAL( xARPCache[ 0 ].ucAge, ( uint8_t ) ipconfigMAX_ARP_RETRANSMISSIONS ); in test_vARPRefreshCacheEntry_NULLMAC_NoMatchingEntry()
1033 xARPCache[ i ].ucAge = 255; in test_vARPRefreshCacheEntry_NULLMAC_MatchingEntry()
1044 TEST_ASSERT_EQUAL( xARPCache[ 1 ].ucAge, 255 ); in test_vARPRefreshCacheEntry_NULLMAC_MatchingEntry()
1060 xARPCache[ i ].ucAge = 255; in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1074 TEST_ASSERT_EQUAL_MESSAGE( ipconfigMAX_ARP_AGE, xARPCache[ xUseEntry ].ucAge, "Test 3" ); in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1091 xARPCache[ i ].ucAge = 255; in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1107 TEST_ASSERT_EQUAL_MESSAGE( ipconfigMAX_ARP_AGE, xARPCache[ xUseEntry ].ucAge, "Test 4" ); in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
[all …]
/FreeRTOS-Plus-TCP-v3.1.0/source/include/
DFreeRTOS_ARP.h53 …uint8_t ucAge; /**< A value that is periodically decremented but can also be refreshed … member