Home
last modified time | relevance | path

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

/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_ARP/
DFreeRTOS_ARP_utest.c1003 BaseType_t xUseEntry; in test_vARPRefreshCacheEntry_NULLMAC_NoMatchingEntry() local
1027 BaseType_t xUseEntry; in test_vARPRefreshCacheEntry_NULLMAC_MatchingEntry() local
1054 BaseType_t xUseEntry; in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch() local
1065 xUseEntry = 1; in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1066 xARPCache[ xUseEntry ].ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1074 TEST_ASSERT_EQUAL_MESSAGE( ipconfigMAX_ARP_AGE, xARPCache[ xUseEntry ].ucAge, "Test 3" ); in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1075 TEST_ASSERT_EQUAL( ( uint8_t ) pdTRUE, xARPCache[ xUseEntry ].ucValid ); in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1076 …TEST_ASSERT_EQUAL_MEMORY( xMACAddress.ucBytes, xARPCache[ xUseEntry ].xMACAddress.ucBytes, sizeof(… in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1085 BaseType_t xUseEntry; in test_vARPRefreshCacheEntry_MACAndIPWillMatch() local
1096 xUseEntry = 1; in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
[all …]
/FreeRTOS-Plus-TCP-v3.1.0/source/
DFreeRTOS_ARP.c478 BaseType_t xUseEntry = 0; in vARPRefreshCacheEntry() local
584 xUseEntry = x; in vARPRefreshCacheEntry()
598 xUseEntry = xMacEntry; in vARPRefreshCacheEntry()
611 xUseEntry = xIpEntry; in vARPRefreshCacheEntry()
619 xARPCache[ xUseEntry ].ulIPAddress = ulIPAddress; in vARPRefreshCacheEntry()
623 …( void ) memcpy( xARPCache[ xUseEntry ].xMACAddress.ucBytes, pxMACAddress->ucBytes, sizeof( pxMACA… in vARPRefreshCacheEntry()
627 xARPCache[ xUseEntry ].ucAge = ( uint8_t ) ipconfigMAX_ARP_AGE; in vARPRefreshCacheEntry()
628 xARPCache[ xUseEntry ].ucValid = ( uint8_t ) pdTRUE; in vARPRefreshCacheEntry()
632 xARPCache[ xUseEntry ].ucAge = ( uint8_t ) ipconfigMAX_ARP_RETRANSMISSIONS; in vARPRefreshCacheEntry()
633 xARPCache[ xUseEntry ].ucValid = ( uint8_t ) pdFALSE; in vARPRefreshCacheEntry()