Home
last modified time | relevance | path

Searched refs:xInterface (Results 1 – 13 of 13) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP_Utils_DiffConfig/
HDFreeRTOS_IP_Utils_DiffConfig_utest.c94 NetworkInterface_t xInterface; in test_prvProcessNetworkDownEvent_Pass_DHCP_Enabled() local
99 xInterface.pfInitialise = xNetworkInterfaceInitialise_test; in test_prvProcessNetworkDownEvent_Pass_DHCP_Enabled()
103 FreeRTOS_FirstEndPoint_ExpectAndReturn( &xInterface, &xEndPoint ); in test_prvProcessNetworkDownEvent_Pass_DHCP_Enabled()
107 FreeRTOS_NextEndPoint_ExpectAndReturn( &xInterface, &xEndPoint, NULL ); in test_prvProcessNetworkDownEvent_Pass_DHCP_Enabled()
109 xInterface.pfInitialise = xNetworkInterfaceInitialise_test; in test_prvProcessNetworkDownEvent_Pass_DHCP_Enabled()
111 FreeRTOS_FirstEndPoint_ExpectAndReturn( &xInterface, &xEndPoint ); in test_prvProcessNetworkDownEvent_Pass_DHCP_Enabled()
117 FreeRTOS_NextEndPoint_ExpectAndReturn( &xInterface, &xEndPoint, NULL ); in test_prvProcessNetworkDownEvent_Pass_DHCP_Enabled()
119 prvProcessNetworkDownEvent( &xInterface ); in test_prvProcessNetworkDownEvent_Pass_DHCP_Enabled()
201 NetworkInterface_t xInterface; in test_prvProcessNetworkDownEvent_Pass_DHCP_Disabled() local
207 xInterface.pfInitialise = xNetworkInterfaceInitialise_test; in test_prvProcessNetworkDownEvent_Pass_DHCP_Disabled()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP_Timers/
HDFreeRTOS_IP_Timers_utest.c524 NetworkInterface_t xInterface[ 2 ]; in test_vCheckNetworkTimers_NetworkTimerActiveAndExpired() local
527 memset( &xInterface[ 0 ], 0, sizeof( NetworkInterface_t ) ); in test_vCheckNetworkTimers_NetworkTimerActiveAndExpired()
528 xInterface[ 0 ].bits.bInterfaceUp = pdTRUE_UNSIGNED; in test_vCheckNetworkTimers_NetworkTimerActiveAndExpired()
529 memset( &xInterface[ 1 ], 0, sizeof( NetworkInterface_t ) ); in test_vCheckNetworkTimers_NetworkTimerActiveAndExpired()
530 xInterface[ 1 ].bits.bInterfaceUp = pdFALSE_UNSIGNED; in test_vCheckNetworkTimers_NetworkTimerActiveAndExpired()
533 pxNetworkInterfaces = &xInterface[ 0 ]; in test_vCheckNetworkTimers_NetworkTimerActiveAndExpired()
534 pxNetworkInterfaces->pxNext = &xInterface[ 1 ]; in test_vCheckNetworkTimers_NetworkTimerActiveAndExpired()
549 FreeRTOS_NetworkDown_Expect( &xInterface[ 1 ] ); in test_vCheckNetworkTimers_NetworkTimerActiveAndExpired()
560 NetworkInterface_t xInterface[ 2 ]; in test_vCheckNetworkTimers_NetworkInterfacesAllUp() local
563 memset( &xInterface[ 0 ], 0, sizeof( NetworkInterface_t ) ); in test_vCheckNetworkTimers_NetworkInterfacesAllUp()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_RA/
HDFreeRTOS_RA_utest.c518 NetworkInterface_t xInterface; in test_vReceiveRA_NullICMPPrefix() local
527 pxNetworkBuffer->pxInterface = &xInterface; in test_vReceiveRA_NullICMPPrefix()
543 NetworkInterface_t xInterface; in test_vReceiveRA_NullICMPPrefix_ZeroOptionLength() local
554 pxNetworkBuffer->pxInterface = &xInterface; in test_vReceiveRA_NullICMPPrefix_ZeroOptionLength()
580 NetworkInterface_t xInterface; in test_vReceiveRA_NullICMPPrefix_NotEnoughBytes() local
591 pxNetworkBuffer->pxInterface = &xInterface; in test_vReceiveRA_NullICMPPrefix_NotEnoughBytes()
616 NetworkInterface_t xInterface; in test_vReceiveRA_ValidICMPPrefix_Option1() local
624 memset( &xInterface, 0, sizeof( NetworkInterface_t ) ); in test_vReceiveRA_ValidICMPPrefix_Option1()
628 pxNetworkBuffer->pxInterface = &xInterface; in test_vReceiveRA_ValidICMPPrefix_Option1()
651 NetworkInterface_t xInterface; in test_vReceiveRA_ValidICMPPrefix_Option2() local
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ARP_DataLenLessThanMinPacket/
HDFreeRTOS_ARP_DataLenLessThanMinPacket_utest.c41 NetworkInterface_t xInterface; in test_FreeRTOS_OutputARPRequest_MinimumPacketSizeLessThanARPPacket() local
49 xInterface.pfOutput = xNetworkInterfaceOutput_ARP_Stub; in test_FreeRTOS_OutputARPRequest_MinimumPacketSizeLessThanARPPacket()
51 xEndPoint.pxNetworkInterface = &xInterface; in test_FreeRTOS_OutputARPRequest_MinimumPacketSizeLessThanARPPacket()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_Transmission/
HDFreeRTOS_TCP_Transmission_utest.c164 struct xNetworkInterface xInterface; in test_prvTCPSendPacket_Syn_State() local
174 xEndPoint.pxNetworkInterface = &xInterface; in test_prvTCPSendPacket_Syn_State()
273 struct xNetworkInterface xInterface, * pxInterface; in test_prvTCPSendPacket_Other_State_Something_To_Send() local
299 pxInterface = &xInterface; in test_prvTCPSendPacket_Other_State_Something_To_Send()
306 xEndPoint.pxNetworkInterface = &xInterface; in test_prvTCPSendPacket_Other_State_Something_To_Send()
379 struct xNetworkInterface xInterface; in test_prvTCPSendRepeated_Repeat_8() local
399 xEndPoint.pxNetworkInterface = &xInterface; in test_prvTCPSendRepeated_Repeat_8()
443 struct xNetworkInterface xInterface; in test_prvTCPReturnPacket_Null_Buffer_Null_Rx_Stream_KL() local
445 xEndPoint.pxNetworkInterface = &xInterface; in test_prvTCPReturnPacket_Null_Buffer_Null_Rx_Stream_KL()
486 struct xNetworkInterface xInterface; in test_prvTCPReturnPacket_Null_EP_WithoutRelease() local
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ARP/
HDFreeRTOS_ARP_utest.c652 NetworkInterface_t xInterface; in test_eARPProcessPacket_Request_SenderAndTargetSame() local
707 NetworkInterface_t xInterface; in test_eARPProcessPacket_Request_GratuitousARP() local
772 NetworkInterface_t xInterface; in test_eARPProcessPacket_Request_GratuitousARP_MACUnchanged() local
833 NetworkInterface_t xInterface; in test_eARPProcessPacket_Request_GratuitousARP_OutOfSubnetIP() local
891 NetworkInterface_t xInterface; in test_eARPProcessPacket_Request_GratuitousARP_MACMatchesWithEndpoint() local
950 NetworkInterface_t xInterface; in test_eARPProcessPacket_Request_GratuitousARP_TargetHWAddressNotBroadcast() local
1012 NetworkInterface_t xInterface; in test_eARPProcessPacket_Request_GratuitousARP_NonMatchingEndpoint() local
1075 NetworkInterface_t xInterface; in test_eARPProcessPacket_Request_GratuitousARP_NonMatchingIP() local
1133 NetworkInterface_t xInterface; in test_eARPProcessPacket_Reply_TargetIPSameAsLocalIP() local
1180 NetworkInterface_t xInterface; in test_eARPProcessPacket_Reply_TargetIPNotSameAsLocalIP_ButEntryInCache() local
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/WinPCap/
HDNetworkInterface.c433 pcap_if_t * pxAllNetworkInterfaces = NULL, * xInterface; in prvPrintAvailableNetworkInterfaces() local
454 … for( xInterface = pxAllNetworkInterfaces; xInterface != NULL; xInterface = xInterface->next ) in prvPrintAvailableNetworkInterfaces()
459 …ce %d - %s\n", lInterfaceNumber, prvRemoveSpaces( cBuffer, sizeof( cBuffer ), xInterface->name ) ); in prvPrintAvailableNetworkInterfaces()
460 … (%s)\n", prvRemoveSpaces( cBuffer, sizeof( cBuffer ), xInterface->description ? xInterface->de… in prvPrintAvailableNetworkInterfaces()
464 if( xInterface->description != NULL ) in prvPrintAvailableNetworkInterfaces()
466 if( xDesiredAdapter( xInterface->description ) ) in prvPrintAvailableNetworkInterfaces()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/linux/
HDNetworkInterface.c390 pcap_if_t * xInterface; in prvPrintAvailableNetworkInterfaces() local
398 for( xInterface = pxAllNetworkInterfaces; in prvPrintAvailableNetworkInterfaces()
399 xInterface != NULL; xInterface = xInterface->next ) in prvPrintAvailableNetworkInterfaces()
406 prvRemoveSpaces( cBuffer, sizeof( cBuffer ), xInterface->name ) ); in prvPrintAvailableNetworkInterfaces()
410 xInterface->description ? xInterface->description : in prvPrintAvailableNetworkInterfaces()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP_Utils/
HDFreeRTOS_IP_Utils_stubs.c74 BaseType_t xNetworkInterfaceInitialise_returnTrue( NetworkInterface_t * xInterface ) in xNetworkInterfaceInitialise_returnTrue() argument
79 BaseType_t xNetworkInterfaceInitialise_returnFalse( NetworkInterface_t * xInterface ) in xNetworkInterfaceInitialise_returnFalse() argument
HDFreeRTOS_IP_Utils_utest.c470 NetworkInterface_t xInterface; in test_prvProcessNetworkDownEvent_Pass() local
512 NetworkInterface_t xInterface; in test_prvProcessNetworkDownEvent_Fail() local
549 NetworkInterface_t xInterface; in test_prvProcessNetworkDownEvent_NullInitialFunction() local
551 xInterface.pfInitialise = NULL; in test_prvProcessNetworkDownEvent_NullInitialFunction()
553 catch_assert( prvProcessNetworkDownEvent( &xInterface ) ); in test_prvProcessNetworkDownEvent_NullInitialFunction()
563 NetworkInterface_t xInterface; in test_prvProcessNetworkDownEvent_InterfaceInitFail() local
567 xInterface.pfInitialise = &xNetworkInterfaceInitialise_returnFalse; in test_prvProcessNetworkDownEvent_InterfaceInitFail()
578 prvProcessNetworkDownEvent( &xInterface ); in test_prvProcessNetworkDownEvent_InterfaceInitFail()
588 NetworkInterface_t xInterface; in test_prvProcessNetworkDownEvent_PassDHCPv6() local
592 xInterface.pfInitialise = &xNetworkInterfaceInitialise_returnTrue; in test_prvProcessNetworkDownEvent_PassDHCPv6()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP_DiffConfig/
HDFreeRTOS_IP_DiffConfig_utest.c356 struct xNetworkInterface xInterface; in test_vReturnEthernetFrame_DuplicationSuccess() local
410 struct xNetworkInterface xInterface; in test_vReturnEthernetFrame_DuplicationSuccessCacheHit() local
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP/
HDFreeRTOS_IP_utest.c618 struct xNetworkInterface xInterface; in test_prvProcessIPEventsAndTimers_eNetworkTxEvent() local
626 pxNetworkBuffer->pxInterface = &xInterface; in test_prvProcessIPEventsAndTimers_eNetworkTxEvent()
1886 struct xNetworkInterface xInterface, * pxInterface = &xInterface; in test_prvProcessEthernetPacket_ARPFrameType_eReturnEthernetFrame() local
3728 NetworkInterface_t xInterface[ 2 ]; in test_FreeRTOS_AllEndPointsUp_SpecificInterface() local
3735 memset( &xInterface[ 0 ], 0, sizeof( NetworkInterface_t ) ); in test_FreeRTOS_AllEndPointsUp_SpecificInterface()
3736 memset( &xInterface[ 1 ], 0, sizeof( NetworkInterface_t ) ); in test_FreeRTOS_AllEndPointsUp_SpecificInterface()
3742 xEndpoint[ 0 ].pxNetworkInterface = &xInterface[ 0 ]; in test_FreeRTOS_AllEndPointsUp_SpecificInterface()
3745 xEndpoint[ 1 ].pxNetworkInterface = &xInterface[ 1 ]; in test_FreeRTOS_AllEndPointsUp_SpecificInterface()
3748 xEndpoint[ 2 ].pxNetworkInterface = &xInterface[ 1 ]; in test_FreeRTOS_AllEndPointsUp_SpecificInterface()
3756 xReturn = FreeRTOS_AllEndPointsUp( &xInterface[ 1 ] ); in test_FreeRTOS_AllEndPointsUp_SpecificInterface()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ND/
HDFreeRTOS_ND_utest.c1801 NetworkInterface_t xInterface; in test_FreeRTOS_OutputAdvertiseIPv6_HappyPath() local
1804 xEndPoint.pxNetworkInterface = &xInterface; in test_FreeRTOS_OutputAdvertiseIPv6_HappyPath()