Searched refs:xUseEntry (Results 1 – 4 of 4) sorted by relevance
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ND/ |
D | FreeRTOS_ND_utest.c | 192 BaseType_t xUseEntry = 0; in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint() local 197 …( void ) memcpy( xNDCache[ xUseEntry ].xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IP… in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint() 198 …( void ) memcpy( xNDCache[ xUseEntry ].xMACAddress.ucBytes, xDefaultMACAddress.ucBytes, sizeof( MA… in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint() 200 xNDCache[ xUseEntry ].ucAge = 1; in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint() 201 xNDCache[ xUseEntry ].ucValid = 1; in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint() 206 …TEST_ASSERT_EQUAL_MEMORY( xMACAddress.ucBytes, xNDCache[ xUseEntry ].xMACAddress.ucBytes, sizeof( … in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint() 221 BaseType_t xUseEntry = 0; in test_eNDGetCacheEntry_NDCacheLookupHit_ValidEndPoint() local 227 …( void ) memcpy( xNDCache[ xUseEntry ].xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IP… in test_eNDGetCacheEntry_NDCacheLookupHit_ValidEndPoint() 228 …( void ) memcpy( xNDCache[ xUseEntry ].xMACAddress.ucBytes, xDefaultMACAddress.ucBytes, sizeof( MA… in test_eNDGetCacheEntry_NDCacheLookupHit_ValidEndPoint() 231 xNDCache[ xUseEntry ].ucAge = 1; in test_eNDGetCacheEntry_NDCacheLookupHit_ValidEndPoint() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/source/ |
D | FreeRTOS_ARP.c | 721 xLocation.xUseEntry = xLocation.xMacEntry; in vARPRefreshCacheEntry() 734 xLocation.xUseEntry = xLocation.xIpEntry; in vARPRefreshCacheEntry() 742 xARPCache[ xLocation.xUseEntry ].ulIPAddress = ulIPAddress; in vARPRefreshCacheEntry() 746 …( void ) memcpy( xARPCache[ xLocation.xUseEntry ].xMACAddress.ucBytes, pxMACAddress->ucBytes, size… in vARPRefreshCacheEntry() 750 xARPCache[ xLocation.xUseEntry ].ucAge = ( uint8_t ) ipconfigMAX_ARP_AGE; in vARPRefreshCacheEntry() 751 xARPCache[ xLocation.xUseEntry ].ucValid = ( uint8_t ) pdTRUE; in vARPRefreshCacheEntry() 752 xARPCache[ xLocation.xUseEntry ].pxEndPoint = pxEndPoint; in vARPRefreshCacheEntry() 756 … xARPCache[ xLocation.xUseEntry ].ucAge = ( uint8_t ) ipconfigMAX_ARP_RETRANSMISSIONS; in vARPRefreshCacheEntry() 757 xARPCache[ xLocation.xUseEntry ].ucValid = ( uint8_t ) pdFALSE; in vARPRefreshCacheEntry() 794 pxLocation->xUseEntry = 0; in prvFindCacheEntry() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ARP/ |
D | FreeRTOS_ARP_utest.c | 1899 BaseType_t xUseEntry; in test_vARPRefreshCacheEntry_NULLMAC_NoMatchingEntry() local 1926 BaseType_t xUseEntry; in test_vARPRefreshCacheEntry_NULLMAC_MatchingEntry() local 1956 BaseType_t xUseEntry; in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch() local 1968 xUseEntry = 1; in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch() 1969 xARPCache[ xUseEntry ].ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch() 1980 TEST_ASSERT_EQUAL_MESSAGE( ipconfigMAX_ARP_AGE, xARPCache[ xUseEntry ].ucAge, "Test 3" ); in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch() 1981 TEST_ASSERT_EQUAL( ( uint8_t ) pdTRUE, xARPCache[ xUseEntry ].ucValid ); in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch() 1982 …TEST_ASSERT_EQUAL_MEMORY( xMACAddress.ucBytes, xARPCache[ xUseEntry ].xMACAddress.ucBytes, sizeof(… in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch() 1991 BaseType_t xUseEntry; in test_vARPRefreshCacheEntry_MACAndIPWillMatch() local 2003 xUseEntry = 1; in test_vARPRefreshCacheEntry_MACAndIPWillMatch() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/source/include/ |
D | FreeRTOS_ARP.h | 79 BaseType_t xUseEntry; /**< The index of the first free location. */ member
|