Lines Matching refs:pxEthernetHeader

587     EthernetHeader_t * pxEthernetHeader;  in test_prvProcessIPEventsAndTimers_eNetworkRxEvent()  local
592 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_prvProcessIPEventsAndTimers_eNetworkRxEvent()
598 pxEthernetHeader->usFrameType = 0xFF; in test_prvProcessIPEventsAndTimers_eNetworkRxEvent()
1069 EthernetHeader_t * pxEthernetHeader; in test_FreeRTOS_SendPingRequest_HappyPath() local
1082 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_FreeRTOS_SendPingRequest_HappyPath()
1102 TEST_ASSERT_EQUAL( ipIPv4_FRAME_TYPE, pxEthernetHeader->usFrameType ); in test_FreeRTOS_SendPingRequest_HappyPath()
1119 EthernetHeader_t * pxEthernetHeader; in test_FreeRTOS_SendPingRequest_SendingToIPTaskFails() local
1132 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_FreeRTOS_SendPingRequest_SendingToIPTaskFails()
1153 TEST_ASSERT_EQUAL( ipIPv4_FRAME_TYPE, pxEthernetHeader->usFrameType ); in test_FreeRTOS_SendPingRequest_SendingToIPTaskFails()
1497 EthernetHeader_t * pxEthernetHeader; in test_eConsiderFrameForProcessing_LocalMACMatch() local
1503 pxEthernetHeader = ( EthernetHeader_t * ) ucEthernetBuffer; in test_eConsiderFrameForProcessing_LocalMACMatch()
1509 …memcpy( pxEthernetHeader->xDestinationAddress.ucBytes, pxEndPoint->xMACAddress.ucBytes, sizeof( MA… in test_eConsiderFrameForProcessing_LocalMACMatch()
1510 pxEthernetHeader->usFrameType = FreeRTOS_htons( 0x0800 ); in test_eConsiderFrameForProcessing_LocalMACMatch()
1527 EthernetHeader_t * pxEthernetHeader; in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType() local
1533 pxEthernetHeader = ( EthernetHeader_t * ) ucEthernetBuffer; in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType()
1539 …memcpy( pxEthernetHeader->xDestinationAddress.ucBytes, pxEndPoint->xMACAddress.ucBytes, sizeof( MA… in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType()
1540 pxEthernetHeader->usFrameType = FreeRTOS_htons( 0 ); in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType()
1557 EthernetHeader_t * pxEthernetHeader; in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType1() local
1563 pxEthernetHeader = ( EthernetHeader_t * ) ucEthernetBuffer; in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType1()
1569 …memcpy( pxEthernetHeader->xDestinationAddress.ucBytes, pxEndPoint->xMACAddress.ucBytes, sizeof( MA… in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType1()
1570 pxEthernetHeader->usFrameType = 0x0600; in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType1()
1586 EthernetHeader_t * pxEthernetHeader; in test_eConsiderFrameForProcessing_BroadCastMACMatch() local
1592 pxEthernetHeader = ( EthernetHeader_t * ) ucEthernetBuffer; in test_eConsiderFrameForProcessing_BroadCastMACMatch()
1596 …memcpy( pxEthernetHeader->xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAd… in test_eConsiderFrameForProcessing_BroadCastMACMatch()
1597 pxEthernetHeader->usFrameType = 0xFFFF; in test_eConsiderFrameForProcessing_BroadCastMACMatch()
1613 EthernetHeader_t * pxEthernetHeader; in test_eConsiderFrameForProcessing_LLMNR_MACMatch() local
1619 pxEthernetHeader = ( EthernetHeader_t * ) ucEthernetBuffer; in test_eConsiderFrameForProcessing_LLMNR_MACMatch()
1623 …memcpy( pxEthernetHeader->xDestinationAddress.ucBytes, xLLMNR_MacAdress.ucBytes, sizeof( MACAddres… in test_eConsiderFrameForProcessing_LLMNR_MACMatch()
1624 pxEthernetHeader->usFrameType = 0xFFFF; in test_eConsiderFrameForProcessing_LLMNR_MACMatch()
1640 EthernetHeader_t * pxEthernetHeader; in test_eConsiderFrameForProcessing_NotMatch() local
1647 pxEthernetHeader = ( EthernetHeader_t * ) ucEthernetBuffer; in test_eConsiderFrameForProcessing_NotMatch()
1651 memcpy( pxEthernetHeader->xDestinationAddress.ucBytes, &xMACAddress, sizeof( MACAddress_t ) ); in test_eConsiderFrameForProcessing_NotMatch()
1652 pxEthernetHeader->usFrameType = 0xFFFF; in test_eConsiderFrameForProcessing_NotMatch()
1668 EthernetHeader_t * pxEthernetHeader; in test_eConsiderFrameForProcessing_IPv6BroadCastMACMatch() local
1674 pxEthernetHeader = ( EthernetHeader_t * ) ucEthernetBuffer; in test_eConsiderFrameForProcessing_IPv6BroadCastMACMatch()
1678 pxEthernetHeader->xDestinationAddress.ucBytes[ 0 ] = ipMULTICAST_MAC_ADDRESS_IPv6_0; in test_eConsiderFrameForProcessing_IPv6BroadCastMACMatch()
1679 pxEthernetHeader->xDestinationAddress.ucBytes[ 1 ] = ipMULTICAST_MAC_ADDRESS_IPv6_1; in test_eConsiderFrameForProcessing_IPv6BroadCastMACMatch()
1680 pxEthernetHeader->usFrameType = 0xFFFF; in test_eConsiderFrameForProcessing_IPv6BroadCastMACMatch()
1696 EthernetHeader_t * pxEthernetHeader; in test_eConsiderFrameForProcessing_IPv6BroadCastMACPartialMatch() local
1702 pxEthernetHeader = ( EthernetHeader_t * ) ucEthernetBuffer; in test_eConsiderFrameForProcessing_IPv6BroadCastMACPartialMatch()
1706 pxEthernetHeader->xDestinationAddress.ucBytes[ 0 ] = ipMULTICAST_MAC_ADDRESS_IPv6_0; in test_eConsiderFrameForProcessing_IPv6BroadCastMACPartialMatch()
1707 pxEthernetHeader->xDestinationAddress.ucBytes[ 1 ] = 0x00; in test_eConsiderFrameForProcessing_IPv6BroadCastMACPartialMatch()
1708 pxEthernetHeader->usFrameType = 0xFFFF; in test_eConsiderFrameForProcessing_IPv6BroadCastMACPartialMatch()
1752 EthernetHeader_t * pxEthernetHeader; in test_prvProcessEthernetPacket_UnknownFrameType() local
1756 pxEthernetHeader = ( EthernetHeader_t * ) ucEtherBuffer; in test_prvProcessEthernetPacket_UnknownFrameType()
1757 pxEthernetHeader->usFrameType = 0xFFFF; in test_prvProcessEthernetPacket_UnknownFrameType()
1775 EthernetHeader_t * pxEthernetHeader; in test_prvProcessEthernetPacket_ARPFrameType1() local
1780 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_prvProcessEthernetPacket_ARPFrameType1()
1784 pxEthernetHeader->usFrameType = ipARP_FRAME_TYPE; in test_prvProcessEthernetPacket_ARPFrameType1()
1802 EthernetHeader_t * pxEthernetHeader; in test_prvProcessEthernetPacket_ARPFrameType2() local
1807 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_prvProcessEthernetPacket_ARPFrameType2()
1811 pxEthernetHeader->usFrameType = ipARP_FRAME_TYPE; in test_prvProcessEthernetPacket_ARPFrameType2()
1830 EthernetHeader_t * pxEthernetHeader; in test_prvProcessEthernetPacket_ARPFrameType_WaitingARPResolution() local
1837 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_prvProcessEthernetPacket_ARPFrameType_WaitingARPResolution()
1841 pxEthernetHeader->usFrameType = ipARP_FRAME_TYPE; in test_prvProcessEthernetPacket_ARPFrameType_WaitingARPResolution()
1860 EthernetHeader_t * pxEthernetHeader; in test_prvProcessEthernetPacket_ARPFrameType_WaitingARPResolution2() local
1867 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_prvProcessEthernetPacket_ARPFrameType_WaitingARPResolution2()
1871 pxEthernetHeader->usFrameType = ipARP_FRAME_TYPE; in test_prvProcessEthernetPacket_ARPFrameType_WaitingARPResolution2()
1890 EthernetHeader_t * pxEthernetHeader; in test_prvProcessEthernetPacket_ARPFrameType_eReturnEthernetFrame() local
1900 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_prvProcessEthernetPacket_ARPFrameType_eReturnEthernetFrame()
1904 pxEthernetHeader->usFrameType = ipARP_FRAME_TYPE; in test_prvProcessEthernetPacket_ARPFrameType_eReturnEthernetFrame()
1924 EthernetHeader_t * pxEthernetHeader; in test_prvProcessEthernetPacket_ARPFrameType_eFrameConsumed() local
1929 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_prvProcessEthernetPacket_ARPFrameType_eFrameConsumed()
1933 pxEthernetHeader->usFrameType = ipARP_FRAME_TYPE; in test_prvProcessEthernetPacket_ARPFrameType_eFrameConsumed()
1950 EthernetHeader_t * pxEthernetHeader; in test_prvProcessEthernetPacket_ARPFrameType_SmallerDataLength() local
1955 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_prvProcessEthernetPacket_ARPFrameType_SmallerDataLength()
1959 pxEthernetHeader->usFrameType = ipARP_FRAME_TYPE; in test_prvProcessEthernetPacket_ARPFrameType_SmallerDataLength()
1976 EthernetHeader_t * pxEthernetHeader; in test_prvProcessEthernetPacket_IPv4FrameType_LessData() local
1981 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_prvProcessEthernetPacket_IPv4FrameType_LessData()
1985 pxEthernetHeader->usFrameType = ipIPv4_FRAME_TYPE; in test_prvProcessEthernetPacket_IPv4FrameType_LessData()
2002 EthernetHeader_t * pxEthernetHeader; in test_prvProcessEthernetPacket_IPv4FrameType_AptData() local
2011 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_prvProcessEthernetPacket_IPv4FrameType_AptData()
2012 pxEthernetHeader->usFrameType = ipIPv4_FRAME_TYPE; in test_prvProcessEthernetPacket_IPv4FrameType_AptData()
3100 EthernetHeader_t * pxEthernetHeader; in test_vReturnEthernetFrame() local
3117 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_vReturnEthernetFrame()
3118 …memset( &pxEthernetHeader->xDestinationAddress, 0, sizeof( pxEthernetHeader->xDestinationAddress )… in test_vReturnEthernetFrame()
3119 memset( &pxEthernetHeader->xSourceAddress, 0x22, sizeof( pxEthernetHeader->xSourceAddress ) ); in test_vReturnEthernetFrame()
3131 …TEST_ASSERT_EACH_EQUAL_UINT8( 0x22, &pxEthernetHeader->xDestinationAddress, sizeof( pxEthernetHead… in test_vReturnEthernetFrame()
3132 …TEST_ASSERT_EACH_EQUAL_UINT8( 0x11, &pxEthernetHeader->xSourceAddress, sizeof( pxEthernetHeader->x… in test_vReturnEthernetFrame()
3133 …tworkBuffer->pxEndPoint->xMACAddress.ucBytes, &pxEthernetHeader->xSourceAddress, sizeof( pxEtherne… in test_vReturnEthernetFrame()
3147 EthernetHeader_t * pxEthernetHeader; in test_vReturnEthernetFrame_DataLenMoreThanRequired() local
3160 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_vReturnEthernetFrame_DataLenMoreThanRequired()
3161 …memset( &pxEthernetHeader->xDestinationAddress, 0x11, sizeof( pxEthernetHeader->xDestinationAddres… in test_vReturnEthernetFrame_DataLenMoreThanRequired()
3162 memset( &pxEthernetHeader->xSourceAddress, 0x22, sizeof( pxEthernetHeader->xSourceAddress ) ); in test_vReturnEthernetFrame_DataLenMoreThanRequired()
3174 …TEST_ASSERT_EACH_EQUAL_UINT8( 0x22, &pxEthernetHeader->xDestinationAddress, sizeof( pxEthernetHead… in test_vReturnEthernetFrame_DataLenMoreThanRequired()
3175 …tworkBuffer->pxEndPoint->xMACAddress.ucBytes, &pxEthernetHeader->xSourceAddress, sizeof( pxEtherne… in test_vReturnEthernetFrame_DataLenMoreThanRequired()
3189 EthernetHeader_t * pxEthernetHeader; in test_vReturnEthernetFrame_ReleaseAfterSend() local
3205 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_vReturnEthernetFrame_ReleaseAfterSend()
3206 …memset( &pxEthernetHeader->xDestinationAddress, 0x11, sizeof( pxEthernetHeader->xDestinationAddres… in test_vReturnEthernetFrame_ReleaseAfterSend()
3207 memset( &pxEthernetHeader->xSourceAddress, 0x22, sizeof( pxEthernetHeader->xSourceAddress ) ); in test_vReturnEthernetFrame_ReleaseAfterSend()
3221 …TEST_ASSERT_EACH_EQUAL_UINT8( 0x22, &pxEthernetHeader->xDestinationAddress, sizeof( pxEthernetHead… in test_vReturnEthernetFrame_ReleaseAfterSend()
3222 …tworkBuffer->pxEndPoint->xMACAddress.ucBytes, &pxEthernetHeader->xSourceAddress, sizeof( pxEtherne… in test_vReturnEthernetFrame_ReleaseAfterSend()
3236 EthernetHeader_t * pxEthernetHeader; in test_vReturnEthernetFrame_ReleaseAfterSendFail() local
3252 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_vReturnEthernetFrame_ReleaseAfterSendFail()
3253 …memset( &pxEthernetHeader->xDestinationAddress, 0x11, sizeof( pxEthernetHeader->xDestinationAddres… in test_vReturnEthernetFrame_ReleaseAfterSendFail()
3254 memset( &pxEthernetHeader->xSourceAddress, 0x22, sizeof( pxEthernetHeader->xSourceAddress ) ); in test_vReturnEthernetFrame_ReleaseAfterSendFail()
3269 …TEST_ASSERT_EACH_EQUAL_UINT8( 0x22, &pxEthernetHeader->xDestinationAddress, sizeof( pxEthernetHead… in test_vReturnEthernetFrame_ReleaseAfterSendFail()
3270 …tworkBuffer->pxEndPoint->xMACAddress.ucBytes, &pxEthernetHeader->xSourceAddress, sizeof( pxEtherne… in test_vReturnEthernetFrame_ReleaseAfterSendFail()
3284 EthernetHeader_t * pxEthernetHeader; in test_vReturnEthernetFrame_NeitherIPTaskNorReleaseAfterSend() local
3300 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_vReturnEthernetFrame_NeitherIPTaskNorReleaseAfterSend()
3301 …memset( &pxEthernetHeader->xDestinationAddress, 0x11, sizeof( pxEthernetHeader->xDestinationAddres… in test_vReturnEthernetFrame_NeitherIPTaskNorReleaseAfterSend()
3302 memset( &pxEthernetHeader->xSourceAddress, 0x22, sizeof( pxEthernetHeader->xSourceAddress ) ); in test_vReturnEthernetFrame_NeitherIPTaskNorReleaseAfterSend()
3323 EthernetHeader_t * pxEthernetHeader; in test_vReturnEthernetFrame_UnknownFrameType() local
3335 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_vReturnEthernetFrame_UnknownFrameType()
3336 …memset( &pxEthernetHeader->xDestinationAddress, 0x11, sizeof( pxEthernetHeader->xDestinationAddres… in test_vReturnEthernetFrame_UnknownFrameType()
3337 memset( &pxEthernetHeader->xSourceAddress, 0x22, sizeof( pxEthernetHeader->xSourceAddress ) ); in test_vReturnEthernetFrame_UnknownFrameType()
3338 pxEthernetHeader->usFrameType = 0xFF; in test_vReturnEthernetFrame_UnknownFrameType()
3356 EthernetHeader_t * pxEthernetHeader; in test_vReturnEthernetFrame_IPv6NoEndpoint() local
3368 pxEthernetHeader = ( EthernetHeader_t * ) pxNetworkBuffer->pucEthernetBuffer; in test_vReturnEthernetFrame_IPv6NoEndpoint()
3369 …memset( &pxEthernetHeader->xDestinationAddress, 0x11, sizeof( pxEthernetHeader->xDestinationAddres… in test_vReturnEthernetFrame_IPv6NoEndpoint()
3370 memset( &pxEthernetHeader->xSourceAddress, 0x22, sizeof( pxEthernetHeader->xSourceAddress ) ); in test_vReturnEthernetFrame_IPv6NoEndpoint()
3371 pxEthernetHeader->usFrameType = ipIPv6_FRAME_TYPE; in test_vReturnEthernetFrame_IPv6NoEndpoint()