Lines Matching refs:xIPAddress

115     IPv6_Address_t xIPAddress;  in test_eNDGetCacheEntry_MulticastEndPoint()  local
118 ( void ) memcpy( xIPAddress.ucBytes, xMultiCastIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_MulticastEndPoint()
125 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, &pxEndPoint ); in test_eNDGetCacheEntry_MulticastEndPoint()
139 IPv6_Address_t xIPAddress; in test_eNDGetCacheEntry_Multicast_ValidEndPoint() local
144 ( void ) memcpy( xIPAddress.ucBytes, xMultiCastIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_Multicast_ValidEndPoint()
155 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, &pxEndPoint ); in test_eNDGetCacheEntry_Multicast_ValidEndPoint()
169 IPv6_Address_t xIPAddress; in test_eNDGetCacheEntry_Multicast_InvalidEndPoint() local
171 ( void ) memcpy( xIPAddress.ucBytes, xMultiCastIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_Multicast_InvalidEndPoint()
176 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, ppxEndPoint ); in test_eNDGetCacheEntry_Multicast_InvalidEndPoint()
189 IPv6_Address_t xIPAddress; in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint() local
197 …( void ) memcpy( xNDCache[ xUseEntry ].xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IP… in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint()
199 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint()
203 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, ppxEndPoint ); in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint()
218 IPv6_Address_t xIPAddress; in test_eNDGetCacheEntry_NDCacheLookupHit_ValidEndPoint() local
227 …( void ) memcpy( xNDCache[ xUseEntry ].xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IP… in test_eNDGetCacheEntry_NDCacheLookupHit_ValidEndPoint()
229 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_NDCacheLookupHit_ValidEndPoint()
236 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, &pxEndPoint ); in test_eNDGetCacheEntry_NDCacheLookupHit_ValidEndPoint()
253 IPv6_Address_t xIPAddress; in test_eNDGetCacheEntry_NDCacheLookupMiss_InvalidEntry() local
258 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_NDCacheLookupMiss_InvalidEntry()
265 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, &pxEndPoint ); in test_eNDGetCacheEntry_NDCacheLookupMiss_InvalidEntry()
280 IPv6_Address_t xIPAddress; in test_eNDGetCacheEntry_NDCacheLookupMiss_InvalidEntry2() local
285 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_NDCacheLookupMiss_InvalidEntry2()
291 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, ppxEndPoint ); in test_eNDGetCacheEntry_NDCacheLookupMiss_InvalidEntry2()
307 IPv6_Address_t xIPAddress; in test_eNDGetCacheEntry_NDCacheLookupMiss_NoEntry() local
312 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_NDCacheLookupMiss_NoEntry()
319 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, &pxEndPoint ); in test_eNDGetCacheEntry_NDCacheLookupMiss_NoEntry()
335 IPv6_Address_t xIPAddress; in test_eNDGetCacheEntry_NDCacheLookupMiss_NoLinkLocal() local
340 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_NDCacheLookupMiss_NoLinkLocal()
351 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, &pxEndPoint ); in test_eNDGetCacheEntry_NDCacheLookupMiss_NoLinkLocal()
367 IPv6_Address_t xIPAddress; in test_eNDGetCacheEntry_NDCacheLookupMiss_LinkLocal() local
372 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_NDCacheLookupMiss_LinkLocal()
381 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, &pxEndPoint ); in test_eNDGetCacheEntry_NDCacheLookupMiss_LinkLocal()
393 IPv6_Address_t xIPAddress; in test_eNDGetCacheEntry_NDCacheLookupHit_Gateway() local
401 …( void ) memcpy( xNDCache[ xUseEntry ].xIPAddress.ucBytes, xGatewayIPAddress.ucBytes, ipSIZE_OF_IP… in test_eNDGetCacheEntry_NDCacheLookupHit_Gateway()
404 ( void ) memcpy( xIPAddress.ucBytes, xSiteLocalIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_NDCacheLookupHit_Gateway()
413 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, &pxEndPoint ); in test_eNDGetCacheEntry_NDCacheLookupHit_Gateway()
426 IPv6_Address_t xIPAddress; in test_eNDGetCacheEntry_NDCacheLookupMiss_Gateway() local
434 …( void ) memcpy( xNDCache[ xUseEntry ].xIPAddress.ucBytes, xGatewayIPAddress.ucBytes, ipSIZE_OF_IP… in test_eNDGetCacheEntry_NDCacheLookupMiss_Gateway()
437 ( void ) memcpy( xIPAddress.ucBytes, xSiteLocalIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_NDCacheLookupMiss_Gateway()
446 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, &pxEndPoint ); in test_eNDGetCacheEntry_NDCacheLookupMiss_Gateway()
458 IPv6_Address_t xIPAddress; in test_eNDGetCacheEntry_NDCacheLookupMiss_NoEP() local
464 …( void ) memcpy( xNDCache[ xUseEntry ].xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IP… in test_eNDGetCacheEntry_NDCacheLookupMiss_NoEP()
475 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, &pxEndPoint ); in test_eNDGetCacheEntry_NDCacheLookupMiss_NoEP()
488 IPv6_Address_t xIPAddress; in test_vNDRefreshCacheEntry_NoMatchingEntryCacheFull() local
492 ( void ) memset( xIPAddress.ucBytes, 0, ipSIZE_OF_IPv6_ADDRESS ); in test_vNDRefreshCacheEntry_NoMatchingEntryCacheFull()
498 …( void ) memcpy( xNDCache[ i ].xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRE… in test_vNDRefreshCacheEntry_NoMatchingEntryCacheFull()
504 vNDRefreshCacheEntry( &xMACAddress, &xIPAddress, &xEndPoint ); in test_vNDRefreshCacheEntry_NoMatchingEntryCacheFull()
515 IPv6_Address_t xIPAddress; in test_vNDRefreshCacheEntry_NoMatchingEntryAdd() local
520 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_vNDRefreshCacheEntry_NoMatchingEntryAdd()
524 vNDRefreshCacheEntry( &xMACAddress, &xIPAddress, &xEndPoint ); in test_vNDRefreshCacheEntry_NoMatchingEntryAdd()
528 …TEST_ASSERT_EQUAL_MEMORY( xNDCache[ xUseEntry ].xIPAddress.ucBytes, xIPAddress.ucBytes, ipSIZE_OF_… in test_vNDRefreshCacheEntry_NoMatchingEntryAdd()
540 IPv6_Address_t xIPAddress; in test_vNDRefreshCacheEntry_MatchingEntryRefresh() local
545 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_vNDRefreshCacheEntry_MatchingEntryRefresh()
547 …( void ) memcpy( xNDCache[ xUseEntry ].xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IP… in test_vNDRefreshCacheEntry_MatchingEntryRefresh()
551 vNDRefreshCacheEntry( &xMACAddress, &xIPAddress, &xEndPoint ); in test_vNDRefreshCacheEntry_MatchingEntryRefresh()
583 IPv6_Address_t xIPAddress; in test_vNDAgeCache_AgeZero() local
598 ( void ) memset( &xIPAddress, 0, ipSIZE_OF_IPv6_ADDRESS ); in test_vNDAgeCache_AgeZero()
600 …( void ) memcpy( xNDCache[ xUseEntry ].xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IP… in test_vNDAgeCache_AgeZero()
605 …TEST_ASSERT_EQUAL_MEMORY( xNDCache[ xUseEntry ].xIPAddress.ucBytes, xIPAddress.ucBytes, ipSIZE_OF_… in test_vNDAgeCache_AgeZero()
657 IPv6_Address_t xIPAddress; in test_vNDAgeCache_ValidEntryDecrement() local
680 IPv6_Address_t xIPAddress; in test_vNDAgeCache_NSNullEP() local
707 IPv6_Address_t xIPAddress; in test_vNDAgeCache_NSIncorrectDataLen() local
743 IPv6_Address_t xIPAddress; in test_vNDAgeCache_NSHappyPath() local
812 IPv6_Address_t xIPAddress; in test_vNDSendNeighbourSolicitation_NULL_EP() local
817 vNDSendNeighbourSolicitation( &xNetworkBuffer, &xIPAddress ); in test_vNDSendNeighbourSolicitation_NULL_EP()
826 IPv6_Address_t xIPAddress; in test_vNDSendNeighbourSolicitation_bIPv6_NotSet() local
834 vNDSendNeighbourSolicitation( &xNetworkBuffer, &xIPAddress ); in test_vNDSendNeighbourSolicitation_bIPv6_NotSet()
844 IPv6_Address_t xIPAddress; in test_vNDSendNeighbourSolicitation_HappyPath() local
855 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_vNDSendNeighbourSolicitation_HappyPath()
860 vNDSendNeighbourSolicitation( &xNetworkBuffer, &xIPAddress ); in test_vNDSendNeighbourSolicitation_HappyPath()
879 IPv6_Address_t xIPAddress; in test_SendPingRequestIPv6_NULL_EP() local
883 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_SendPingRequestIPv6_NULL_EP()
894 xReturn = FreeRTOS_SendPingRequestIPv6( &xIPAddress, uxNumberOfBytesToSend, 0 ); in test_SendPingRequestIPv6_NULL_EP()
907 IPv6_Address_t xIPAddress; in test_SendPingRequestIPv6_bIPv6_NotSet() local
911 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_SendPingRequestIPv6_bIPv6_NotSet()
920 xReturn = FreeRTOS_SendPingRequestIPv6( &xIPAddress, uxNumberOfBytesToSend, 0 ); in test_SendPingRequestIPv6_bIPv6_NotSet()
934 IPv6_Address_t xIPAddress; in test_SendPingRequestIPv6_bIPv6_NoBytesToSend() local
938 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_SendPingRequestIPv6_bIPv6_NoBytesToSend()
948 xReturn = FreeRTOS_SendPingRequestIPv6( &xIPAddress, uxNumberOfBytesToSend, 0 ); in test_SendPingRequestIPv6_bIPv6_NoBytesToSend()
960 IPv6_Address_t xIPAddress; in test_SendPingRequestIPv6_bIPv6_NotEnoughSpace() local
964 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_SendPingRequestIPv6_bIPv6_NotEnoughSpace()
974 xReturn = FreeRTOS_SendPingRequestIPv6( &xIPAddress, uxNumberOfBytesToSend, 0 ); in test_SendPingRequestIPv6_bIPv6_NotEnoughSpace()
986 IPv6_Address_t xIPAddress; in test_SendPingRequestIPv6_IncorectBytesSend() local
990 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_SendPingRequestIPv6_IncorectBytesSend()
997 xReturn = FreeRTOS_SendPingRequestIPv6( &xIPAddress, uxNumberOfBytesToSend, 0 ); in test_SendPingRequestIPv6_IncorectBytesSend()
1009 IPv6_Address_t xIPAddress; in test_SendPingRequestIPv6_NULL_Buffer() local
1013 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_SendPingRequestIPv6_NULL_Buffer()
1027 xReturn = FreeRTOS_SendPingRequestIPv6( &xIPAddress, uxNumberOfBytesToSend, 0 ); in test_SendPingRequestIPv6_NULL_Buffer()
1040 IPv6_Address_t xIPAddress; in test_SendPingRequestIPv6_Assert() local
1045 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_SendPingRequestIPv6_Assert()
1059 xReturn = FreeRTOS_SendPingRequestIPv6( &xIPAddress, uxNumberOfBytesToSend, 0 ); in test_SendPingRequestIPv6_Assert()
1073 IPv6_Address_t xIPAddress; in test_SendPingRequestIPv6_SendToIP_Pass() local
1078 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_SendPingRequestIPv6_SendToIP_Pass()
1092 xReturn = FreeRTOS_SendPingRequestIPv6( &xIPAddress, uxNumberOfBytesToSend, 0 ); in test_SendPingRequestIPv6_SendToIP_Pass()
1106 IPv6_Address_t xIPAddress; in test_SendPingRequestIPv6_SendToIP_Fail() local
1111 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_SendPingRequestIPv6_SendToIP_Fail()
1126 xReturn = FreeRTOS_SendPingRequestIPv6( &xIPAddress, uxNumberOfBytesToSend, 0 ); in test_SendPingRequestIPv6_SendToIP_Fail()
1558 …( void ) memcpy( xEndPoint.ipv6_settings.xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_… in test_prvProcessICMPMessage_IPv6_NeighborSolicitation()
1805 …( void ) memcpy( xEndPoint.ipv6_settings.xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_… in test_FreeRTOS_OutputAdvertiseIPv6_HappyPath()
1819 …xICMPPacket->xIPHeader.xSourceAddress.ucBytes, xEndPoint.ipv6_settings.xIPAddress.ucBytes, ipSIZE_… in test_FreeRTOS_OutputAdvertiseIPv6_HappyPath()
1824 …MORY( pxICMPHeader_IPv6->xIPv6Address.ucBytes, xEndPoint.ipv6_settings.xIPAddress.ucBytes, sizeof(… in test_FreeRTOS_OutputAdvertiseIPv6_HappyPath()
1872 IPv6_Address_t xIPAddress, xPrefix; in test_FreeRTOS_CreateIPv6Address_Assert2() local
1876 catch_assert( FreeRTOS_CreateIPv6Address( &xIPAddress, &xPrefix, uxPrefixLength, xDoRandom ) ); in test_FreeRTOS_CreateIPv6Address_Assert2()
1885 IPv6_Address_t xIPAddress, xPrefix; in test_FreeRTOS_CreateIPv6Address_Pass1() local
1894 xReturn = FreeRTOS_CreateIPv6Address( &xIPAddress, &xPrefix, uxPrefixLength, xDoRandom ); in test_FreeRTOS_CreateIPv6Address_Pass1()
1906 IPv6_Address_t xIPAddress, xPrefix; in test_FreeRTOS_CreateIPv6Address_Pass2() local
1915 xReturn = FreeRTOS_CreateIPv6Address( &xIPAddress, &xPrefix, uxPrefixLength, xDoRandom ); in test_FreeRTOS_CreateIPv6Address_Pass2()
1922 IPv6_Address_t xIPAddress, xPrefix; in test_FreeRTOS_CreateIPv6Address_Pass3() local
1931 xReturn = FreeRTOS_CreateIPv6Address( &xIPAddress, &xPrefix, uxPrefixLength, xDoRandom ); in test_FreeRTOS_CreateIPv6Address_Pass3()