Lines Matching refs:ulIPAddress
568 xARPCache[ 0 ].ulIPAddress = ulSenderProtocolAddress; in test_eARPProcessPacket_Reply_TargetIPNotSameAsLocalIP_ButEntryInCache()
798 uint32_t ulIPAddress = 0x1234ABCD; in test_xIsIPInARPCache_NoMatchingIP() local
803 xARPCache[ x ].ulIPAddress = 0; in test_xIsIPInARPCache_NoMatchingIP()
806 xResult = xIsIPInARPCache( ulIPAddress ); in test_xIsIPInARPCache_NoMatchingIP()
813 uint32_t ulIPAddress = 0x1234ABCD; in test_xIsIPInARPCache_MatchingIPButEntryInvalid() local
818 xARPCache[ x ].ulIPAddress = 0; in test_xIsIPInARPCache_MatchingIPButEntryInvalid()
822 xARPCache[ 0 ].ulIPAddress = ulIPAddress; in test_xIsIPInARPCache_MatchingIPButEntryInvalid()
824 xResult = xIsIPInARPCache( ulIPAddress ); in test_xIsIPInARPCache_MatchingIPButEntryInvalid()
831 uint32_t ulIPAddress = 0x1234ABCD; in test_xIsIPInARPCache_MatchingIP1() local
836 xARPCache[ x ].ulIPAddress = 0; in test_xIsIPInARPCache_MatchingIP1()
840 xARPCache[ 0 ].ulIPAddress = ulIPAddress; in test_xIsIPInARPCache_MatchingIP1()
842 xResult = xIsIPInARPCache( ulIPAddress ); in test_xIsIPInARPCache_MatchingIP1()
849 uint32_t ulIPAddress = 0x1234ABCD; in test_xIsIPInARPCache_MatchingIP2() local
854 xARPCache[ x ].ulIPAddress = 0; in test_xIsIPInARPCache_MatchingIP2()
858 xARPCache[ ipconfigARP_CACHE_ENTRIES - 1 ].ulIPAddress = ulIPAddress; in test_xIsIPInARPCache_MatchingIP2()
860 xResult = xIsIPInARPCache( ulIPAddress ); in test_xIsIPInARPCache_MatchingIP2()
907 xARPCache[ x ].ulIPAddress = 0; in test_xCheckRequiresARPResolution_OnLocalNetwork_NotInCache()
939 xARPCache[ x ].ulIPAddress = pxIPHeader->ulSourceIPAddress; in test_xCheckRequiresARPResolution_OnLocalNetwork_InCache()
964 xARPCache[ i ].ulIPAddress = 0xAABBCCDD; in test_ulARPRemoveCacheEntryByMac_NoMatch()
985 xARPCache[ i ].ulIPAddress = 0xAABBCCDD; in test_ulARPRemoveCacheEntryByMac_OneMatchingEntry()
990 xARPCache[ xEntryToCheck ].ulIPAddress = 0xAABBCCEE; in test_ulARPRemoveCacheEntryByMac_OneMatchingEntry()
1001 uint32_t ulIPAddress; in test_vARPRefreshCacheEntry_NULLMAC_NoMatchingEntry() local
1007 xARPCache[ i ].ulIPAddress = 0xAABBCCDD; in test_vARPRefreshCacheEntry_NULLMAC_NoMatchingEntry()
1012 ulIPAddress = 0x00; in test_vARPRefreshCacheEntry_NULLMAC_NoMatchingEntry()
1014 vARPRefreshCacheEntry( NULL, ulIPAddress ); in test_vARPRefreshCacheEntry_NULLMAC_NoMatchingEntry()
1025 uint32_t ulIPAddress; in test_vARPRefreshCacheEntry_NULLMAC_MatchingEntry() local
1032 xARPCache[ i ].ulIPAddress = 0xAABBCCDD; in test_vARPRefreshCacheEntry_NULLMAC_MatchingEntry()
1037 xARPCache[ 1 ].ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_NULLMAC_MatchingEntry()
1039 ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_NULLMAC_MatchingEntry()
1041 vARPRefreshCacheEntry( NULL, ulIPAddress ); in test_vARPRefreshCacheEntry_NULLMAC_MatchingEntry()
1052 uint32_t ulIPAddress; in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch() local
1059 xARPCache[ i ].ulIPAddress = 0xAABBCCDD; in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1066 xARPCache[ xUseEntry ].ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1068 ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1071 vARPRefreshCacheEntry( &xMACAddress, ulIPAddress ); in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1083 uint32_t ulIPAddress; in test_vARPRefreshCacheEntry_MACAndIPWillMatch() local
1090 xARPCache[ i ].ulIPAddress = 0xAABBCCDD; in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1097 xARPCache[ xUseEntry ].ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1101 ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1104 vARPRefreshCacheEntry( &xMACAddress, ulIPAddress ); in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1117 uint32_t ulIPAddress; in test_vARPRefreshCacheEntry_IPOnADifferentSubnet() local
1124 xARPCache[ i ].ulIPAddress = 0xAABBCCDD; in test_vARPRefreshCacheEntry_IPOnADifferentSubnet()
1131 xARPCache[ xUseEntry ].ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_IPOnADifferentSubnet()
1138 ulIPAddress = 0x00BBCCEE; in test_vARPRefreshCacheEntry_IPOnADifferentSubnet()
1141 vARPRefreshCacheEntry( &xMACAddress, ulIPAddress ); in test_vARPRefreshCacheEntry_IPOnADifferentSubnet()
1153 uint32_t ulIPAddress; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations() local
1160 xARPCache[ i ].ulIPAddress = 0xAABBCCDD; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1169 xARPCache[ xUseEntry ].ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1170 ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1177 vARPRefreshCacheEntry( &xMACAddress, ulIPAddress ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1180 TEST_ASSERT_EQUAL( xARPCache[ xUseEntry + 1 ].ulIPAddress, ulIPAddress ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1193 uint32_t ulIPAddress; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1() local
1200 xARPCache[ i ].ulIPAddress = 0xAABBCCDD; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1209 xARPCache[ xUseEntry ].ulIPAddress = 0xAABBCCEA; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1210 ulIPAddress = 0xAABBCCEE; in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1217 vARPRefreshCacheEntry( &xMACAddress, ulIPAddress ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1220 TEST_ASSERT_EQUAL( xARPCache[ xUseEntry + 1 ].ulIPAddress, ulIPAddress ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1227 uint32_t ulIPAddress = 0x12345678, ulEntryToTest; in test_eARPGetCacheEntryByMac_catchAssert() local
1233 catch_assert( eARPGetCacheEntryByMac( NULL, &ulIPAddress ) ); in test_eARPGetCacheEntryByMac_catchAssert()
1239 uint32_t ulIPAddress = 0x12345678, ulEntryToTest; in test_eARPGetCacheEntryByMac_NoMatchingEntries() local
1248 xARPCache[ i ].ulIPAddress = 0xAABBCCDD; in test_eARPGetCacheEntryByMac_NoMatchingEntries()
1252 eResult = eARPGetCacheEntryByMac( &xMACAddress, &ulIPAddress ); in test_eARPGetCacheEntryByMac_NoMatchingEntries()
1254 TEST_ASSERT_EQUAL( 0x12345678, ulIPAddress ); in test_eARPGetCacheEntryByMac_NoMatchingEntries()
1260 uint32_t ulIPAddress = 0x12345678, ulEntryToTest; in test_eARPGetCacheEntryByMac_OneMatchingEntry() local
1269 xARPCache[ i ].ulIPAddress = 0xAABBCCDD; in test_eARPGetCacheEntryByMac_OneMatchingEntry()
1275 xARPCache[ ulEntryToTest ].ulIPAddress = 0xAABBCCEE; in test_eARPGetCacheEntryByMac_OneMatchingEntry()
1276 eResult = eARPGetCacheEntryByMac( &xMACAddress, &ulIPAddress ); in test_eARPGetCacheEntryByMac_OneMatchingEntry()
1278 TEST_ASSERT_EQUAL( xARPCache[ ulEntryToTest ].ulIPAddress, ulIPAddress ); in test_eARPGetCacheEntryByMac_OneMatchingEntry()
1284 uint32_t ulIPAddress; in test_eARPGetCacheEntry_CatchAssert() local
1288 catch_assert( eARPGetCacheEntry( &ulIPAddress, NULL ) ); in test_eARPGetCacheEntry_CatchAssert()
1293 uint32_t ulIPAddress; in test_eARPGetCacheEntry_IPMatchesBroadcastAddr() local
1299 ulIPAddress = xNetworkAddressing.ulBroadcastAddress; in test_eARPGetCacheEntry_IPMatchesBroadcastAddr()
1301 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_eARPGetCacheEntry_IPMatchesBroadcastAddr()
1302 eResult = eARPGetCacheEntry( &ulIPAddress, &xMACAddress ); in test_eARPGetCacheEntry_IPMatchesBroadcastAddr()
1310 uint32_t ulIPAddress; in test_eARPGetCacheEntry_IPMatchesOtherBroadcastAddr() local
1316 ulIPAddress = ipBROADCAST_IP_ADDRESS; in test_eARPGetCacheEntry_IPMatchesOtherBroadcastAddr()
1318 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_eARPGetCacheEntry_IPMatchesOtherBroadcastAddr()
1319 eResult = eARPGetCacheEntry( &ulIPAddress, &xMACAddress ); in test_eARPGetCacheEntry_IPMatchesOtherBroadcastAddr()
1327 uint32_t ulIPAddress; in test_eARPGetCacheEntry_LocalIPIsZero() local
1334 ulIPAddress = 0x1234; in test_eARPGetCacheEntry_LocalIPIsZero()
1336 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_eARPGetCacheEntry_LocalIPIsZero()
1337 eResult = eARPGetCacheEntry( &ulIPAddress, &xMACAddress ); in test_eARPGetCacheEntry_LocalIPIsZero()
1344 uint32_t ulIPAddress; in test_eARPGetCacheEntry_LocalIPMatchesReceivedIP() local
1351 ulIPAddress = *ipLOCAL_IP_ADDRESS_POINTER; in test_eARPGetCacheEntry_LocalIPMatchesReceivedIP()
1353 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_eARPGetCacheEntry_LocalIPMatchesReceivedIP()
1354 eResult = eARPGetCacheEntry( &ulIPAddress, &xMACAddress ); in test_eARPGetCacheEntry_LocalIPMatchesReceivedIP()
1361 uint32_t ulIPAddress; in test_eARPGetCacheEntry_MatchingInvalidEntry() local
1367 ulIPAddress = 0x4321; in test_eARPGetCacheEntry_MatchingInvalidEntry()
1371 xARPCache[ 1 ].ulIPAddress = xNetworkAddressing.ulGatewayAddress; in test_eARPGetCacheEntry_MatchingInvalidEntry()
1375 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_eARPGetCacheEntry_MatchingInvalidEntry()
1376 eResult = eARPGetCacheEntry( &ulIPAddress, &xMACAddress ); in test_eARPGetCacheEntry_MatchingInvalidEntry()
1383 uint32_t ulIPAddress; in test_eARPGetCacheEntry_MatchingValidEntry() local
1389 ulIPAddress = 0x4321; in test_eARPGetCacheEntry_MatchingValidEntry()
1393 xARPCache[ 1 ].ulIPAddress = xNetworkAddressing.ulGatewayAddress; in test_eARPGetCacheEntry_MatchingValidEntry()
1397 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_eARPGetCacheEntry_MatchingValidEntry()
1398 eResult = eARPGetCacheEntry( &ulIPAddress, &xMACAddress ); in test_eARPGetCacheEntry_MatchingValidEntry()
1406 uint32_t ulIPAddress; in test_eARPGetCacheEntry_GatewayAddressZero() local
1419 ulIPAddress = 0x4321; in test_eARPGetCacheEntry_GatewayAddressZero()
1421 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_eARPGetCacheEntry_GatewayAddressZero()
1422 eResult = eARPGetCacheEntry( &ulIPAddress, &xMACAddress ); in test_eARPGetCacheEntry_GatewayAddressZero()
1430 uint32_t ulIPAddress; in test_eARPGetCacheEntry_AddressNotOnLocalAddress() local
1436 ulIPAddress = 0; in test_eARPGetCacheEntry_AddressNotOnLocalAddress()
1442 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_eARPGetCacheEntry_AddressNotOnLocalAddress()
1443 eResult = eARPGetCacheEntry( &ulIPAddress, &xMACAddress ); in test_eARPGetCacheEntry_AddressNotOnLocalAddress()
1450 uint32_t ulIPAddress; in test_eARPGetCacheEntry_NoCacheHit() local
1458 xARPCache[ i ].ulIPAddress = 0; in test_eARPGetCacheEntry_NoCacheHit()
1465 ulIPAddress = 0; in test_eARPGetCacheEntry_NoCacheHit()
1471 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_eARPGetCacheEntry_NoCacheHit()
1472 eResult = eARPGetCacheEntry( &ulIPAddress, &xMACAddress ); in test_eARPGetCacheEntry_NoCacheHit()
1504 xARPCache[ ucEntryToCheck ].ulIPAddress = 0xAAAAAAAA; in test_vARPAgeCache()
1525 xARPCache[ ucEntryToCheck ].ulIPAddress = 0xAAAAAAAA; in test_vARPAgeCache()
1542 xARPCache[ ucEntryToCheck ].ulIPAddress = 0xAAAAAAAA; in test_vARPAgeCache()
1564 uint32_t ulIPAddress = 0xAAAAAAAA; in test_FreeRTOS_OutputARPRequest() local
1572 FreeRTOS_OutputARPRequest( ulIPAddress ); in test_FreeRTOS_OutputARPRequest()
1580 FreeRTOS_OutputARPRequest( ulIPAddress ); in test_FreeRTOS_OutputARPRequest()
1587 FreeRTOS_OutputARPRequest( ulIPAddress ); in test_FreeRTOS_OutputARPRequest()
1601 uint32_t ulIPAddress = 0xAAAAAAAA; in test_xARPWaitResolution_PrivateFunctionReturnsHit() local
1609 catch_assert( xARPWaitResolution( ulIPAddress, 0 ) ); in test_xARPWaitResolution_PrivateFunctionReturnsHit()
1619 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 1UL ); in test_xARPWaitResolution_PrivateFunctionReturnsHit()
1621 xResult = xARPWaitResolution( ulIPAddress, 0 ); in test_xARPWaitResolution_PrivateFunctionReturnsHit()
1628 uint32_t ulIPAddress = 0xAAAAAAAA; in test_xARPWaitResolution_GNWFailsNoTimeout() local
1637 xARPCache[ i ].ulIPAddress = 0xAAAAAAAA; in test_xARPWaitResolution_GNWFailsNoTimeout()
1640 ulIPAddress = 0x00000031; in test_xARPWaitResolution_GNWFailsNoTimeout()
1648 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_xARPWaitResolution_GNWFailsNoTimeout()
1657 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_xARPWaitResolution_GNWFailsNoTimeout()
1661 xResult = xARPWaitResolution( ulIPAddress, 0 ); in test_xARPWaitResolution_GNWFailsNoTimeout()
1668 uint32_t ulIPAddress = 0xAAAAAAAA; in test_xARPWaitResolution() local
1677 xARPCache[ i ].ulIPAddress = 0xAAAAAAAA; in test_xARPWaitResolution()
1680 ulIPAddress = 0x00000031; in test_xARPWaitResolution()
1688 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_xARPWaitResolution()
1697 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_xARPWaitResolution()
1703 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_xARPWaitResolution()
1706 xResult = xARPWaitResolution( ulIPAddress, 0 ); in test_xARPWaitResolution()
1715 xARPCache[ i ].ulIPAddress = 0xAAAAAAAA; in test_xARPWaitResolution()
1718 ulIPAddress = 0x00000031; in test_xARPWaitResolution()
1726 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_xARPWaitResolution()
1735 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 0UL ); in test_xARPWaitResolution()
1742 xIsIPv4Multicast_ExpectAndReturn( ulIPAddress, 1UL ); in test_xARPWaitResolution()
1748 xResult = xARPWaitResolution( ulIPAddress, 0 ); in test_xARPWaitResolution()
1792 xARPCache[ x ].ulIPAddress = 0xAA; in test_FreeRTOS_PrintARPCache()
1803 xARPCache[ x ].ulIPAddress = 0x00; in test_FreeRTOS_PrintARPCache()