Home
last modified time | relevance | path

Searched refs:MACAddress_t (Results 1 – 25 of 37) sorted by relevance

12

/FreeRTOS-Plus-TCP-v3.1.0/source/include/
DFreeRTOS_ARP.h52 MACAddress_t xMACAddress; /**< The MAC address of an ARP cache entry. */
70 void vARPRefreshCacheEntry( const MACAddress_t * pxMACAddress,
77 extern MACAddress_t xARPClashMacAddress;
86 uint32_t ulARPRemoveCacheEntryByMac( const MACAddress_t * pxMACAddress );
104 MACAddress_t * const pxMACAddress );
109 eARPLookupResult_t eARPGetCacheEntryByMac( const MACAddress_t * const pxMACAddress,
DFreeRTOS_IP_Private.h80 MACAddress_t xDestinationAddress; /**< Destination address 0 + 6 = 6 */
81 MACAddress_t xSourceAddress; /**< Source address 6 + 6 = 12 */
95MACAddress_t xSenderHardwareAddress; /**< Media address of the sender 8 + 6 =…
97MACAddress_t xTargetHardwareAddress; /**< Media address of the intended receiver 18 + 6 =…
345 extern const MACAddress_t xBroadcastMACAddress; /* all 0xff's */
DFreeRTOS_IP.h186 typedef struct xMAC_ADDRESS MACAddress_t; variable
371 MACAddress_t * pxMACAddress );
411 #define xMACAddress_t MACAddress_t
DFreeRTOS_DNS.h49 extern const MACAddress_t xLLMNR_MacAdress;
/FreeRTOS-Plus-TCP-v3.1.0/source/
DFreeRTOS_ARP.c86 MACAddress_t * const pxMACAddress );
111 MACAddress_t xARPClashMacAddress;
272 sizeof( MACAddress_t ) ); in eARPProcessPacket()
283 ( void ) memcpy( pvCopyDest, pvCopySource, sizeof( MACAddress_t ) ); in eARPProcessPacket()
440 uint32_t ulARPRemoveCacheEntryByMac( const MACAddress_t * pxMACAddress ) in ulARPRemoveCacheEntryByMac()
472 void vARPRefreshCacheEntry( const MACAddress_t * pxMACAddress, in vARPRefreshCacheEntry()
654 eARPLookupResult_t eARPGetCacheEntryByMac( const MACAddress_t * const pxMACAddress, in eARPGetCacheEntryByMac()
668 … memcmp( pxMACAddress->ucBytes, xARPCache[ x ].xMACAddress.ucBytes, sizeof( MACAddress_t ) ) == 0 ) in eARPGetCacheEntryByMac()
697 MACAddress_t * const pxMACAddress ) in eARPGetCacheEntry()
718 … ( void ) memcpy( pxMACAddress->ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAddress_t ) ); in eARPGetCacheEntry()
[all …]
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_ARP/
DFreeRTOS_ARP_utest.c269 … &( xARPFrame.xARPHeader.xSenderHardwareAddress ), &xBroadcastMACAddress, sizeof( MACAddress_t ) ); in test_eARPProcessPacket_SourceMACIsBroadcast()
425 memset( ipLOCAL_MAC_ADDRESS, 0x22, sizeof( MACAddress_t ) ); in test_eARPProcessPacket_Request_SenderMACSameAsLocalMAC()
426 …y( &( xARPFrame.xARPHeader.xSenderHardwareAddress ), ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_eARPProcessPacket_Request_SenderMACSameAsLocalMAC()
522 memset( ipLOCAL_MAC_ADDRESS, 0x22, sizeof( MACAddress_t ) ); in test_eARPProcessPacket_Reply_TargetIPSameAsLocalIP()
523 …y( &( xARPFrame.xARPHeader.xSenderHardwareAddress ), ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_eARPProcessPacket_Reply_TargetIPSameAsLocalIP()
557 memset( ipLOCAL_MAC_ADDRESS, 0x22, sizeof( MACAddress_t ) ); in test_eARPProcessPacket_Reply_TargetIPNotSameAsLocalIP_ButEntryInCache()
558 …y( &( xARPFrame.xARPHeader.xSenderHardwareAddress ), ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_eARPProcessPacket_Reply_TargetIPNotSameAsLocalIP_ButEntryInCache()
952 const MACAddress_t xMACAddress = { 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA }; in test_ulARPRemoveCacheEntryByMac_NoMatch()
976 const MACAddress_t xMACAddress = { 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA }; in test_ulARPRemoveCacheEntryByMac_OneMatchingEntry()
1000 MACAddress_t xMACAddress; in test_vARPRefreshCacheEntry_NULLMAC_NoMatchingEntry()
[all …]
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_IP_DiffConfig/
DFreeRTOS_IP_DiffConfig_utest.c409 …EthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAddress_t ) ); in test_prvAllowIPPacket_BroadcastSourceIP()
440 …EthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAddress_t ) ); in test_prvAllowIPPacket_IncorrectSizeFields()
476 …EthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAddress_t ) ); in test_prvAllowIPPacket_UDPCheckSumZero()
513 …EthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAddress_t ) ); in test_prvAllowIPPacket_UDP_HappyPath()
556 …EthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAddress_t ) ); in test_prvAllowIPPacket_TCP_HappyPath()
590 …EthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAddress_t ) ); in test_prvProcessIPPacket_()
621 …EthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAddress_t ) ); in test_xCheckSizeFields_BufferLengthLess()
657 …EthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAddress_t ) ); in test_xCheckSizeFields_HeaderLengthLess()
689 …EthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAddress_t ) ); in test_xCheckSizeFields_HeaderLengthMore()
721 …EthernetHeader.xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAddress_t ) ); in test_xCheckSizeFields_HeaderLengthMoreThanTotalLength()
[all …]
DFreeRTOS_IP_DiffConfig_stubs.c48 const MACAddress_t xLLMNR_MacAdress = { { 0x01, 0x00, 0x5e, 0x00, 0x00, 0xfc } };
/FreeRTOS-Plus-TCP-v3.1.0/test/cbmc/proofs/UDP/vProcessGeneratedUDPPacket/
DvProcessGeneratedUDPPacket_harness.c52 void vARPRefreshCacheEntry( const MACAddress_t * pxMACAddress, in vARPRefreshCacheEntry()
68 MACAddress_t * const pxMACAddress ) in eARPGetCacheEntry()
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_TCP_WIN/
DFreeRTOS_TCP_WIN_stubs.c48 MACAddress_t xARPClashMacAddress;
54 const MACAddress_t xBroadcastMACAddress = { { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff } };
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_Tiny_TCP/
DFreeRTOS_Tiny_TCP_stubs.c48 MACAddress_t xARPClashMacAddress;
54 const MACAddress_t xBroadcastMACAddress = { { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff } };
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_DHCP/
DFreeRTOS_DHCP_stubs.c48 MACAddress_t xARPClashMacAddress;
54 const MACAddress_t xBroadcastMACAddress = { { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff } };
DFreeRTOS_DHCP_utest.c1509 MACAddress_t xBackup; in test_vDHCPProcess_eWaitingOfferRecvfromSuccess_CorrectAddrLen_LocalMACNotmatching()
1524 memcpy( &xBackup, ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_vDHCPProcess_eWaitingOfferRecvfromSuccess_CorrectAddrLen_LocalMACNotmatching()
1526 memset( ipLOCAL_MAC_ADDRESS, 0xAA, sizeof( MACAddress_t ) ); in test_vDHCPProcess_eWaitingOfferRecvfromSuccess_CorrectAddrLen_LocalMACNotmatching()
1539 memcpy( ipLOCAL_MAC_ADDRESS, &xBackup, sizeof( MACAddress_t ) ); in test_vDHCPProcess_eWaitingOfferRecvfromSuccess_CorrectAddrLen_LocalMACNotmatching()
1556 memcpy( pxDHCPMessage->ucClientHardwareAddress, ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_vDHCPProcess_eWaitingOfferCorrectDHCPMessageWithoutOptionsNoTimeout()
1606 memcpy( pxDHCPMessage->ucClientHardwareAddress, ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_vDHCPProcess_eWaitingOfferCorrectDHCPMessageIncorrectOptionsNoTimeout()
1664 memcpy( pxDHCPMessage->ucClientHardwareAddress, ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_vDHCPProcess_eWaitingOfferCorrectDHCPMessageMissingLengthByteNoTimeout()
1723 memcpy( pxDHCPMessage->ucClientHardwareAddress, ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_vDHCPProcess_eWaitingOfferCorrectDHCPMessageIncorrectLengthByteNoTimeout()
1784 memcpy( pxDHCPMessage->ucClientHardwareAddress, ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_vDHCPProcess_eWaitingOfferCorrectDHCPMessageGetNACKNoTimeout()
1847 memcpy( pxDHCPMessage->ucClientHardwareAddress, ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_vDHCPProcess_eWaitingOfferCorrectDHCPMessageGetACKNoTimeout()
[all …]
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_IP/
DFreeRTOS_IP_utest.c1433 memset( ipLOCAL_MAC_ADDRESS, 0xAA, sizeof( MACAddress_t ) ); in test_eConsiderFrameForProcessing_NoMatch()
1450 memset( ipLOCAL_MAC_ADDRESS, 0xAA, sizeof( MACAddress_t ) ); in test_eConsiderFrameForProcessing_LocalMACMatch()
1452 …mcpy( pxEthernetHeader->xDestinationAddress.ucBytes, ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_eConsiderFrameForProcessing_LocalMACMatch()
1470 memset( ipLOCAL_MAC_ADDRESS, 0xAA, sizeof( MACAddress_t ) ); in test_eConsiderFrameForProcessing_LocalMACMatch1()
1472 …mcpy( pxEthernetHeader->xDestinationAddress.ucBytes, ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_eConsiderFrameForProcessing_LocalMACMatch1()
1490 memset( ipLOCAL_MAC_ADDRESS, 0xAA, sizeof( MACAddress_t ) ); in test_eConsiderFrameForProcessing_LocalMACMatch2()
1492 …mcpy( pxEthernetHeader->xDestinationAddress.ucBytes, ipLOCAL_MAC_ADDRESS, sizeof( MACAddress_t ) ); in test_eConsiderFrameForProcessing_LocalMACMatch2()
1510 memset( ipLOCAL_MAC_ADDRESS, 0xAA, sizeof( MACAddress_t ) ); in test_eConsiderFrameForProcessing_BroadCastMACMatch()
1512 …thernetHeader->xDestinationAddress.ucBytes, xBroadcastMACAddress.ucBytes, sizeof( MACAddress_t ) ); in test_eConsiderFrameForProcessing_BroadCastMACMatch()
1530 memset( ipLOCAL_MAC_ADDRESS, 0xAA, sizeof( MACAddress_t ) ); in test_eConsiderFrameForProcessing_LLMNR_MACMatch()
[all …]
DFreeRTOS_IP_stubs.c48 const MACAddress_t xLLMNR_MacAdress = { { 0x01, 0x00, 0x5e, 0x00, 0x00, 0xfc } };
/FreeRTOS-Plus-TCP-v3.1.0/test/cbmc/proofs/ARP/ulARPRemoveCacheEntryByMac/
DulARPRemoveCacheEntryByMac_harness.c15 const MACAddress_t xMACAddress; in harness()
/FreeRTOS-Plus-TCP-v3.1.0/test/cbmc/proofs/ARP/ARPGetCacheEntryByMac/
DARPGetCacheEntryByMac_harness.c12 MACAddress_t xMACAddress; in harness()
/FreeRTOS-Plus-TCP-v3.1.0/test/cbmc/proofs/ARP/ARPGetCacheEntry/
DARPGetCacheEntry_harness.c14 MACAddress_t xMACAddress; in harness()
/FreeRTOS-Plus-TCP-v3.1.0/test/cbmc/proofs/ARP/ARPRefreshCacheEntry/
DARPRefreshCacheEntry_harness.c11 MACAddress_t xMACAddress; in harness()
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_ICMP/
DFreeRTOS_ICMP_stubs.c48 const MACAddress_t xLLMNR_MacAdress = { { 0x01, 0x00, 0x5e, 0x00, 0x00, 0xfc } };
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_ICMP_wo_assert/
DFreeRTOS_ICMP_wo_assert_stubs.c48 const MACAddress_t xLLMNR_MacAdress = { { 0x01, 0x00, 0x5e, 0x00, 0x00, 0xfc } };
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_IP_Utils/
DFreeRTOS_IP_Utils_stubs.c48 const MACAddress_t xLLMNR_MacAdress = { { 0x01, 0x00, 0x5e, 0x00, 0x00, 0xfc } };
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_IP_Utils_DiffConfig/
DFreeRTOS_IP_Utils_DiffConfig_stubs.c48 const MACAddress_t xLLMNR_MacAdress = { { 0x01, 0x00, 0x5e, 0x00, 0x00, 0xfc } };
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_IP_Timers/
DFreeRTOS_IP_Timers_stubs.c52 const MACAddress_t xLLMNR_MacAdress = { { 0x01, 0x00, 0x5e, 0x00, 0x00, 0xfc } };
/FreeRTOS-Plus-TCP-v3.1.0/test/cbmc/proofs/prvProcessEthernetPacket/
DprvProcessEthernetPacket_harness.c31 void vARPRefreshCacheEntry( const MACAddress_t * pxMACAddress, in vARPRefreshCacheEntry()

12