Lines Matching refs:xUseEntry
1003 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()
1097 xARPCache[ xUseEntry ].ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1099 memset( xARPCache[ xUseEntry ].xMACAddress.ucBytes, 0x11, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1107 TEST_ASSERT_EQUAL_MESSAGE( ipconfigMAX_ARP_AGE, xARPCache[ xUseEntry ].ucAge, "Test 4" ); in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1108 TEST_ASSERT_EQUAL( ( uint8_t ) pdTRUE, xARPCache[ xUseEntry ].ucValid ); in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1109 …TEST_ASSERT_EQUAL_MEMORY( xMACAddress.ucBytes, xARPCache[ xUseEntry ].xMACAddress.ucBytes, sizeof(… in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1119 BaseType_t xUseEntry; in test_vARPRefreshCacheEntry_IPOnADifferentSubnet() local
1130 xUseEntry = 1; in test_vARPRefreshCacheEntry_IPOnADifferentSubnet()
1131 xARPCache[ xUseEntry ].ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_IPOnADifferentSubnet()
1133 memset( xARPCache[ xUseEntry ].xMACAddress.ucBytes, 0x11, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_IPOnADifferentSubnet()
1155 BaseType_t xUseEntry; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations() local
1166 xUseEntry = 0; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1169 xARPCache[ xUseEntry ].ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1173 memset( xARPCache[ xUseEntry + 1 ].xMACAddress.ucBytes, 0x22, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1180 TEST_ASSERT_EQUAL( xARPCache[ xUseEntry + 1 ].ulIPAddress, ulIPAddress ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1181 TEST_ASSERT_EQUAL_MESSAGE( ipconfigMAX_ARP_AGE, xARPCache[ xUseEntry + 1 ].ucAge, "Test 9" ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1182 TEST_ASSERT_EQUAL( ( uint8_t ) pdTRUE, xARPCache[ xUseEntry + 1 ].ucValid ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1186 TEST_ASSERT_EQUAL_MEMORY( MemoryCompare, &xARPCache[ xUseEntry ], sizeof( ARPCacheRow_t ) ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1195 BaseType_t xUseEntry; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1() local
1206 xUseEntry = 0; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1209 xARPCache[ xUseEntry ].ulIPAddress = 0xAABBCCEA; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1213 memset( xARPCache[ xUseEntry + 1 ].xMACAddress.ucBytes, 0x22, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1220 TEST_ASSERT_EQUAL( xARPCache[ xUseEntry + 1 ].ulIPAddress, ulIPAddress ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1221 TEST_ASSERT_EQUAL_MESSAGE( ipconfigMAX_ARP_AGE, xARPCache[ xUseEntry + 1 ].ucAge, "Test 9" ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1222 TEST_ASSERT_EQUAL( ( uint8_t ) pdTRUE, xARPCache[ xUseEntry + 1 ].ucValid ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()