/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_State_Handling_IPv6/ |
D | FreeRTOS_TCP_State_Handling_IPv6_utest.c | 60 const IPv6_Address_t xIPv6Address = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,… variable 141 …memcpy( pxTCPPacket->xIPHeader.xDestinationAddress.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_A… 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_IPv6_ConfigDriverCheckChecksum/ |
D | FreeRTOS_IPv6_ConfigDriverCheckChecksum_utest.c | 257 IPHeader_IPv6_t xIPv6Address; in test_prvAllowIPPacketIPv6_source_unspecified_address() local 260 memset( &xIPv6Address, 0, sizeof( xIPv6Address ) ); in test_prvAllowIPPacketIPv6_source_unspecified_address() 261 …memcpy( xIPv6Address.xDestinationAddress.ucBytes, xIPAddressFive.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_prvAllowIPPacketIPv6_source_unspecified_address() 262 …memcpy( xIPv6Address.xSourceAddress.ucBytes, xIPv6UnspecifiedAddress.ucBytes, ipSIZE_OF_IPv6_ADDRE… in test_prvAllowIPPacketIPv6_source_unspecified_address() 264 eResult = prvAllowIPPacketIPv6( &xIPv6Address, NULL, 0U ); in test_prvAllowIPPacketIPv6_source_unspecified_address()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv6/ |
D | FreeRTOS_IPv6_utest.c | 65 IPHeader_IPv6_t xIPv6Address; in test_prvAllowIPPacketIPv6_SourceUnspecifiedAddress() local 68 memset( &xIPv6Address, 0, sizeof( xIPv6Address ) ); in test_prvAllowIPPacketIPv6_SourceUnspecifiedAddress() 69 …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() 72 eResult = prvAllowIPPacketIPv6( &xIPv6Address, NULL, 0U ); in test_prvAllowIPPacketIPv6_SourceUnspecifiedAddress() 82 IPHeader_IPv6_t xIPv6Address; in test_prvAllowIPPacketIPv6_DestinationUnspecifiedAddress() local 85 memset( &xIPv6Address, 0, sizeof( xIPv6Address ) ); in test_prvAllowIPPacketIPv6_DestinationUnspecifiedAddress() 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() 89 eResult = prvAllowIPPacketIPv6( &xIPv6Address, NULL, 0U ); in test_prvAllowIPPacketIPv6_DestinationUnspecifiedAddress()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets_DiffConfig2/ |
D | FreeRTOS_Sockets_DiffConfig2_GenericAPI_utest.c | 56 static IPv6_Address_t xIPv6Address = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00… variable 234 IPv6_Address_t * pxIPv6SrcAddress = &xIPv6Address; /* 2001::1 */ in test_prvSocketProps_UDPv6() 254 …IPv6_Address_t * pxIPv6SrcAddress = &xIPv6Address; … 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()
|
D | FreeRTOS_Sockets_DiffConfig2_TCP_API_utest.c | 53 static IPv6_Address_t xIPv6Address = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00… variable 79 …memcpy( xServerSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDR… in test_FreeRTOS_accept_ReuseIPv6Socket()
|
/FreeRTOS-Plus-TCP-v4.0.0/source/ |
D | FreeRTOS_ND.c | 639 …( void ) memcpy( pxICMPHeader_IPv6->xIPv6Address.ucBytes, pxIPAddress->ucBytes, ipSIZE_OF_IPv6_ADD… in vNDSendNeighbourSolicitation() 1031 …Point_t * pxEndPointFound = FreeRTOS_FindEndPointOnIP_IPv6( &( pxICMPHeader_IPv6->xIPv6Address ) ); in prvProcessICMPMessage_IPv6() 1035 ( void * ) pxICMPHeader_IPv6->xIPv6Address.ucBytes, in prvProcessICMPMessage_IPv6() 1055 …xCompare = memcmp( pxICMPHeader_IPv6->xIPv6Address.ucBytes, pxEndPoint->ipv6_settings.xIPAddress.u… in prvProcessICMPMessage_IPv6() 1058 ( void * ) pxICMPHeader_IPv6->xIPv6Address.ucBytes, in prvProcessICMPMessage_IPv6() 1075 …py( pxICMPHeader_IPv6->xIPv6Address.ucBytes, pxEndPoint->ipv6_settings.xIPAddress.ucBytes, sizeof(… in prvProcessICMPMessage_IPv6() 1086 &( pxICMPHeader_IPv6->xIPv6Address ), in prvProcessICMPMessage_IPv6() 1089 ( void * ) pxICMPHeader_IPv6->xIPv6Address.ucBytes ) ); in prvProcessICMPMessage_IPv6() 1101 prvCheckWaitingBuffer( &( pxICMPHeader_IPv6->xIPv6Address ) ); in prvProcessICMPMessage_IPv6() 1190 …py( pxICMPHeader_IPv6->xIPv6Address.ucBytes, pxEndPoint->ipv6_settings.xIPAddress.ucBytes, sizeof(… in FreeRTOS_OutputAdvertiseIPv6()
|
D | FreeRTOS_UDP_IPv6.c | 216 IPv6_Address_t xIPv6Address; in vProcessGeneratedUDPPacket_IPv6() local 228 …( void ) memcpy( xIPv6Address.ucBytes, pxNetworkBuffer->xIPAddress.xIP_IPv6.ucBytes, sizeof( xIPv6… in vProcessGeneratedUDPPacket_IPv6()
|
D | FreeRTOS_RA.c | 249 …memcmp( pxPoint->ipv6_settings.xIPAddress.ucBytes, pxICMPHeader_IPv6->xIPv6Address.ucBytes, ipSIZE… in vReceiveNA()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_DNS/ |
D | FreeRTOS_DNS_utest.c | 67 IPv6_Address_t xIPv6Address = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,… variable 815 …FreeRTOS_inet_pton6_ReturnMemThruPtr_pvDestination( &xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS … in test_FreeRTOS_getaddrinfo_a_IPv6AddressFound() 822 …TEST_ASSERT_EQUAL_MEMORY( xIPv6Address.ucBytes, pxAddress->ai_addr->sin_address.xIP_IPv6.ucBytes, … in test_FreeRTOS_getaddrinfo_a_IPv6AddressFound() 1071 …memcpy( xEndPoint[ 4 ].ipv6_settings.xDNSServerAddresses[ 0 ].ucBytes, xIPv6Address.ucBytes, ipSIZ… in test_FreeRTOS_getaddrinfo_a_IPv6Random_BindFailWithDot() 1166 …memcpy( xEndPoint[ 1 ].ipv6_settings.xDNSServerAddresses[ 0 ].ucBytes, xIPv6Address.ucBytes, ipSIZ… in test_FreeRTOS_getaddrinfo_a_IPv6Random_BindFailWODot() 1342 …memcpy( xEndPoint.ipv6_settings.xDNSServerAddresses[ 0 ].ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_… in test_FreeRTOS_getaddrinfo_a_IPv6Random_DNSReplySuccess() 1426 …memcpy( xEndPoint.ipv6_settings.xDNSServerAddresses[ 0 ].ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_… in test_FreeRTOS_getaddrinfo_a_IPv6Random_RetryExhaust() 1595 …memcpy( xEndPoint.ipv6_settings.xDNSServerAddresses[ 0 ].ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_… in test_FreeRTOS_getaddrinfo_a_IPv6Random_LocalDNSSuccess() 1745 …memcpy( xEndPoint.ipv6_settings.xDNSServerAddresses[ 0 ].ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_… in test_FreeRTOS_getaddrinfo_a_IPv6Random_LLMNRDNSSuccess() 2135 …memcpy( xEndPoint.ipv6_settings.xDNSServerAddresses[ 0 ].ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_… in test_FreeRTOS_getaddrinfo_a_IPv4Random_PortSpecified()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_DNS_ConfigNoCallback/ |
D | FreeRTOS_DNS_ConfigNoCallback_utest.c | 66 IPv6_Address_t xIPv6Address = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,… variable
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets/ |
D | FreeRTOS_Sockets_privates_utest.c | 102 static IPv6_Address_t xIPv6Address = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00… variable 828 …IPv6_Address_t xIPv6Address = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00… in test_vSocketBind_TCPv6GotAProperValue() local 838 …memcpy( xEndPoint.ipv6_settings.xIPAddress.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_vSocketBind_TCPv6GotAProperValue() 841 … memcpy( xBindAddress.sin_address.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_vSocketBind_TCPv6GotAProperValue() 852 …TEST_ASSERT_EQUAL_MEMORY( xIPv6Address.ucBytes, xSocket.xLocalAddress.xIP_IPv6.ucBytes, ipSIZE_OF_… in test_vSocketBind_TCPv6GotAProperValue() 867 IPv6_Address_t xIPv6Address; in test_vSocketBind_TCPBindAnyAddress() local 871 memset( &xIPv6Address, 0, sizeof( xIPv6Address ) ); in test_vSocketBind_TCPBindAnyAddress() 887 …TEST_ASSERT_EQUAL_MEMORY( xIPv6Address.ucBytes, xSocket.xLocalAddress.xIP_IPv6.ucBytes, ipSIZE_OF_… in test_vSocketBind_TCPBindAnyAddress() 2743 memcpy( xRemoteIP.xIPAddress.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_pxTCPSocketLookup_IPv6Match() 2747 …memcpy( xMatchingSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_AD… in test_pxTCPSocketLookup_IPv6Match()
|
D | FreeRTOS_Sockets_GenericAPI_utest.c | 68 static IPv6_Address_t xIPv6Address = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00… variable 2355 IPv6_Address_t * pxExpectDestination = &xIPv6Address; in test_FreeRTOS_inet_pton_IPv6HappyPath() 2584 memcpy( xSocket.xLocalAddress.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_FreeRTOS_GetLocalAddress_IPv6() 2589 …TEST_ASSERT_EQUAL_MEMORY( xIPv6Address.ucBytes, xAddress.sin_address.xIP_IPv6.ucBytes, ipSIZE_OF_I… in test_FreeRTOS_GetLocalAddress_IPv6() 2852 … memcpy( xSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_FreeRTOS_GetRemoteAddress_IPv6HappyPath() 2858 …TEST_ASSERT_EQUAL_MEMORY( xIPv6Address.ucBytes, xAddress.sin_address.xIP_IPv6.ucBytes, ipSIZE_OF_I… in test_FreeRTOS_GetRemoteAddress_IPv6HappyPath() 3518 …IPv6_Address_t * pxIPv6SrcAddress = &xIPv6Address; … in test_prvSocketProps_TCPv6() 3541 IPv6_Address_t * pxIPv6SrcAddress = &xIPv6Address; /* 2001::1 */ in test_prvSocketProps_UDPv6() 3560 IPv6_Address_t * pxIPv6SrcAddress = &xIPv6Address; /* 2001::1 */ in test_prvSocketProps_UnknownProtocol() 3600 IPv6_Address_t * pxIPAddress = &xIPv6Address; in test_FreeRTOS_inet_ntop_IPv6()
|
D | FreeRTOS_Sockets_TCP_API_utest.c | 69 static IPv6_Address_t xIPv6Address = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00… variable 323 …memcpy( xServerSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDR… in test_FreeRTOS_accept_ReuseIPv6Socket() 331 …TEST_ASSERT_EQUAL_MEMORY( xAddress.sin_address.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_I… in test_FreeRTOS_accept_ReuseIPv6Socket() 355 …memcpy( xServerSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDR… in test_FreeRTOS_accept_ReuseIPv6Socket_NullAddress()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ND/ |
D | FreeRTOS_ND_utest.c | 1557 …( void ) memcpy( pxICMPHeader_IPv6->xIPv6Address.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv… in test_prvProcessICMPMessage_IPv6_NeighborSolicitation() 1651 …( void ) memcpy( pxICMPHeader_IPv6->xIPv6Address.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv… in test_prvProcessICMPMessage_IPv6_NeighborAdvertisement3() 1686 …( void ) memcpy( pxICMPHeader_IPv6->xIPv6Address.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv… in test_prvProcessICMPMessage_IPv6_NeighborAdvertisement4() 1726 …( void ) memcpy( pxICMPHeader_IPv6->xIPv6Address.ucBytes, xDefaultIPAddress.ucBytes, ipSIZE_OF_IPv… in test_prvProcessICMPMessage_IPv6_NeighborAdvertisement5() 1824 …ORY( pxICMPHeader_IPv6->xIPv6Address.ucBytes, xEndPoint.ipv6_settings.xIPAddress.ucBytes, sizeof( … in test_FreeRTOS_OutputAdvertiseIPv6_HappyPath()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Routing/ |
D | FreeRTOS_Routing_utest.c | 2602 …const IPv6_Address_t xIPv6Address = { 0xFE, 0x8F, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01, 0x02 }; in test_xIPv6_GetIPType_LinkLocal() local 2605 xReturn = xIPv6_GetIPType( &xIPv6Address ); in test_xIPv6_GetIPType_LinkLocal() 2620 …const IPv6_Address_t xIPv6Address = { 0xFE, 0xCF, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01, 0x02 }; in test_xIPv6_GetIPType_SiteLocal() local 2623 xReturn = xIPv6_GetIPType( &xIPv6Address ); in test_xIPv6_GetIPType_SiteLocal() 2638 …const IPv6_Address_t xIPv6Address = { 0xFF, 0xFF, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01, 0x02 }; in test_xIPv6_GetIPType_Multicast() local 2641 xReturn = xIPv6_GetIPType( &xIPv6Address ); in test_xIPv6_GetIPType_Multicast() 2656 …const IPv6_Address_t xIPv6Address = { 0x12, 0x34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01, 0x02 }; in test_xIPv6_GetIPType_Unknown() local 2659 xReturn = xIPv6_GetIPType( &xIPv6Address ); in test_xIPv6_GetIPType_Unknown()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP_Utils/ |
D | FreeRTOS_IP_Utils_utest.c | 240 …IPv6_Address_t xIPv6Address = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00… in test_pxDuplicateNetworkBufferWithDescriptor_IPv6() local 251 …memcpy( pxNetworkBuffer->xIPAddress.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS… in test_pxDuplicateNetworkBufferWithDescriptor_IPv6() 262 …TEST_ASSERT_EQUAL_MEMORY( &xIPv6Address, &pxNetworkBuffer->xIPAddress.xIP_IPv6, ipSIZE_OF_IPv6_ADD… in test_pxDuplicateNetworkBufferWithDescriptor_IPv6() 645 …IPv6_Address_t xIPv6Address = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00… in test_prvProcessNetworkDownEvent_PassStaticIP() local 653 …memcpy( xEndPoint.ipv6_defaults.xIPAddress.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_prvProcessNetworkDownEvent_PassStaticIP() 666 …TEST_ASSERT_EQUAL_MEMORY( xIPv6Address.ucBytes, xEndPoint.ipv6_settings.xIPAddress.ucBytes, ipSIZE… in test_prvProcessNetworkDownEvent_PassStaticIP()
|
/FreeRTOS-Plus-TCP-v4.0.0/source/include/ |
D | FreeRTOS_IP_Private.h | 156 IPv6_Address_t xIPv6Address; /**< The IPv6 address. 8 + 16 = 24 */ member
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_RA/ |
D | FreeRTOS_RA_utest.c | 373 memset( xICMPPacket.xICMPHeaderIPv6.xIPv6Address.ucBytes, 1, ipSIZE_OF_IPv6_ADDRESS ); in test_vReceiveNA_bIPAddressNotInUse3() 433 …memcpy( xICMPPacket.xICMPHeaderIPv6.xIPv6Address.ucBytes, xIPAddress.ucBytes, ipSIZE_OF_IPv6_ADDRE… in test_vReceiveNA_bIPAddressInUse()
|