| /FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_ARP/ |
| D | FreeRTOS_ARP_utest.c | 568 xARPCache[ 0 ].ulIPAddress = ulSenderProtocolAddress; in test_eARPProcessPacket_Reply_TargetIPNotSameAsLocalIP_ButEntryInCache() 798 uint32_t ulIPAddress = 0x1234ABCD; in test_xIsIPInARPCache_NoMatchingIP() local 803 xARPCache[ x ].ulIPAddress = 0; in test_xIsIPInARPCache_NoMatchingIP() 806 xResult = xIsIPInARPCache( ulIPAddress ); in test_xIsIPInARPCache_NoMatchingIP() 813 uint32_t ulIPAddress = 0x1234ABCD; in test_xIsIPInARPCache_MatchingIPButEntryInvalid() local 818 xARPCache[ x ].ulIPAddress = 0; in test_xIsIPInARPCache_MatchingIPButEntryInvalid() 822 xARPCache[ 0 ].ulIPAddress = ulIPAddress; in test_xIsIPInARPCache_MatchingIPButEntryInvalid() 824 xResult = xIsIPInARPCache( ulIPAddress ); in test_xIsIPInARPCache_MatchingIPButEntryInvalid() 831 uint32_t ulIPAddress = 0x1234ABCD; in test_xIsIPInARPCache_MatchingIP1() local 836 xARPCache[ x ].ulIPAddress = 0; in test_xIsIPInARPCache_MatchingIP1() [all …]
|
| /FreeRTOS-Plus-TCP-v3.1.0/source/ |
| D | FreeRTOS_DNS.c | 210 uint32_t ulIPAddress = 0U; in prvPrepareLookup() local 247 ulIPAddress = FreeRTOS_inet_addr( pcHostName ); in prvPrepareLookup() 253 if( ulIPAddress == 0U ) in prvPrepareLookup() 255 ulIPAddress = FreeRTOS_dnslookup( pcHostName ); in prvPrepareLookup() 257 if( ulIPAddress != 0U ) in prvPrepareLookup() 259 …ebug_printf( ( "FreeRTOS_gethostbyname: found '%s' in cache: %lxip\n", pcHostName, ulIPAddress ) ); in prvPrepareLookup() 269 if( ulIPAddress == 0U ) in prvPrepareLookup() 282 if( ulIPAddress == 0U ) in prvPrepareLookup() 298 pCallback( pcHostName, pvSearchID, ulIPAddress ); in prvPrepareLookup() 304 if( ( ulIPAddress == 0U ) && ( xHasRandom != pdFALSE ) ) in prvPrepareLookup() [all …]
|
| D | FreeRTOS_ARP.c | 379 if( xARPCache[ x ].ulIPAddress == ulAddressToLookup ) in xIsIPInARPCache() 452 lResult = xARPCache[ x ].ulIPAddress; in ulARPRemoveCacheEntryByMac() 473 const uint32_t ulIPAddress ) in vARPRefreshCacheEntry() argument 484 …if( ( ulIPAddress & xNetworkAddressing.ulNetMask ) == ( ( *ipLOCAL_IP_ADDRESS_POINTER ) & xNetwork… in vARPRefreshCacheEntry() 523 if( xARPCache[ x ].ulIPAddress == ulIPAddress ) in vARPRefreshCacheEntry() 563 …bIsLocal[ 0 ] = ( ( xARPCache[ x ].ulIPAddress & xNetworkAddressing.ulNetMask ) == ( ( *ipLOCAL_IP… in vARPRefreshCacheEntry() 564 …bIsLocal[ 1 ] = ( ( ulIPAddress & xNetworkAddressing.ulNetMask ) == ( ( *ipLOCAL_IP_ADDRESS_POINTE… in vARPRefreshCacheEntry() 619 xARPCache[ xUseEntry ].ulIPAddress = ulIPAddress; in vARPRefreshCacheEntry() 625 iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ( *pxMACAddress ) ); in vARPRefreshCacheEntry() 670 *pulIPAddress = xARPCache[ x ].ulIPAddress; in eARPGetCacheEntryByMac() [all …]
|
| D | FreeRTOS_UDP_IP.c | 99 uint32_t ulIPAddress = pxNetworkBuffer->ulIPAddress; in vProcessGeneratedUDPPacket() local 124 …eReturned = eARPGetCacheEntry( &( ulIPAddress ), &( pxUDPPacket->xEthernetHeader.xDestinationAddre… in vProcessGeneratedUDPPacket() 133 iptraceSENDING_UDP_PACKET( pxNetworkBuffer->ulIPAddress ); in vProcessGeneratedUDPPacket() 206 pxIPHeader->ulDestinationIPAddress = pxNetworkBuffer->ulIPAddress; in vProcessGeneratedUDPPacket() 221 if( pxNetworkBuffer->ulIPAddress == ipLLMNR_IP_ADDR ) in vProcessGeneratedUDPPacket() 250 vARPRefreshCacheEntry( NULL, ulIPAddress ); in vProcessGeneratedUDPPacket() 253 iptracePACKET_DROPPED_TO_GENERATE_ARP( pxNetworkBuffer->ulIPAddress ); in vProcessGeneratedUDPPacket() 254 pxNetworkBuffer->ulIPAddress = ulIPAddress; in vProcessGeneratedUDPPacket() 369 xSourceAddress.sin_addr = pxNetworkBuffer->ulIPAddress; in xProcessReceivedUDPPacket()
|
| D | FreeRTOS_DNS_Parser.c | 258 uint32_t ulIPAddress = 0U; in DNS_ParseDNSReply() local 382 ulIPAddress = parseDNSAnswer( pxDNSMessageHeader, in DNS_ParseDNSReply() 475 ulIPAddress, in DNS_ParseDNSReply() 503 ulIPAddress = ( uint32_t ) dnsPARSE_ERROR; in DNS_ParseDNSReply() 508 ulIPAddress = 0U; in DNS_ParseDNSReply() 519 return ulIPAddress; in DNS_ParseDNSReply() 553 uint32_t ulIPAddress = 0U; in parseDNSAnswer() local 635 pvCopyDest = &ulIPAddress; in parseDNSAnswer() 643 ulIPAddress ) != pdFALSE ) in parseDNSAnswer() 661 &ulIPAddress, in parseDNSAnswer() [all …]
|
| D | FreeRTOS_DNS_Cache.c | 105 uint32_t ulIPAddress = 0U; in FreeRTOS_dnslookup() local 108 &ulIPAddress, in FreeRTOS_dnslookup() 112 return ulIPAddress; in FreeRTOS_dnslookup()
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/ConfigFiles/ |
| D | IPTraceMacroDefaults.h | 60 #define iptraceCREATING_ARP_REQUEST( ulIPAddress ) argument 64 #define iptraceARP_TABLE_ENTRY_WILL_EXPIRE( ulIPAddress ) argument 68 #define iptraceARP_TABLE_ENTRY_EXPIRED( ulIPAddress ) argument 72 #define iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ucMACAddress ) argument 76 #define iptraceSENDING_UDP_PACKET( ulIPAddress ) argument 80 #define iptracePACKET_DROPPED_TO_GENERATE_ARP( ulIPAddress ) argument 88 #define iptraceSENDING_PING_REPLY( ulIPAddress ) argument 96 #define iptracePROCESSING_RECEIVED_ARP_REPLY( ulIPAddress ) argument 100 #define iptraceSENDING_ARP_REPLY( ulIPAddress ) argument 132 #define iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ulIPAddress ) argument
|
| /FreeRTOS-Plus-TCP-v3.1.0/source/include/ |
| D | IPTraceMacroDefaults.h | 74 #define iptraceCREATING_ARP_REQUEST( ulIPAddress ) argument 106 #define iptraceARP_TABLE_ENTRY_WILL_EXPIRE( ulIPAddress ) argument 110 #define iptraceARP_TABLE_ENTRY_EXPIRED( ulIPAddress ) argument 114 #define iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ucMACAddress ) argument 118 #define iptraceSENDING_UDP_PACKET( ulIPAddress ) argument 122 #define iptracePACKET_DROPPED_TO_GENERATE_ARP( ulIPAddress ) argument 130 #define iptraceSENDING_PING_REPLY( ulIPAddress ) argument 138 #define iptracePROCESSING_RECEIVED_ARP_REPLY( ulIPAddress ) argument 142 #define iptraceSENDING_ARP_REPLY( ulIPAddress ) argument 174 #define iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ulIPAddress ) argument
|
| D | FreeRTOS_ARP.h | 51 uint32_t ulIPAddress; /**< The IP address of an ARP cache entry. */ member 71 const uint32_t ulIPAddress ); 151 void FreeRTOS_OutputARPRequest( uint32_t ulIPAddress );
|
| D | FreeRTOS_IP.h | 165 …uint32_t ulIPAddress; /**< Source or destination IP address, depending on usa… member 315 BaseType_t FreeRTOS_SendPingRequest( uint32_t ulIPAddress, 331 void FreeRTOS_SetIPAddress( uint32_t ulIPAddress ); 337 BaseType_t xARPWaitResolution( uint32_t ulIPAddress, 367 BaseType_t xIsIPv4Multicast( uint32_t ulIPAddress ); 370 void vSetMultiCastIPv4MacAddress( uint32_t ulIPAddress,
|
| D | FreeRTOS_DNS_Globals.h | 171 uint32_t ulIPAddress; /**< The IP-address. */ member 205 uint32_t ulIPAddress; /**< The IPv4 address. */ member
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/cbmc/proofs/ARP/ARPRefreshCacheEntry/ |
| D | ARPRefreshCacheEntry_harness.c | 12 uint32_t ulIPAddress; in harness() local 14 vARPRefreshCacheEntry( &xMACAddress, ulIPAddress ); in harness() 15 vARPRefreshCacheEntry( NULL, ulIPAddress ); in harness()
|
| /FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/ThirdParty/MSP432/ |
| D | NetworkMiddleware.c | 204 uint32_t ulIPAddress, ulNetMask, ulGatewayAddress, ulDNSServerAddress; in vApplicationIPNetworkEventHook() local 217 FreeRTOS_GetAddressConfiguration( &ulIPAddress, in vApplicationIPNetworkEventHook() 222 FreeRTOS_inet_ntoa( ulIPAddress, cBuffer ); in vApplicationIPNetworkEventHook() 254 void pingReply( uint32_t ulIPAddress ) in pingReply() argument 258 FreeRTOS_inet_ntoa( ulIPAddress, cBuffer ); in pingReply()
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/cbmc/proofs/ARP/ARPGetCacheEntryByMac/ |
| D | ARPGetCacheEntryByMac_harness.c | 13 uint32_t ulIPAddress; in harness() local 15 eARPGetCacheEntryByMac( &xMACAddress, &ulIPAddress ); in harness()
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/cbmc/proofs/ARP/ARPGetCacheEntry/ |
| D | ARPGetCacheEntry_harness.c | 13 uint32_t ulIPAddress; in harness() local 16 eARPGetCacheEntry( &ulIPAddress, &xMACAddress ); in harness()
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_ARP_DataLenLessThanMinPacket/ |
| D | FreeRTOS_ARP_DataLenLessThanMinPacket_utest.c | 26 uint32_t ulIPAddress = 0xAAAAAAAA; in test_FreeRTOS_OutputARPRequest_MinimumPacketSizeLessThanARPPacket() local 35 FreeRTOS_OutputARPRequest( ulIPAddress ); in test_FreeRTOS_OutputARPRequest_MinimumPacketSizeLessThanARPPacket()
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/cbmc/proofs/ARP/ARP_OutputARPRequest_buffer_alloc2/ |
| D | OutputARPRequest_harness.c | 59 uint32_t ulIPAddress; in harness() local 60 FreeRTOS_OutputARPRequest( ulIPAddress ); in harness()
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/cbmc/proofs/ARP/ARP_FreeRTOS_OutputARPRequest/ |
| D | OutputARPRequest_harness.c | 78 uint32_t ulIPAddress; in harness() local 80 FreeRTOS_OutputARPRequest( ulIPAddress ); in harness()
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/cbmc/proofs/ARP/ARP_OutputARPRequest_buffer_alloc1/ |
| D | OutputARPRequest_harness.c | 79 uint32_t ulIPAddress; in harness() local 80 FreeRTOS_OutputARPRequest( ulIPAddress ); in harness()
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_Sockets/ |
| D | FreeRTOS_Sockets_GenericAPI_utest.c | 158 uint32_t ulIPAddress; in test_FreeRTOS_inet_pton4() local 160 ulIPAddress = 0xABABABAB; in test_FreeRTOS_inet_pton4() 161 xResult = FreeRTOS_inet_pton4( pucValidString1, &ulIPAddress ); in test_FreeRTOS_inet_pton4() 163 …TEST_ASSERT_EQUAL_MESSAGE( ulValidResponse1, ulIPAddress, "Could not convert string 1 correctly." … in test_FreeRTOS_inet_pton4() 165 ulIPAddress = 0xABABABAB; in test_FreeRTOS_inet_pton4() 166 xResult = FreeRTOS_inet_pton4( pucValidString2, &ulIPAddress ); in test_FreeRTOS_inet_pton4() 168 …TEST_ASSERT_EQUAL_MESSAGE( ulValidResponse2, ulIPAddress, "Could not convert string 2 correctly." … in test_FreeRTOS_inet_pton4() 170 ulIPAddress = 0xABABABAB; in test_FreeRTOS_inet_pton4() 171 xResult = FreeRTOS_inet_pton4( pucValidString3, &ulIPAddress ); in test_FreeRTOS_inet_pton4() 173 …TEST_ASSERT_EQUAL_MESSAGE( ulValidResponse3, ulIPAddress, "Could not convert string 3 correctly." … in test_FreeRTOS_inet_pton4() [all …]
|
| D | FreeRTOS_Sockets_UDP_API_utest.c | 421 xNetworkBuffer.ulIPAddress = 0x1234ABCD; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader() 454 TEST_ASSERT_EQUAL_UINT32( xSourceAddress.sin_addr, xNetworkBuffer.ulIPAddress ); in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader() 479 xNetworkBuffer.ulIPAddress = 0x1234ABCD; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_Packet100() 512 TEST_ASSERT_EQUAL_UINT32( xSourceAddress.sin_addr, xNetworkBuffer.ulIPAddress ); in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_Packet100() 538 xNetworkBuffer.ulIPAddress = 0x1234ABCD; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_Packet100SizeSmall() 571 TEST_ASSERT_EQUAL_UINT32( xSourceAddress.sin_addr, xNetworkBuffer.ulIPAddress ); in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_Packet100SizeSmall() 598 xNetworkBuffer.ulIPAddress = 0x1234ABCD; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_Packet100SizeSmall_Peek() 627 TEST_ASSERT_EQUAL_UINT32( xSourceAddress.sin_addr, xNetworkBuffer.ulIPAddress ); in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_Packet100SizeSmall_Peek() 653 xNetworkBuffer.ulIPAddress = 0x1234ABCD; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_Packet100SizeSmall_Peek_SourceAddrNULL() 706 xNetworkBuffer.ulIPAddress = 0x1234ABCD; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_Packet100SizeSmall_ZeroCopyAndPeek() [all …]
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/Coverity/ |
| D | Portable.c | 201 BaseType_t FreeRTOS_SendPingRequest( uint32_t ulIPAddress, in FreeRTOS_SendPingRequest() argument 205 ( void ) ulIPAddress; in FreeRTOS_SendPingRequest()
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_IP/ |
| D | FreeRTOS_IP_utest.c | 496 uint32_t ulIPAddress, ulNetMask, ulGatewayAddress, ulDNSServerAddress; in test_FreeRTOS_GetAddressConfiguration_HappyPath() local 501 uint32_t * pulIPAddress = &ulIPAddress; in test_FreeRTOS_GetAddressConfiguration_HappyPath() 1087 uint32_t ulIPAddress = 0xC0AB0101; in test_FreeRTOS_SendPingRequest_HappyPath() local 1115 xReturn = FreeRTOS_SendPingRequest( ulIPAddress, uxNumberOfBytesToSend, uxBlockTimeTicks ); in test_FreeRTOS_SendPingRequest_HappyPath() 1124 TEST_ASSERT_EQUAL( ulIPAddress, pxNetworkBuffer->ulIPAddress ); in test_FreeRTOS_SendPingRequest_HappyPath() 1131 uint32_t ulIPAddress = 0xC0AB0101; in test_FreeRTOS_SendPingRequest_SendingToIPTaskFails() local 1161 xReturn = FreeRTOS_SendPingRequest( ulIPAddress, uxNumberOfBytesToSend, uxBlockTimeTicks ); in test_FreeRTOS_SendPingRequest_SendingToIPTaskFails() 1170 TEST_ASSERT_EQUAL( ulIPAddress, pxNetworkBuffer->ulIPAddress ); in test_FreeRTOS_SendPingRequest_SendingToIPTaskFails() 1177 uint32_t ulIPAddress = 0xC0AB0101; in test_FreeRTOS_SendPingRequest_TooManyBytes() local 1187 xReturn = FreeRTOS_SendPingRequest( ulIPAddress, uxNumberOfBytesToSend, uxBlockTimeTicks ); in test_FreeRTOS_SendPingRequest_TooManyBytes() [all …]
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_DHCP/ |
| D | FreeRTOS_DHCP_mock.h | 4 uint32_t ulIPAddress );
|
| /FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_TCP_WIN/ |
| D | FreeRTOS_TCP_WIN_mock.h | 4 uint32_t ulIPAddress );
|