Lines Matching refs:ucBytes
91 …memset( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, 0xAA, ipMAC_ADDRESS_LENGTH_BYTES … in test_xCheckLoopback_IncorrectMACAddress()
114 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, ipLOCAL_MAC_ADDRESS, ipMAC_ADDRES… in test_xCheckLoopback_HappyCase()
139 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, ipLOCAL_MAC_ADDRESS, ipMAC_ADDRES… in test_xCheckLoopback_DuplicationFails()
165 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, ipLOCAL_MAC_ADDRESS, ipMAC_ADDRES… in test_xCheckLoopback_SendEventToIPTaskFails()
290 xARPFrame.xARPHeader.xSenderHardwareAddress.ucBytes[ 0 ] = 0x01; in test_eARPProcessPacket_SourceMACIsMulticast()
965 memset( xARPCache[ i ].xMACAddress.ucBytes, 0x11, sizeof( xMACAddress.ucBytes ) ); in test_ulARPRemoveCacheEntryByMac_NoMatch()
986 memset( xARPCache[ i ].xMACAddress.ucBytes, 0x11, sizeof( xMACAddress.ucBytes ) ); in test_ulARPRemoveCacheEntryByMac_OneMatchingEntry()
991 memset( xARPCache[ xEntryToCheck ].xMACAddress.ucBytes, 0xAA, sizeof( xMACAddress.ucBytes ) ); in test_ulARPRemoveCacheEntryByMac_OneMatchingEntry()
1062 memset( xARPCache[ i ].xMACAddress.ucBytes, 0x34, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1069 memset( xMACAddress.ucBytes, 0x11, ipMAC_ADDRESS_LENGTH_BYTES ); in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1076 …ST_ASSERT_EQUAL_MEMORY( xMACAddress.ucBytes, xARPCache[ xUseEntry ].xMACAddress.ucBytes, sizeof( x… in test_vARPRefreshCacheEntry_MACWontMatch_IPWillMatch()
1093 memset( xARPCache[ i ].xMACAddress.ucBytes, 0x34, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1099 memset( xARPCache[ xUseEntry ].xMACAddress.ucBytes, 0x11, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1102 memset( xMACAddress.ucBytes, 0x11, ipMAC_ADDRESS_LENGTH_BYTES ); in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1109 …ST_ASSERT_EQUAL_MEMORY( xMACAddress.ucBytes, xARPCache[ xUseEntry ].xMACAddress.ucBytes, sizeof( x… in test_vARPRefreshCacheEntry_MACAndIPWillMatch()
1127 memset( xARPCache[ i ].xMACAddress.ucBytes, 0x34, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_IPOnADifferentSubnet()
1133 memset( xARPCache[ xUseEntry ].xMACAddress.ucBytes, 0x11, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_IPOnADifferentSubnet()
1139 memset( xMACAddress.ucBytes, 0x11, ipMAC_ADDRESS_LENGTH_BYTES ); in test_vARPRefreshCacheEntry_IPOnADifferentSubnet()
1146 …TEST_ASSERT_EQUAL_MEMORY( xMACAddress.ucBytes, xARPCache[ 0 ].xMACAddress.ucBytes, sizeof( xMACAdd… in test_vARPRefreshCacheEntry_IPOnADifferentSubnet()
1163 memset( xARPCache[ i ].xMACAddress.ucBytes, 0x34, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1173 memset( xARPCache[ xUseEntry + 1 ].xMACAddress.ucBytes, 0x22, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1174 memset( xMACAddress.ucBytes, 0x22, ipMAC_ADDRESS_LENGTH_BYTES ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations()
1203 memset( xARPCache[ i ].xMACAddress.ucBytes, 0x34, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1213 memset( xARPCache[ xUseEntry + 1 ].xMACAddress.ucBytes, 0x22, sizeof( xMACAddress.ucBytes ) ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1214 memset( xMACAddress.ucBytes, 0x22, ipMAC_ADDRESS_LENGTH_BYTES ); in test_vARPRefreshCacheEntry_IPAndMACInDifferentLocations1()
1249 memset( xARPCache[ i ].xMACAddress.ucBytes, 0x11, sizeof( xMACAddress.ucBytes ) ); in test_eARPGetCacheEntryByMac_NoMatchingEntries()
1270 memset( xARPCache[ i ].xMACAddress.ucBytes, 0x11, sizeof( xMACAddress.ucBytes ) ); in test_eARPGetCacheEntryByMac_OneMatchingEntry()
1274 memset( xARPCache[ ulEntryToTest ].xMACAddress.ucBytes, 0x22, sizeof( xMACAddress.ucBytes ) ); in test_eARPGetCacheEntryByMac_OneMatchingEntry()