Home
last modified time | relevance | path

Searched refs:ucBytes (Results 1 – 25 of 77) sorted by relevance

1234

/FreeRTOS-Plus-TCP-v4.0.0/source/
DFreeRTOS_ND.c205 … FreeRTOS_printf( ( "eNDGetCacheEntry: lookup %pip miss\n", ( void * ) pxIPAddress->ucBytes ) ); in eNDGetCacheEntry()
222 ( void * ) pxIPAddress->ucBytes, in eNDGetCacheEntry()
223 ( void * ) pxEndPoint->ipv6_settings.xIPAddress.ucBytes ) ); in eNDGetCacheEntry()
242 … FreeRTOS_printf( ( "eNDGetCacheEntry: LinkLocal %pip \"%s\"\n", ( void * ) pxIPAddress->ucBytes, in eNDGetCacheEntry()
251 …( void ) memcpy( pxIPAddress->ucBytes, pxEndPoint->ipv6_settings.xGatewayAddress.ucBytes, ipSIZE_O… in eNDGetCacheEntry()
252 … FreeRTOS_printf( ( "eNDGetCacheEntry: Using gw %pip\n", ( void * ) pxIPAddress->ucBytes ) ); in eNDGetCacheEntry()
253 … "eNDGetCacheEntry: From addr %pip\n", ( void * ) pxEndPoint->ipv6_settings.xIPAddress.ucBytes ) ); in eNDGetCacheEntry()
260 …eEntry: found end-point %pip\n", ( void * ) ( *ppxEndPoint )->ipv6_settings.xIPAddress.ucBytes ) ); in eNDGetCacheEntry()
299 …else if( memcmp( xNDCache[ x ].xIPAddress.ucBytes, pxIPAddress->ucBytes, ipSIZE_OF_IPv6_ADDRESS ) … in vNDRefreshCacheEntry()
319 …( void ) memcpy( xNDCache[ xEntryFound ].xIPAddress.ucBytes, pxIPAddress->ucBytes, ipSIZE_OF_IPv6_… in vNDRefreshCacheEntry()
[all …]
DFreeRTOS_IPv6.c49 #define IPv6MC_GET_SCOPE_VALUE( pxIPv6Address ) ( ( ( pxIPv6Address )->ucBytes[ 1 …
52 #define IPv6MC_GET_FLAGS_VALUE( pxIPv6Address ) ( ( ( pxIPv6Address )->ucBytes[ 1 …
265 pxReturnGroupID->ucBytes[ 0 ] = 0U; in xGetIPv6MulticastGroupID()
266 pxReturnGroupID->ucBytes[ 1 ] = 0U; in xGetIPv6MulticastGroupID()
267 ( void ) memcpy( &( pxReturnGroupID->ucBytes[ 2 ] ), &( pxIPv6Address->ucBytes[ 2 ] ), 14 ); in xGetIPv6MulticastGroupID()
293 …( memcmp( pxIPv6Header->xDestinationAddress.ucBytes, FreeRTOS_in6addr_loopback.ucBytes, sizeof( IP… in xIsIPv6Loopback()
294 …( memcmp( pxIPv6Header->xSourceAddress.ucBytes, pxEndPoint->ipv6_settings.xIPAddress.ucBytes, size… in xIsIPv6Loopback()
318 if( pxIPAddress->ucBytes[ 0 ] == 0xffU ) in xIsIPv6AllowedMulticast()
335 …( memcmp( xGroupIDAddress.ucBytes, xIPv6UnspecifiedAddress.ucBytes, sizeof( IPv6_Address_t ) ) == … in xIsIPv6AllowedMulticast()
373 if( ( pxRight->ucBytes[ 0 ] == 0xffU ) && in xCompareIPv6_Address()
[all …]
DFreeRTOS_TCP_Transmission_IPv6.c194 …( void ) memcpy( pxIPHeader->xDestinationAddress.ucBytes, pxSocket->u.xTCP.xRemoteIP.xIP_IPv6.ucBy… in prvTCPReturnPacket_IPV6()
195 …oid ) memcpy( pxIPHeader->xSourceAddress.ucBytes, pxNetworkBuffer->pxEndPoint->ipv6_settings.xIPAd… in prvTCPReturnPacket_IPV6()
204 …( void ) memcpy( xTempAddress.ucBytes, pxIPHeader->xDestinationAddress.ucBytes, ipSIZE_OF_IPv6_ADD… in prvTCPReturnPacket_IPV6()
205 …( void ) memcpy( pxIPHeader->xDestinationAddress.ucBytes, pxIPHeader->xSourceAddress.ucBytes, ipSI… in prvTCPReturnPacket_IPV6()
206 …( void ) memcpy( pxIPHeader->xSourceAddress.ucBytes, xTempAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS … in prvTCPReturnPacket_IPV6()
232 …( void ) memcpy( xDestinationIPAddress.ucBytes, pxIPHeader->xDestinationAddress.ucBytes, ipSIZE_OF… in prvTCPReturnPacket_IPV6()
256 pvCopySource = pxNetworkBuffer->pxEndPoint->xMACAddress.ucBytes; in prvTCPReturnPacket_IPV6()
291 …( void ) memcpy( pxIPHeader->xSourceAddress.ucBytes, pxIPHeader->xDestinationAddress.ucBytes, ipSI… in prvTCPReturnPacket_IPV6()
332 ( void ) memset( xEthAddress.ucBytes, 0, sizeof( xEthAddress.ucBytes ) ); in prvTCPPrepareConnect_IPV6()
336 ( void ) memset( xRemoteIP.xIP_IPv6.ucBytes, 0, ipSIZE_OF_IPv6_ADDRESS ); in prvTCPPrepareConnect_IPV6()
[all …]
DFreeRTOS_Routing.c129 …( void ) memcpy( pxEndPoint->xMACAddress.ucBytes, ucMACAddress, sizeof( pxEndPoint->xMACAddress ) … in FreeRTOS_FillEndPoint()
300 pxEndPoint->xMACAddress.ucBytes[ 4 ], in FreeRTOS_AddEndPoint()
301 pxEndPoint->xMACAddress.ucBytes[ 5 ], in FreeRTOS_AddEndPoint()
302 ( void * ) pxEndPoint->ipv6_defaults.xIPAddress.ucBytes ) ); in FreeRTOS_AddEndPoint()
309 pxEndPoint->xMACAddress.ucBytes[ 4 ], in FreeRTOS_AddEndPoint()
310 pxEndPoint->xMACAddress.ucBytes[ 5 ], in FreeRTOS_AddEndPoint()
503 …if( memcmp( pxEndPoint->xMACAddress.ucBytes, pxMACAddress->ucBytes, ipMAC_ADDRESS_LENGTH_BYTES ) =… in FreeRTOS_FindEndPointOnMAC()
652 …( void ) memcpy( pxEndPoint->ipv6_settings.xGatewayAddress.ucBytes, pxGatewayAddress->ucBytes, ipS… in FreeRTOS_FillEndPoint_IPv6()
657 …emcpy( pxEndPoint->ipv6_settings.xDNSServerAddresses[ 0 ].ucBytes, pxDNSServerAddress->ucBytes, ip… in FreeRTOS_FillEndPoint_IPv6()
662 …( void ) memcpy( pxEndPoint->ipv6_settings.xPrefix.ucBytes, pxNetPrefix->ucBytes, ipSIZE_OF_IPv6_A… in FreeRTOS_FillEndPoint_IPv6()
[all …]
DFreeRTOS_RA.c110 if( ( pxEndPoint->ipv6_settings.xIPAddress.ucBytes[ 0 ] == 0xfeU ) && in xGetLinkLocalAddress()
111 ( ( pxEndPoint->ipv6_settings.xIPAddress.ucBytes[ 1 ] & 0xc0U ) == 0x80U ) ) in xGetLinkLocalAddress()
113 …( void ) memcpy( pxAddress->ucBytes, pxEndPoint->ipv6_settings.xIPAddress.ucBytes, ipSIZE_OF_IPv6_… in xGetLinkLocalAddress()
151 ( void ) memset( xSourceAddress.ucBytes, 0, ipSIZE_OF_IPv6_ADDRESS ); in vNDSendRouterSolicitation()
155 FreeRTOS_printf( ( "RA: source %pip\n", ( void * ) xSourceAddress.ucBytes ) ); in vNDSendRouterSolicitation()
178 …id ) memcpy( pxICMPPacket->xEthernetHeader.xSourceAddress.ucBytes, xMultiCastMacAddress.ucBytes, i… in vNDSendRouterSolicitation()
179 …mcpy( pxICMPPacket->xEthernetHeader.xDestinationAddress.ucBytes, pxEndPoint->xMACAddress.ucBytes, … in vNDSendRouterSolicitation()
193 …( void ) memcpy( pxICMPPacket->xIPHeader.xSourceAddress.ucBytes, xSourceAddress.ucBytes, ipSIZE_OF… in vNDSendRouterSolicitation()
195 …( void ) memcpy( pxICMPPacket->xIPHeader.xDestinationAddress.ucBytes, pxIPAddress->ucBytes, ipSIZE… in vNDSendRouterSolicitation()
249 …if( memcmp( pxPoint->ipv6_settings.xIPAddress.ucBytes, pxICMPHeader_IPv6->xIPv6Address.ucBytes, ip… in vReceiveNA()
[all …]
DFreeRTOS_ARP.c207 if( ( pxARPHeader->xSenderHardwareAddress.ucBytes[ 0 ] & 0x01U ) == 0x01U ) in eARPProcessPacket()
252 …d ) memcpy( xARPClashMacAddress.ucBytes, pxARPHeader->xSenderHardwareAddress.ucBytes, sizeof( xARP… in eARPProcessPacket()
297 if( memcmp( ( void * ) pxTargetEndPoint->xMACAddress.ucBytes, in eARPProcessPacket()
298 ( pxARPHeader->xSenderHardwareAddress.ucBytes ), in eARPProcessPacket()
313 …cmp( ( const void * ) pxARPHeader->xTargetHardwareAddress.ucBytes, xBroadcastMACAddress.ucBytes, i… in eARPProcessPacket()
314 …mcmp( ( const void * ) pxARPHeader->xTargetHardwareAddress.ucBytes, xGARPTargetAddress.ucBytes, ip… in eARPProcessPacket()
315 …memcmp( ( void * ) pxTargetEndPoint->xMACAddress.ucBytes, ( pxARPHeader->xSenderHardwareAddress.uc… in eARPProcessPacket()
400 pvCopySource = pxARPHeader->xSenderHardwareAddress.ucBytes; in vARPProcessPacketRequest()
401 pvCopyDest = pxARPHeader->xTargetHardwareAddress.ucBytes; in vARPProcessPacketRequest()
410 pvCopySource = pxTargetEndPoint->xMACAddress.ucBytes; in vARPProcessPacketRequest()
[all …]
DFreeRTOS_IPv6_Utils.c58 pxMACAddress->ucBytes[ 0 ] = 0x33U; in vSetMultiCastIPv6MacAddress()
59 pxMACAddress->ucBytes[ 1 ] = 0x33U; in vSetMultiCastIPv6MacAddress()
60 pxMACAddress->ucBytes[ 2 ] = pxAddress->ucBytes[ 12 ]; in vSetMultiCastIPv6MacAddress()
61 pxMACAddress->ucBytes[ 3 ] = pxAddress->ucBytes[ 13 ]; in vSetMultiCastIPv6MacAddress()
62 pxMACAddress->ucBytes[ 4 ] = pxAddress->ucBytes[ 14 ]; in vSetMultiCastIPv6MacAddress()
63 pxMACAddress->ucBytes[ 5 ] = pxAddress->ucBytes[ 15 ]; in vSetMultiCastIPv6MacAddress()
DFreeRTOS_IPv4_Utils.c62 pxMACAddress->ucBytes[ 0 ] = ( uint8_t ) 0x01U; in vSetMultiCastIPv4MacAddress()
63 pxMACAddress->ucBytes[ 1 ] = ( uint8_t ) 0x00U; in vSetMultiCastIPv4MacAddress()
64 pxMACAddress->ucBytes[ 2 ] = ( uint8_t ) 0x5EU; in vSetMultiCastIPv4MacAddress()
65 pxMACAddress->ucBytes[ 3 ] = ( uint8_t ) ( ( ulIP >> 16 ) & 0x7fU ); /* Use 7 bits. */ in vSetMultiCastIPv4MacAddress()
66 pxMACAddress->ucBytes[ 4 ] = ( uint8_t ) ( ( ulIP >> 8 ) & 0xffU ); /* Use 8 bits. */ in vSetMultiCastIPv4MacAddress()
67 pxMACAddress->ucBytes[ 5 ] = ( uint8_t ) ( ( ulIP ) & 0xffU ); /* Use 8 bits. */ in vSetMultiCastIPv4MacAddress()
DFreeRTOS_TCP_Transmission_IPv4.c260 pvCopySource = pxNetworkBuffer->pxEndPoint->xMACAddress.ucBytes; in prvTCPReturnPacket_IPV4()
297 … void ) memcpy( pxEthernetHeader->xSourceAddress.ucBytes, pxEthernetHeader->xDestinationAddress.uc… in prvTCPReturnPacket_IPV4()
336 ( void ) memset( xEthAddress.ucBytes, 0, sizeof( xEthAddress.ucBytes ) ); in prvTCPPrepareConnect_IPV4()
359 xEthAddress.ucBytes[ 0 ], in prvTCPPrepareConnect_IPV4()
360 xEthAddress.ucBytes[ 1 ], in prvTCPPrepareConnect_IPV4()
361 xEthAddress.ucBytes[ 2 ], in prvTCPPrepareConnect_IPV4()
362 xEthAddress.ucBytes[ 3 ], in prvTCPPrepareConnect_IPV4()
363 xEthAddress.ucBytes[ 4 ], in prvTCPPrepareConnect_IPV4()
364 xEthAddress.ucBytes[ 5 ] ) ); in prvTCPPrepareConnect_IPV4()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_State_Handling_IPv6/
DFreeRTOS_TCP_State_Handling_IPv6_utest.c141 …memcpy( pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_A… in test_prvHandleListen_IPV6_DifferentIP()
142 …memcpy( pxEndPoint->ipv6_settings.xIPAddress.ucBytes, xDifferentIPv6Address.ucBytes, ipSIZE_OF_IPv… in test_prvHandleListen_IPV6_DifferentIP()
166 …memcpy( pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_A… in test_prvHandleListen_IPV6_GetRandomFail()
167 …memcpy( pxEndPoint->ipv6_settings.xIPAddress.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS… in test_prvHandleListen_IPV6_GetRandomFail()
194 …memcpy( pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_A… in test_prvHandleListen_IPV6_ReuseSocket()
195 …memcpy( pxEndPoint->ipv6_settings.xIPAddress.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS… in test_prvHandleListen_IPV6_ReuseSocket()
231 …memcpy( pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_A… in test_prvHandleListen_IPV6_NewSocketExceedLimit()
232 …memcpy( pxEndPoint->ipv6_settings.xIPAddress.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS… in test_prvHandleListen_IPV6_NewSocketExceedLimit()
266 …memcpy( pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_A… in test_prvHandleListen_IPV6_NewSocketNull()
267 …memcpy( pxEndPoint->ipv6_settings.xIPAddress.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS… in test_prvHandleListen_IPV6_NewSocketNull()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ND/
DFreeRTOS_ND_utest.c118 ( void ) memcpy( xIPAddress.ucBytes, xMultiCastIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_MulticastEndPoint()
144 ( void ) memcpy( xIPAddress.ucBytes, xMultiCastIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_Multicast_ValidEndPoint()
171 ( void ) memcpy( xIPAddress.ucBytes, xMultiCastIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_Multicast_InvalidEndPoint()
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()
199 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint()
206 …TEST_ASSERT_EQUAL_MEMORY( xMACAddress.ucBytes, xNDCache[ xUseEntry ].xMACAddress.ucBytes, sizeof( … in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint()
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()
229 ( void ) memcpy( xIPAddress.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_eNDGetCacheEntry_NDCacheLookupHit_ValidEndPoint()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Routing/
DFreeRTOS_Routing_utest.c137 …TEST_ASSERT_EQUAL_MEMORY( xEndPoint.xMACAddress.ucBytes, ucDefaultMACAddress_IPv4, ipMAC_ADDRESS_L… in test_FreeRTOS_FillEndPoint_HappyPath()
232 …TEST_ASSERT_EQUAL_MEMORY( xEndPoint[ 0 ].xMACAddress.ucBytes, ucDefaultMACAddress_IPv4, ipMAC_ADDR… in test_FreeRTOS_FillEndPoint_MultipleEndpoints()
250 …TEST_ASSERT_EQUAL_MEMORY( xEndPoint[ 1 ].xMACAddress.ucBytes, ucDefaultMACAddress_IPv4, ipMAC_ADDR… in test_FreeRTOS_FillEndPoint_MultipleEndpoints()
267 …TEST_ASSERT_EQUAL_MEMORY( xEndPoint[ 2 ].xMACAddress.ucBytes, ucDefaultMACAddress_IPv4, ipMAC_ADDR… in test_FreeRTOS_FillEndPoint_MultipleEndpoints()
307 …TEST_ASSERT_EQUAL_MEMORY( xEndPoint.xMACAddress.ucBytes, ucDefaultMACAddress_IPv4, ipMAC_ADDRESS_L… in test_FreeRTOS_FillEndPoint_SameEndpoint()
352 …TEST_ASSERT_EQUAL_MEMORY( &xDefaultIPAddress_IPv6, xEndPoint.ipv6_defaults.xIPAddress.ucBytes, ipS… in test_FreeRTOS_FillEndPoint_IPv6_HappyPath()
353 …TEST_ASSERT_EQUAL_MEMORY( &xDefaultNetPrefix_IPv6, xEndPoint.ipv6_defaults.xPrefix.ucBytes, ipSIZE… in test_FreeRTOS_FillEndPoint_IPv6_HappyPath()
355 …Y( &xDefaultGatewayAddress_IPv6, xEndPoint.ipv6_defaults.xGatewayAddress.ucBytes, ipSIZE_OF_IPv6_A… in test_FreeRTOS_FillEndPoint_IPv6_HappyPath()
356 …tDNSServerAddress_IPv6, xEndPoint.ipv6_defaults.xDNSServerAddresses[ 0 ].ucBytes, ipSIZE_OF_IPv6_A… in test_FreeRTOS_FillEndPoint_IPv6_HappyPath()
357 …TEST_ASSERT_EQUAL_MEMORY( xEndPoint.xMACAddress.ucBytes, ucDefaultMACAddress_IPv6, ipMAC_ADDRESS_L… in test_FreeRTOS_FillEndPoint_IPv6_HappyPath()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv6/
DFreeRTOS_IPv6_stubs.c68 …memcpy( xEndpoint.ipv6_settings.xIPAddress.ucBytes, xIPAddressFive.ucBytes, ipSIZE_OF_IPv6_ADDRESS… in prvInitializeEndpoint()
88 …memcpy( pxTCPPacket->xEthernetHeader.xDestinationAddress.ucBytes, ucMACAddress, sizeof( ucMACAddre… in prvInitializeNetworkDescriptor()
89 …memcpy( pxTCPPacket->xEthernetHeader.xSourceAddress.ucBytes, ucMACAddress, sizeof( ucMACAddress ) … in prvInitializeNetworkDescriptor()
92 …memcpy( pxTCPPacket->xIPHeader.xSourceAddress.ucBytes, xIPAddressTen.ucBytes, sizeof( IPv6_Address… in prvInitializeNetworkDescriptor()
93 …memcpy( pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes, xIPAddressFive.ucBytes, sizeof( IPv6_A… in prvInitializeNetworkDescriptor()
145 memcpy( pxEthHeader->xDestinationAddress.ucBytes, ucMACAddress, sizeof( ucMACAddress ) ); in prvInitializeNetworkDescriptorWithExtensionHeader()
146 memcpy( pxEthHeader->xSourceAddress.ucBytes, ucMACAddress, sizeof( ucMACAddress ) ); in prvInitializeNetworkDescriptorWithExtensionHeader()
149 memcpy( pxIPv6Header->xSourceAddress.ucBytes, xIPAddressTen.ucBytes, sizeof( IPv6_Address_t ) ); in prvInitializeNetworkDescriptorWithExtensionHeader()
150 …memcpy( pxIPv6Header->xDestinationAddress.ucBytes, xIPAddressFive.ucBytes, sizeof( IPv6_Address_t … in prvInitializeNetworkDescriptorWithExtensionHeader()
DFreeRTOS_IPv6_utest.c69 …memcpy( xIPv6Address.xDestinationAddress.ucBytes, xIPAddressFive.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_prvAllowIPPacketIPv6_SourceUnspecifiedAddress()
70 …memcpy( xIPv6Address.xSourceAddress.ucBytes, xIPv6UnspecifiedAddress.ucBytes, ipSIZE_OF_IPv6_ADDRE… in test_prvAllowIPPacketIPv6_SourceUnspecifiedAddress()
86 …memcpy( xIPv6Address.xDestinationAddress.ucBytes, xIPv6UnspecifiedAddress.ucBytes, ipSIZE_OF_IPv6_… in test_prvAllowIPPacketIPv6_DestinationUnspecifiedAddress()
87 memcpy( xIPv6Address.xSourceAddress.ucBytes, xIPAddressFive.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_prvAllowIPPacketIPv6_DestinationUnspecifiedAddress()
121 …memcpy( pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes, xMCIPAddress.ucBytes, ipSIZE_OF_IPv6_A… in test_prvAllowIPPacketIPv6_MulticastAddress()
140 …memcpy( pxTCPPacket->xIPHeader.xSourceAddress.ucBytes, xIPAddressFive.ucBytes, ipSIZE_OF_IPv6_ADDR… in test_prvAllowIPPacketIPv6_LoopbackAddress()
141 …memcpy( pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes, FreeRTOS_in6addr_loopback.ucBytes, ipS… in test_prvAllowIPPacketIPv6_LoopbackAddress()
161 pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes[ 15 ] = 0x11; in test_prvAllowIPPacketIPv6_LoopbackNotMatchDest()
182 …memcpy( pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes, FreeRTOS_in6addr_loopback.ucBytes, ipS… in test_prvAllowIPPacketIPv6_LoopbackNotMatchSrc()
281 …memcpy( xEndpoint.ipv6_settings.xIPAddress.ucBytes, xDiffIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS… in test_prvAllowIPPacketIPv6_EndpointDifferentAddress()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv6_ConfigDriverCheckChecksum/
DFreeRTOS_IPv6_ConfigDriverCheckChecksum_stubs.c65 …memcpy( xEndpoint.ipv6_settings.xIPAddress.ucBytes, xIPAddressFive.ucBytes, ipSIZE_OF_IPv6_ADDRESS… in prvInitializeEndpoint()
92 …memcpy( pxTCPPacket->xEthernetHeader.xDestinationAddress.ucBytes, ucMACAddress, sizeof( ucMACAddre… in prvInitializeNetworkDescriptor()
93 …memcpy( pxTCPPacket->xEthernetHeader.xSourceAddress.ucBytes, ucMACAddress, sizeof( ucMACAddress ) … in prvInitializeNetworkDescriptor()
96 …memcpy( pxTCPPacket->xIPHeader.xSourceAddress.ucBytes, xIPAddressTen.ucBytes, sizeof( IPv6_Address… in prvInitializeNetworkDescriptor()
97 …memcpy( pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes, xIPAddressFive.ucBytes, sizeof( IPv6_A… in prvInitializeNetworkDescriptor()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_DHCPv6/
DFreeRTOS_DHCPv6_utest.c319 …vAddBitOperation( eTestDHCPv6BitOperationWriteCustom, xDefaultNetPrefix.ucBytes, ipSIZE_OF_IPv6_AD… in prvAddOptionIA_Prefix()
338 …vAddBitOperation( eTestDHCPv6BitOperationReadCustom, xDefaultNetPrefix.ucBytes, ipSIZE_OF_IPv6_ADD… in prvAddOptionIA_Prefix()
461 …vAddBitOperation( eTestDHCPv6BitOperationWriteCustom, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_AD… in prvAddOptionIAAddress()
476 …vAddBitOperation( eTestDHCPv6BitOperationReadCustom, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv6_ADD… in prvAddOptionIAAddress()
1413 … memcpy( xEndPoint.ipv6_settings.xIPAddress.ucBytes, xIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_vDHCPv6Process_ResetFromLease()
1449 … memcpy( xEndPoint.ipv6_settings.xIPAddress.ucBytes, xIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_vDHCPv6Process_ResetDifferentState()
1482 memcpy( xEndPoint.xMACAddress.ucBytes, ucDefaultMACAddress, sizeof( ucDefaultMACAddress ) ); in test_vDHCPv6Process_SolicitationHappyPath()
1483 …memcpy( xEndPoint.ipv6_settings.xPrefix.ucBytes, &xDefaultNetPrefix.ucBytes, sizeof( IPv6_Address_… in test_vDHCPv6Process_SolicitationHappyPath()
1523 memcpy( xEndPoint.xMACAddress.ucBytes, ucDefaultMACAddress, sizeof( ucDefaultMACAddress ) ); in test_vDHCPv6Process_SolicitationDifferentState()
1524 …memcpy( xEndPoint.ipv6_settings.xPrefix.ucBytes, &xDefaultNetPrefix.ucBytes, sizeof( IPv6_Address_… in test_vDHCPv6Process_SolicitationDifferentState()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv6_Utils/
DFreeRTOS_IPv6_Utils_stubs.c68 …memcpy( xEndpoint.ipv6_settings.xIPAddress.ucBytes, xIPAddressFive.ucBytes, ipSIZE_OF_IPv6_ADDRESS… in prvInitializeEndpoint()
120 memcpy( pxEthHeader->xDestinationAddress.ucBytes, ucMACAddress, sizeof( ucMACAddress ) ); in prvInitializeNetworkDescriptorWithExtensionHeader()
121 memcpy( pxEthHeader->xSourceAddress.ucBytes, ucMACAddress, sizeof( ucMACAddress ) ); in prvInitializeNetworkDescriptorWithExtensionHeader()
124 memcpy( pxIPv6Header->xSourceAddress.ucBytes, xIPAddressTen.ucBytes, sizeof( IPv6_Address_t ) ); in prvInitializeNetworkDescriptorWithExtensionHeader()
125 …memcpy( pxIPv6Header->xDestinationAddress.ucBytes, xIPAddressFive.ucBytes, sizeof( IPv6_Address_t … in prvInitializeNetworkDescriptorWithExtensionHeader()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Routing_ConfigV4Only/
DFreeRTOS_Routing_ConfigV4Only_utest.c109 …memcpy( xEndPoint.xMACAddress.ucBytes, ucDefaultMACAddress_IPv4, sizeof( ucDefaultMACAddress_IPv4 … in test_FreeRTOS_MatchingEndpoint_MatchCustomFrameType()
116 …memcpy( pxProtocolPacket->xTCPPacket.xEthernetHeader.xDestinationAddress.ucBytes, ucDefaultMACAddr… in test_FreeRTOS_MatchingEndpoint_MatchCustomFrameType()
117 …memcpy( pxProtocolPacket->xTCPPacket.xEthernetHeader.xSourceAddress.ucBytes, ucDefaultMACAddress_I… in test_FreeRTOS_MatchingEndpoint_MatchCustomFrameType()
157 …memcpy( xEndPoint.xMACAddress.ucBytes, ucDefaultMACAddress_IPv4, sizeof( ucDefaultMACAddress_IPv4 … in test_FreeRTOS_MatchingEndpoint_IPv6Disabled()
164 …memcpy( pxTCPPacket->xEthernetHeader.xDestinationAddress.ucBytes, ucDefaultMACAddress_IPv6, ipMAC_… in test_FreeRTOS_MatchingEndpoint_IPv6Disabled()
165 …memcpy( pxTCPPacket->xEthernetHeader.xSourceAddress.ucBytes, ucDefaultMACAddress_IPv6, ipMAC_ADDRE… in test_FreeRTOS_MatchingEndpoint_IPv6Disabled()
168 …memcpy( pxTCPPacket->xIPHeader.xSourceAddress.ucBytes, xDefaultIPAddress_IPv6.ucBytes, ipSIZE_OF_I… in test_FreeRTOS_MatchingEndpoint_IPv6Disabled()
169 …memcpy( pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes, xDefaultIPAddress_IPv6.ucBytes, ipSIZE… in test_FreeRTOS_MatchingEndpoint_IPv6Disabled()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets_IPv6/
DFreeRTOS_Sockets_IPv6_utest.c232 …memcpy( xSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xSampleAddress_IPv6_1.ucBytes, ipSIZE_OF_IPv6_A… in test_pxTCPSocketLookup_IPv6_IPv6Socket_NonNullIPv6Address_MatchingIPv6Address()
234 …memcpy( xAddress.xIPAddress.xIP_IPv6.ucBytes, xSampleAddress_IPv6_1.ucBytes, ipSIZE_OF_IPv6_ADDRES… in test_pxTCPSocketLookup_IPv6_IPv6Socket_NonNullIPv6Address_MatchingIPv6Address()
254 …memcpy( xSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xSampleAddress_IPv6_2.ucBytes, ipSIZE_OF_IPv6_A… in test_pxTCPSocketLookup_IPv6_IPv6Socket_NonNullIPv6Address_NonMatchingIPv6Address()
256 …memcpy( xAddress.xIPAddress.xIP_IPv6.ucBytes, xSampleAddress_IPv6_1.ucBytes, ipSIZE_OF_IPv6_ADDRES… in test_pxTCPSocketLookup_IPv6_IPv6Socket_NonNullIPv6Address_NonMatchingIPv6Address()
287 … void ) memcpy( xDestinationAddress.sin_address.xIP_IPv6.ucBytes, xSampleAddress_IPv6_1.ucBytes, s… in test_xSend_UDP_Update_IPv6()
291 …pxUDPPacket_IPv6->xIPHeader.xDestinationAddress.ucBytes, xDestinationAddress.sin_address.xIP_IPv6. in test_xSend_UDP_Update_IPv6()
292 …QUAL_MEMORY( xNetworkBuffer.xIPAddress.xIP_IPv6.ucBytes, xDestinationAddress.sin_address.xIP_IPv6. in test_xSend_UDP_Update_IPv6()
355 …oid ) memcpy( pxUDPPacket_IPv6->xIPHeader.xSourceAddress.ucBytes, xSampleAddress_IPv6_1.ucBytes, s… in test_xRecv_Update_IPv6_InvalidFrame_ValidSourceAddress()
363 …ASSERT_EQUAL_MEMORY( xSourceAddress.sin_address.xIP_IPv6.ucBytes, xSampleAddress_IPv6_1.ucBytes, s… in test_xRecv_Update_IPv6_InvalidFrame_ValidSourceAddress()
500 xSet.pusAddress = ( const uint16_t * ) xSampleAddress_IPv6_1.ucBytes; in test_prv_ntop6_search_zeros()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ARP/
DFreeRTOS_ARP_utest.c138 …memset( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, 0xAA, ipMAC_ADDRESS_LENGTH_BYTES … in test_xCheckLoopback_NullEndPoint()
163 …memset( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, 0xAA, ipMAC_ADDRESS_LENGTH_BYTES … in test_xCheckLoopback_IncorrectMACAddress()
178 uint8_t ucBytes[ ipMAC_ADDRESS_LENGTH_BYTES ] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 }; in test_xCheckLoopback_HappyCase() local
191 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, ucBytes, ipMAC_ADDRESS_LENGTH_BYT… in test_xCheckLoopback_HappyCase()
192 memcpy( xEndPoint.xMACAddress.ucBytes, ucBytes, ipMAC_ADDRESS_LENGTH_BYTES ); in test_xCheckLoopback_HappyCase()
208 uint8_t ucBytes[ ipMAC_ADDRESS_LENGTH_BYTES ] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 }; in test_xCheckLoopback_DuplicationFails() local
220 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, ucBytes, ipMAC_ADDRESS_LENGTH_BYT… in test_xCheckLoopback_DuplicationFails()
221 memcpy( xEndPoint.xMACAddress.ucBytes, ucBytes, ipMAC_ADDRESS_LENGTH_BYTES ); in test_xCheckLoopback_DuplicationFails()
237 uint8_t ucBytes[ ipMAC_ADDRESS_LENGTH_BYTES ] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 }; in test_xCheckLoopback_SendEventToIPTaskFails() local
250 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, ucBytes, ipMAC_ADDRESS_LENGTH_BYT… in test_xCheckLoopback_SendEventToIPTaskFails()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_DiffConfig1/
DFreeRTOS_IPv4_DiffConfig1_utest.c110 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_BufferLengthLess()
159 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_HeaderLengthLess()
204 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_BufferLengthLessThan()
249 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_BufferLengthLessThanIPRequirement()
294 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_IPPacketLengthMoreThanTotalLength()
339 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_UDP_IncorrectPacketLen()
384 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_TCP_IncorrectPacketLen()
429 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_ICMP_IncorrectPacketLen()
474 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_IGMP_IncorrectPacketLen()
519 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_NoProt()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/tools/tcp_utilities/
Dplus_tcp_demo_cli.c329 …if( memcmp( pxEndpoint->ipv6_settings.xGatewayAddress.ucBytes, pxAddress->ucBytes, ipSIZE_OF_IPv6_… in pxFindEndpoint()
393 … FreeRTOS_printf( ( "Send packet to UDP %pip port %u\n", xAddress.xIP_IPv6.ucBytes, uPort ) ); in handle_udp()
423 … memcpy( xDestinationAddress.sin_address.xIP_IPv6.ucBytes, xAddress.xIP_IPv6.ucBytes, 16 ); in handle_udp()
545 … pcARPReturnType( eResult ), xAddress.xIP_IPv6.ucBytes, ( pxEndPoint != NULL ) ? "yes" : "no" ) ); in handle_arpq()
586 …memcpy( pxBuffer->xIPAddress.xIP_IPv6.ucBytes, xLookupAddress.xIP_IPv6.ucBytes, ipSIZE_OF_IPv6_ADD… in handle_arpq()
591 pxBuffer->xIPAddress.xIP_IPv6.ucBytes, in handle_arpq()
898 …S_printf( ( "IPv6: %pip on '%s'\n", pxEndPoint->ipv6_settings.xIPAddress.ucBytes, pxEndPoint->pxNe… in handle_whatismyipaddress()
943 …if( memcmp( pxEndPoint->ipv6_settings.xGatewayAddress.ucBytes, FreeRTOS_in6addr_any.ucBytes, ipSIZ… in handle_gw()
945 …ntf( ( "IPv6: %pip on '%s'\n", pxEndPoint->ipv6_settings.xGatewayAddress.ucBytes, pxEndPoint->pxNe… in handle_gw()
1007 …eeRTOS_printf( ( "ping6: looking up name '%s' (%pip)\n", pcHostname, xAddress.xIP_IPv6.ucBytes ) ); in handle_ping()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets_DiffConfig2/
DFreeRTOS_Sockets_DiffConfig2_GenericAPI_utest.c241 …memcpy( xSocket.xLocalAddress.xIP_IPv6.ucBytes, pxIPv6SrcAddress->ucBytes, ipSIZE_OF_IPv6_ADDRESS … in test_prvSocketProps_UDPv6()
263 …memcpy( xSocket.xLocalAddress.xIP_IPv6.ucBytes, pxIPv6SrcAddress->ucBytes, ipSIZE_OF_IPv6_ADDRESS … in test_prvSocketProps_TCPv6()
265 …memcpy( xSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xIPv6RemoteAddress.ucBytes, ipSIZE_OF_IPv6_ADDR… in test_prvSocketProps_TCPv6()
287 memcpy( xSocket.xLocalAddress.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_FreeRTOS_GetLocalAddress_IPv6()
309 … memcpy( xSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_FreeRTOS_GetRemoteAddress_IPv6HappyPath()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_DiffConfig/
DFreeRTOS_IPv4_DiffConfig_utest.c105 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_BroadcastSourceIP()
147 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_BufferLengthLessThanMinimum()
193 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_UDPCheckSumZero()
239 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_UDP_HappyPath()
291 …memcpy( pxIPPacket->xEthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, siz… in test_prvAllowIPPacketIPv4_TCP_HappyPath()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_UDP_IPv6/
DFreeRTOS_UDP_IPv6_stubs.c62 …EQUAL_MEMORY( pxUDPv6Packet->xIPHeader.xSourceAddress.ucBytes, pxFrom->sin_address.xIP_IPv6.ucByte… in UDPReceiveHandlerChecker()
63 …_MEMORY( pxUDPv6Packet->xIPHeader.xDestinationAddress.ucBytes, pxDest->sin_address.xIP_IPv6.ucByte… in UDPReceiveHandlerChecker()
144 …memcpy( xEndpoint.ipv6_settings.xIPAddress.ucBytes, xDefaultIPv6Address.ucBytes, ipSIZE_OF_IPv6_AD… in prvPrepareDefaultIPv6EndPoint()

1234