Home
last modified time | relevance | path

Searched refs:FREERTOS_AF_INET4 (Results 1 – 19 of 19) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_DNS/
HDFreeRTOS_DNS_utest.c785 xHint.ai_family = FREERTOS_AF_INET4; in test_FreeRTOS_getaddrinfo_a_IPv4AddressFound()
794 TEST_ASSERT_EQUAL( FREERTOS_AF_INET4, pxAddress->ai_family ); in test_FreeRTOS_getaddrinfo_a_IPv4AddressFound()
838 xExpectedAddress.ai_family = FREERTOS_AF_INET4; in test_FreeRTOS_getaddrinfo_a_IPv4DomainCacheFound()
841 …Prepare_CacheLookup_ExpectAndReturn( GOOD_ADDRESS, FREERTOS_AF_INET4, &pxAddress, DOTTED_IPV4_ADDR… in test_FreeRTOS_getaddrinfo_a_IPv4DomainCacheFound()
848 TEST_ASSERT_EQUAL( FREERTOS_AF_INET4, pxAddress->ai_family ); in test_FreeRTOS_getaddrinfo_a_IPv4DomainCacheFound()
893 Prepare_CacheLookup_ExpectAndReturn( GOOD_ADDRESS, FREERTOS_AF_INET4, &pxAddress, 0 ); in test_FreeRTOS_getaddrinfo_a_IPv4DomainCacheMiss_Random()
1007 xHint.ai_family = FREERTOS_AF_INET4; in test_FreeRTOS_getaddrinfo_a_IPv4Random_BindFailWithDot()
1010 Prepare_CacheLookup_ExpectAndReturn( GOOD_ADDRESS, FREERTOS_AF_INET4, &pxAddress, 0 ); in test_FreeRTOS_getaddrinfo_a_IPv4Random_BindFailWithDot()
1123 xHint.ai_family = FREERTOS_AF_INET4; in test_FreeRTOS_getaddrinfo_a_IPv4Random_BindFailWODot()
1126 Prepare_CacheLookup_ExpectAndReturn( LLMNR_ADDRESS, FREERTOS_AF_INET4, &pxAddress, 0 ); in test_FreeRTOS_getaddrinfo_a_IPv4Random_BindFailWODot()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/tools/tcp_utilities/
HDNTPDemo.c71 #define FREERTOS_AF_INET4 FREERTOS_AF_INET macro
118 static BaseType_t xPreferredHostType = FREERTOS_AF_INET4;
160 xPreferredHostType = FREERTOS_AF_INET4; in vNTPSetNTPType()
175 ( xPreferredHostType == FREERTOS_AF_INET4 ) ? 4 : 6, in vNTPSetNTPType()
265 if( pxAddress->ai_family == FREERTOS_AF_INET4 ) in vDNS_callback()
553 ( xPreferredHostType == FREERTOS_AF_INET4 ) ? '4' : '6' ) ); in prvNTPTask()
HDplus_tcp_demo_cli.c364 rc = FreeRTOS_inet_pton( FREERTOS_AF_INET4, ptr, ( void * ) &xAddress ); in handle_udp()
504 rc = FreeRTOS_inet_pton( FREERTOS_AF_INET4, pcBegin, ( void * ) &xAddress ); in handle_arpq()
989 xResult = FreeRTOS_inet_pton( FREERTOS_AF_INET4, pcHostname, ( void * ) &xAddress ); in handle_ping()
1197 rc = FreeRTOS_inet_pton( FREERTOS_AF_INET4, pcHost, ( void * ) &xAddress ); in handle_http()
1441 pxResult->ai_family = FREERTOS_AF_INET4; in pxDNSLookup()
HDhttp_client_test.c328 if( pxResult->ai_family == FREERTOS_AF_INET4 ) in prvEchoClientTask()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_UDP_IPv4/
HDFreeRTOS_UDP_IPv4_stubs.c60 TEST_ASSERT_EQUAL( FREERTOS_AF_INET4, pxFrom->sin_family ); in UDPReceiveHandlerChecker()
61 TEST_ASSERT_EQUAL( FREERTOS_AF_INET4, pxDest->sin_family ); in UDPReceiveHandlerChecker()
/FreeRTOS-Plus-TCP-v4.0.0/source/
HDFreeRTOS_DNS.c292 case FREERTOS_AF_INET4: in pxNew_AddrInfo()
298 pxAddrInfo->ai_family = FREERTOS_AF_INET4; in pxNew_AddrInfo()
388 BaseType_t xFamily = FREERTOS_AF_INET4; in FreeRTOS_getaddrinfo_a()
404 else if( pxHints->ai_family != FREERTOS_AF_INET4 ) in FreeRTOS_getaddrinfo_a()
465 return prvPrepareLookup( pcHostName, NULL, FREERTOS_AF_INET4 ); in FreeRTOS_gethostbyname()
490 …ulResult = prvPrepareLookup( pcHostName, &( pxAddressInfo ), FREERTOS_AF_INET4, pCallback, pvSearc… in FreeRTOS_gethostbyname_a()
530 … *( ppxAddressInfo ) = pxNew_AddrInfo( pcHostName, FREERTOS_AF_INET4, ucBytes ); in prvPrepare_ReadIPAddress()
HDFreeRTOS_DNS_Cache.c511 … pxNewAddress = pxNew_AddrInfo( xDNSCache[ uxIndex ].pcName, FREERTOS_AF_INET4, ucBytes ); in prvReadDNSCache()
651 ( void ) FreeRTOS_inet_ntop( FREERTOS_AF_INET4, in vShowDNSCacheTable()
HDFreeRTOS_UDP_IPv4.c405 xSourceAddress.sin_family = ( uint8_t ) FREERTOS_AF_INET4; in xProcessReceivedUDPPacket_IPv4()
409 destinationAddress.sin_family = ( uint8_t ) FREERTOS_AF_INET4; in xProcessReceivedUDPPacket_IPv4()
HDFreeRTOS_Routing.c863 … BaseType_t xFamily = ( usFrameType == ipIPv6_FRAME_TYPE ) ? FREERTOS_AF_INET6 : FREERTOS_AF_INET4; in pxEasyFit()
1504 ( void ) FreeRTOS_inet_ntop( FREERTOS_AF_INET4, in pcEndpointName()
HDFreeRTOS_TCP_IP.c507 FreeRTOS_inet_ntop( FREERTOS_AF_INET4, in vTCPStateChange()
HDFreeRTOS_Sockets.c1421 case FREERTOS_AF_INET4: in prvSendUDPPacket()
1618 case FREERTOS_AF_INET4: in FreeRTOS_sendto()
1733 case FREERTOS_AF_INET4: in FreeRTOS_bind()
3230 case FREERTOS_AF_INET4: in FreeRTOS_inet_ntop()
3712 case FREERTOS_AF_INET4: in prvTCPConnectStart()
3921 pxAddress->sin_family = FREERTOS_AF_INET4; in prvAcceptWaitClient()
HDFreeRTOS_DNS_Parser.c762 … pxNewAddress = pxNew_AddrInfo( pxSet->pcName, FREERTOS_AF_INET4, ucBytes ); in parseDNSAnswer()
HDFreeRTOS_DHCP.c1469 pxAddress->sin_family = FREERTOS_AF_INET4; in prvCreatePartDHCPMessage()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_DNS_ConfigNoCallback/
HDFreeRTOS_DNS_ConfigNoCallback_utest.c99 xHint.ai_family = FREERTOS_AF_INET4; in test_FreeRTOS_getaddrinfo_IPv4AddressFound()
107 TEST_ASSERT_EQUAL( FREERTOS_AF_INET4, pxAddress->ai_family ); in test_FreeRTOS_getaddrinfo_IPv4AddressFound()
/FreeRTOS-Plus-TCP-v4.0.0/source/include/
HDFreeRTOS_Sockets.h97 #define FREERTOS_AF_INET4 FREERTOS_AF_INET macro
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_DNS_Cache/
HDFreeRTOS_DNS_Cache_utest.c466 pxAddrInfo->ai_family = FREERTOS_AF_INET4; in test_prepare_DNSLookup()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Routing/
HDFreeRTOS_Routing_utest.c2393 xStubFreeRTOS_inet_ntop_TargetFamily = FREERTOS_AF_INET4; in test_pcEndpointName_IPv4_HappyPath()
2426 xStubFreeRTOS_inet_ntop_TargetFamily = FREERTOS_AF_INET4; in test_pcEndpointName_IPv4_NullBufferPointer()
2465 xStubFreeRTOS_inet_ntop_TargetFamily = FREERTOS_AF_INET4; in test_pcEndpointName_IPv4_TruncateBuffer()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets/
HDFreeRTOS_Sockets_GenericAPI_utest.c934 xAddress.sin_family = FREERTOS_AF_INET4; in test_FreeRTOS_bind_IPTaskDidNotBindTheSocketIPv4Address()
2749 xAddress.sin_family = FREERTOS_AF_INET4; in test_FreeRTOS_connect_Connected()
3583 BaseType_t xAddressFamily = FREERTOS_AF_INET4; in test_FreeRTOS_inet_ntop_IPv4()
HDFreeRTOS_Sockets_privates_utest.c875 xBindAddress.sin_family = FREERTOS_AF_INET4; in test_vSocketBind_TCPBindAnyAddress()