Home
last modified time | relevance | path

Searched refs:ucProtocol (Results 1 – 25 of 51) sorted by relevance

123

/FreeRTOS-Plus-TCP-v4.0.0/source/
DFreeRTOS_IPv4.c77 uint8_t ucProtocol; in xCheckIPv4SizeFields() local
130 ucProtocol = pxIPPacket->xIPHeader.ucProtocol; in xCheckIPv4SizeFields()
133 if( ucProtocol == ( uint8_t ) ipPROTOCOL_UDP ) in xCheckIPv4SizeFields()
138 else if( ucProtocol == ( uint8_t ) ipPROTOCOL_TCP ) in xCheckIPv4SizeFields()
142 else if( ( ucProtocol == ( uint8_t ) ipPROTOCOL_ICMP ) || in xCheckIPv4SizeFields()
143 ( ucProtocol == ( uint8_t ) ipPROTOCOL_IGMP ) ) in xCheckIPv4SizeFields()
364 uint8_t ucProtocol; in prvAllowIPPacketIPv4() local
370 ucProtocol = pxIPPacket->xIPHeader.ucProtocol; in prvAllowIPPacketIPv4()
377 if( ucProtocol == ( uint8_t ) ipPROTOCOL_UDP ) in prvAllowIPPacketIPv4()
DFreeRTOS_IP_Utils.c151 if( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_UDP ) in prvSetChecksumInPacket()
155 else if( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_TCP ) in prvSetChecksumInPacket()
159 else if( ( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_ICMP ) || in prvSetChecksumInPacket()
160 ( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_IGMP ) ) in prvSetChecksumInPacket()
164 …else if( ( pxSet->xIsIPv6 != pdFALSE ) && ( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_ICMP_IPv6 … in prvSetChecksumInPacket()
186 if( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_UDP ) in prvGetChecksumFromPacket()
190 else if( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_TCP ) in prvGetChecksumFromPacket()
194 else if( ( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_ICMP ) || in prvGetChecksumFromPacket()
195 ( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_IGMP ) ) in prvGetChecksumFromPacket()
199 …else if( ( pxSet->xIsIPv6 != pdFALSE ) && ( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_ICMP_IPv6 … in prvGetChecksumFromPacket()
[all …]
DFreeRTOS_IPv4_Utils.c144 pxSet->ucProtocol = pxSet->pxIPPacket->xIPHeader.ucProtocol; in prvChecksumIPv4Checks()
DFreeRTOS_Sockets.c417 else if( pxSocket->ucProtocol != ( uint8_t ) xProtocol ) in prvValidSocket()
760 pxSocket->ucProtocol = ( uint8_t ) xProtocolCpy; /* protocol: UDP or TCP */ in FreeRTOS_socket()
1797 …if( ( ( xInternal == pdFALSE ) || ( pxSocket->ucProtocol != ( uint8_t ) FREERTOS_IPPROTO_TCP ) ) && in prvSocketBindAdd()
1801 … ( pxSocket->ucProtocol == ( uint8_t ) FREERTOS_IPPROTO_TCP ) ? "TC" : "UD", in prvSocketBindAdd()
1907 if( pxSocket->ucProtocol == ( uint8_t ) FREERTOS_IPPROTO_TCP ) in vSocketBind()
1952 … pxAddress->sin_port = prvGetPrivatePortNumber( ( BaseType_t ) pxSocket->ucProtocol ); in vSocketBind()
2021 if( pxSocket->ucProtocol == ( uint8_t ) FREERTOS_IPPROTO_TCP ) in FreeRTOS_closesocket()
2031 if( pxSocket->ucProtocol == ( uint8_t ) FREERTOS_IPPROTO_UDP ) in FreeRTOS_closesocket()
2079 if( pxSocket->ucProtocol == ( uint8_t ) FREERTOS_IPPROTO_TCP ) in vSocketClose()
2137 if( pxSocket->ucProtocol == ( uint8_t ) FREERTOS_IPPROTO_UDP ) in vSocketClose()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets/
DFreeRTOS_Sockets_TCP_API_utest.c95 xServerSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_accept_InvalidParams()
101 xServerSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_accept_InvalidParams()
121 xServerSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_accept_ClientSocketTaken()
147 xServerSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_accept_PeerSocketNULL()
174 xServerSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_accept_NotReuseSocket()
210 xServerSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_accept_ReuseSocket()
243 xServerSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_accept_ReuseSocket_NULLAddress()
274 xServerSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_accept_ReuseSocket_Timeout()
316 xServerSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_accept_ReuseIPv6Socket()
348 xServerSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_accept_ReuseIPv6Socket_NullAddress()
[all …]
DFreeRTOS_Sockets_GenericAPI_utest.c190 TEST_ASSERT_EQUAL( xSocket->ucProtocol, ( uint8_t ) FREERTOS_IPPROTO_TCP ); in test_FreeRTOS_socket_TCPSocket_ProtocolDependent()
235 TEST_ASSERT_EQUAL( xSocket->ucProtocol, ( uint8_t ) xProtocol ); in test_FreeRTOS_socket_TCPSocket()
278 TEST_ASSERT_EQUAL( xSocket->ucProtocol, ( uint8_t ) xProtocol ); in test_FreeRTOS_socket_UDPSocket()
317 TEST_ASSERT_EQUAL( xSocket->ucProtocol, ( uint8_t ) FREERTOS_IPPROTO_UDP ); in test_FreeRTOS_socket_UDPSocket_ProtocolDependent()
368 TEST_ASSERT_EQUAL( xSocket->ucProtocol, ( uint8_t ) xProtocol ); in test_FreeRTOS_socket_TCPv6Socket()
1028 xSocket.ucProtocol = ( uint8_t ) FREERTOS_IPPROTO_TCP; in test_FreeRTOS_closesocket_TCPSocketSendFail()
1051 xSocket.ucProtocol = ( uint8_t ) FREERTOS_IPPROTO_TCP; in test_FreeRTOS_closesocket_TCPSocketSendPass()
1074 xSocket.ucProtocol = ( uint8_t ) FREERTOS_IPPROTO_UDP; in test_FreeRTOS_closesocket_UDPSocketSendFail()
1096 xSocket.ucProtocol = ( uint8_t ) FREERTOS_IPPROTO_UDP; in test_FreeRTOS_closesocket_UDPSocketSendPass()
1211 xSocket.ucProtocol = FREERTOS_IPPROTO_UDP; in test_FreeRTOS_setsockopt_SendTimeOutUDP()
[all …]
DFreeRTOS_Sockets_UDP_API_utest.c103 xSocket->ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_recvfrom_TCPSocket()
128 xSocket->ucProtocol = FREERTOS_IPPROTO_UDP; in test_FreeRTOS_recvfrom_NonBlockingInterrupted()
157 xSocket->ucProtocol = FREERTOS_IPPROTO_UDP; in test_FreeRTOS_recvfrom_NonBlocking()
186 xSocket->ucProtocol = FREERTOS_IPPROTO_UDP; in test_FreeRTOS_recvfrom_NonBlockingFlagSet()
214 xSocket->ucProtocol = FREERTOS_IPPROTO_UDP; in test_FreeRTOS_recvfrom_BlockingButTimeout()
250 xSocket->ucProtocol = FREERTOS_IPPROTO_UDP; in test_FreeRTOS_recvfrom_BlockingButTimeoutSecondTime()
292 xSocket->ucProtocol = FREERTOS_IPPROTO_UDP; in test_FreeRTOS_recvfrom_BlockingButInterrupted()
323 xSocket->ucProtocol = FREERTOS_IPPROTO_UDP; in test_FreeRTOS_recvfrom_BlockingButInterruptedAndReceived()
368 xSocket->ucProtocol = FREERTOS_IPPROTO_UDP; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader()
428 xSocket->ucProtocol = FREERTOS_IPPROTO_UDP; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_Packet100()
[all …]
DFreeRTOS_Sockets_privates_utest.c183 xSocket.ucProtocol = xProtocol; in test_prvValidSocket_SocketBoundResetButBound()
203 xSocket.ucProtocol = xProtocol + 1; in test_prvValidSocket_InvalidProtocol()
458 xSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_prvMakeSureSocketIsBound_TCPProtocol()
473 xSocket.ucProtocol = FREERTOS_IPPROTO_UDP; in test_prvMakeSureSocketIsBound_SocketAlreadyBound()
490 xSocket.ucProtocol = FREERTOS_IPPROTO_UDP; in test_prvMakeSureSocketIsBound_SocketNotBound_BindingFails()
513 xSocket.ucProtocol = FREERTOS_IPPROTO_UDP; in test_prvMakeSureSocketIsBound_SocketNotBound_BindingSuccess()
573 xSocket.ucProtocol = ( uint8_t ) FREERTOS_IPPROTO_TCP; in test_vSocketBind_TCP()
605 xSocket.ucProtocol = ( uint8_t ) FREERTOS_IPPROTO_TCP; in test_vSocketBind_TCPNULLAddress()
629 xSocket.ucProtocol = ( uint8_t ) FREERTOS_IPPROTO_TCP; in test_vSocketBind_RNGFails()
654 xSocket.ucProtocol = ( uint8_t ) FREERTOS_IPPROTO_UDP; in test_vSocketBind_NonZeroPortNumber()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv6_Utils/
DFreeRTOS_IPv6_Utils_stubs.c83 …NetworkBufferDescriptor_t * prvInitializeNetworkDescriptorWithExtensionHeader( uint8_t ucProtocol ) in prvInitializeNetworkDescriptorWithExtensionHeader() argument
94 if( ucProtocol == ipPROTOCOL_TCP ) in prvInitializeNetworkDescriptorWithExtensionHeader()
98 else if( ucProtocol == ipPROTOCOL_UDP ) in prvInitializeNetworkDescriptorWithExtensionHeader()
102 else if( ucProtocol == ipPROTOCOL_ICMP_IPv6 ) in prvInitializeNetworkDescriptorWithExtensionHeader()
147 pcNetworkBuffer[ uxIndex ] = ucProtocol; in prvInitializeNetworkDescriptorWithExtensionHeader()
DFreeRTOS_IPv6_Utils_utest.c438 uint8_t ucProtocol = 0; in test_usGetExtensionHeaderLength_NullBuffer() local
440 uxReturn = usGetExtensionHeaderLength( NULL, uxBufferLength, &ucProtocol ); in test_usGetExtensionHeaderLength_NullBuffer()
474 uint8_t ucProtocol = 0; in test_usGetExtensionHeaderLength_TCPExtensionSuccess() local
492 …nsionHeaderLength( pxNetworkBuffer->pucEthernetBuffer, pxNetworkBuffer->xDataLength, &ucProtocol ); in test_usGetExtensionHeaderLength_TCPExtensionSuccess()
495 TEST_ASSERT_EQUAL( ipPROTOCOL_TCP, ucProtocol ); in test_usGetExtensionHeaderLength_TCPExtensionSuccess()
513 uint8_t ucProtocol = 0; in test_usGetExtensionHeaderLength_UDPExtensionSuccess() local
531 …nsionHeaderLength( pxNetworkBuffer->pucEthernetBuffer, pxNetworkBuffer->xDataLength, &ucProtocol ); in test_usGetExtensionHeaderLength_UDPExtensionSuccess()
534 TEST_ASSERT_EQUAL( ipPROTOCOL_UDP, ucProtocol ); in test_usGetExtensionHeaderLength_UDPExtensionSuccess()
552 uint8_t ucProtocol = 0; in test_usGetExtensionHeaderLength_ICMPv6ExtensionSuccess() local
570 …nsionHeaderLength( pxNetworkBuffer->pucEthernetBuffer, pxNetworkBuffer->xDataLength, &ucProtocol ); in test_usGetExtensionHeaderLength_ICMPv6ExtensionSuccess()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP_Utils/
DFreeRTOS_IP_Utils_stubs.c113 pxSet->ucProtocol = pxIPPacket->xIPHeader.ucNextHeader; in prvChecksumIPv6Checks_Valid()
133 pxSet->ucProtocol = pxIPPacket->xIPHeader.ucProtocol; in prvChecksumIPv4Checks_Valid()
147 pxSet->ucProtocol = 0xFF; in prvChecksumIPv4Checks_UnknownProtocol()
DFreeRTOS_IP_Utils_utest.c742 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_usGenerateProtocolChecksum_UnknownProtocol()
796 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_UDP; in test_usGenerateProtocolChecksum_UDPInvalidLength()
827 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_UDP; in test_usGenerateProtocolChecksum_UDPWrongCRCIncomingPacket()
858 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_UDP; in test_usGenerateProtocolChecksum_UDPOutgoingPacketLessProtocolLength()
892 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_UDP; in test_usGenerateProtocolChecksum_UDPNonZeroChecksum()
931 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_UDP; in test_usGenerateProtocolChecksum_UDPCorrectCRCOutgoingPacket()
968 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_UDP; in test_usGenerateProtocolChecksum_UDPLessBufferSizeOutgoingPacket()
1004 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_UDP; in test_usGenerateProtocolChecksum_UDPCorrectCRC()
1040 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_UDP; in test_usGenerateProtocolChecksum_UDPIncorrectCRC()
1076 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_usGenerateProtocolChecksum_TCPCorrectCRC()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv6/
DFreeRTOS_IPv6_stubs.c108 …NetworkBufferDescriptor_t * prvInitializeNetworkDescriptorWithExtensionHeader( uint8_t ucProtocol ) in prvInitializeNetworkDescriptorWithExtensionHeader() argument
119 if( ucProtocol == ipPROTOCOL_TCP ) in prvInitializeNetworkDescriptorWithExtensionHeader()
123 else if( ucProtocol == ipPROTOCOL_UDP ) in prvInitializeNetworkDescriptorWithExtensionHeader()
127 else if( ucProtocol == ipPROTOCOL_ICMP_IPv6 ) in prvInitializeNetworkDescriptorWithExtensionHeader()
172 pcNetworkBuffer[ uxIndex ] = ucProtocol; in prvInitializeNetworkDescriptorWithExtensionHeader()
DFreeRTOS_IPv6_utest.c307 uint8_t ucProtocol = ipPROTOCOL_TCP; in test_eHandleIPv6ExtensionHeaders_TCPHappyPath() local
308 …erDescriptor_t * pxNetworkBuffer = prvInitializeNetworkDescriptorWithExtensionHeader( ucProtocol ); in test_eHandleIPv6ExtensionHeaders_TCPHappyPath()
317 usGetExtensionHeaderLength_ReturnThruPtr_pucProtocol( &ucProtocol ); in test_eHandleIPv6ExtensionHeaders_TCPHappyPath()
340 uint8_t ucProtocol = ipPROTOCOL_UDP; in test_eHandleIPv6ExtensionHeaders_UDPHappyPath() local
341 …erDescriptor_t * pxNetworkBuffer = prvInitializeNetworkDescriptorWithExtensionHeader( ucProtocol ); in test_eHandleIPv6ExtensionHeaders_UDPHappyPath()
350 usGetExtensionHeaderLength_ReturnThruPtr_pucProtocol( &ucProtocol ); in test_eHandleIPv6ExtensionHeaders_UDPHappyPath()
373 uint8_t ucProtocol = ipPROTOCOL_ICMP_IPv6; in test_eHandleIPv6ExtensionHeaders_ICMPv6HappyPath() local
374 …erDescriptor_t * pxNetworkBuffer = prvInitializeNetworkDescriptorWithExtensionHeader( ucProtocol ); in test_eHandleIPv6ExtensionHeaders_ICMPv6HappyPath()
383 usGetExtensionHeaderLength_ReturnThruPtr_pucProtocol( &ucProtocol ); in test_eHandleIPv6ExtensionHeaders_ICMPv6HappyPath()
407 uint8_t ucProtocol = ipPROTOCOL_TCP; in test_eHandleIPv6ExtensionHeaders_TCPHappyPathNotRemove() local
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/cbmc/proofs/Socket/vSocketClose/
DvSocketClose_harness.c71 pxSocket->ucProtocol = PROTOCOL; in harness()
77 if( pxSocket->ucProtocol == FREERTOS_IPPROTO_TCP ) in harness()
92 else if( pxSocket->ucProtocol == FREERTOS_IPPROTO_UDP ) in harness()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_DiffConfig1/
DFreeRTOS_IPv4_DiffConfig1_utest.c107 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_BufferLengthLess()
156 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_HeaderLengthLess()
201 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_BufferLengthLessThan()
246 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_BufferLengthLessThanIPRequirement()
290 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_IPPacketLengthMoreThanTotalLength()
335 pxIPHeader->ucProtocol = ipPROTOCOL_UDP; in test_prvAllowIPPacketIPv4_UDP_IncorrectPacketLen()
380 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_TCP_IncorrectPacketLen()
425 pxIPHeader->ucProtocol = ipPROTOCOL_ICMP; in test_prvAllowIPPacketIPv4_ICMP_IncorrectPacketLen()
470 pxIPHeader->ucProtocol = ipPROTOCOL_IGMP; in test_prvAllowIPPacketIPv4_IGMP_IncorrectPacketLen()
515 pxIPHeader->ucProtocol = 0; in test_prvAllowIPPacketIPv4_NoProt()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets_DiffConfig/
DFreeRTOS_Sockets_DiffConfig_privates_utest.c75 xSocket.ucProtocol = ( uint8_t ) FREERTOS_IPPROTO_TCP; in test_vSocketBind_TCP()
97 xSocket.ucProtocol = ( uint8_t ) FREERTOS_IPPROTO_TCP; in test_vSocketBind_TCP1()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_UDP_IPv4/
DFreeRTOS_UDP_IPv4_stubs.c96 NetworkBufferDescriptor_t * prvPrepareDefaultNetworkbuffer( uint8_t ucProtocol ) in prvPrepareDefaultNetworkbuffer() argument
113 if( ucProtocol == ipPROTOCOL_UDP ) in prvPrepareDefaultNetworkbuffer()
118 else if( ucProtocol == ipPROTOCOL_ICMP ) in prvPrepareDefaultNetworkbuffer()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_UDP_IPv6/
DFreeRTOS_UDP_IPv6_stubs.c102 static NetworkBufferDescriptor_t * prvPrepareDefaultNetworkbuffer( uint8_t ucProtocol ) in prvPrepareDefaultNetworkbuffer() argument
119 if( ucProtocol == ipPROTOCOL_UDP ) in prvPrepareDefaultNetworkbuffer()
124 else if( ucProtocol == ipPROTOCOL_ICMP_IPv6 ) in prvPrepareDefaultNetworkbuffer()
/FreeRTOS-Plus-TCP-v4.0.0/test/cbmc/proofs/IPUtils/usGenerateProtocolChecksum_IPv6/
DusGenerateProtocolChecksum_IPv6_harness.c71 BaseType_t xGetExtensionOrder( uint8_t ucProtocol, in xGetExtensionOrder() argument
76 if( xIsExtensionHeader( ucProtocol ) != pdFALSE ) in xGetExtensionOrder()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets_DiffConfig1/
DFreeRTOS_Sockets_DiffConfig1_privates_utest.c64 xSocket.ucProtocol = ( uint8_t ) FREERTOS_IPPROTO_TCP; in test_vSocketBind_TCP()
/FreeRTOS-Plus-TCP-v4.0.0/tools/tcp_utilities/
Dtcp_dump_packets.c373 uint8_t ucProtocol; in vAddProtocolTags() local
385 ucProtocol = pxIPHeader_IPv6->ucNextHeader; in vAddProtocolTags()
397 ucProtocol = pxIPPacket->xIPHeader.ucProtocol; in vAddProtocolTags()
401 switch( ucProtocol ) in vAddProtocolTags()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets_DiffConfig2/
DFreeRTOS_Sockets_DiffConfig2_GenericAPI_utest.c239 xSocket.ucProtocol = FREERTOS_IPPROTO_UDP; in test_prvSocketProps_UDPv6()
261 xSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_prvSocketProps_TCPv6()
308 xSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_GetRemoteAddress_IPv6HappyPath()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_DiffConfig/
DFreeRTOS_IPv4_DiffConfig_utest.c190 pxIPHeader->ucProtocol = ipPROTOCOL_UDP; in test_prvAllowIPPacketIPv4_UDPCheckSumZero()
236 pxIPHeader->ucProtocol = ipPROTOCOL_UDP; in test_prvAllowIPPacketIPv4_UDP_HappyPath()
288 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_TCP_HappyPath()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_Utils/
DFreeRTOS_IPv4_Utils_utest.c197 xIPPacket.xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_prvChecksumIPv4Checks_Pass()
202 TEST_ASSERT_EQUAL( ipPROTOCOL_TCP, xSet.ucProtocol ); in test_prvChecksumIPv4Checks_Pass()

123