Lines Matching refs:xARPCache

116 _static ARPCacheRow_t xARPCache[ ipconfigARP_CACHE_ENTRIES ];  variable
494 if( xARPCache[ x ].ulIPAddress == ulAddressToLookup ) in xIsIPInARPCache()
499 if( xARPCache[ x ].ucValid == ( uint8_t ) pdFALSE ) in xIsIPInARPCache()
633 …if( ( memcmp( xARPCache[ x ].xMACAddress.ucBytes, pxMACAddress->ucBytes, sizeof( pxMACAddress->ucB… in ulARPRemoveCacheEntryByMac()
635 lResult = xARPCache[ x ].ulIPAddress; in ulARPRemoveCacheEntryByMac()
636 ( void ) memset( &xARPCache[ x ], 0, sizeof( xARPCache[ x ] ) ); in ulARPRemoveCacheEntryByMac()
666 if( xARPCache[ x ].ulIPAddress == ulIPAddress ) in vARPRefreshCacheEntryAge()
669 …if( memcmp( xARPCache[ x ].xMACAddress.ucBytes, pxMACAddress->ucBytes, sizeof( pxMACAddress->ucByt… in vARPRefreshCacheEntryAge()
672 xARPCache[ x ].ucAge = ( uint8_t ) ipconfigMAX_ARP_AGE; in vARPRefreshCacheEntryAge()
728 … ( void ) memset( &( xARPCache[ xLocation.xIpEntry ] ), 0, sizeof( ARPCacheRow_t ) ); in vARPRefreshCacheEntry()
742 xARPCache[ xLocation.xUseEntry ].ulIPAddress = ulIPAddress; in vARPRefreshCacheEntry()
746 …( void ) memcpy( xARPCache[ xLocation.xUseEntry ].xMACAddress.ucBytes, pxMACAddress->ucBytes, size… in vARPRefreshCacheEntry()
750 xARPCache[ xLocation.xUseEntry ].ucAge = ( uint8_t ) ipconfigMAX_ARP_AGE; in vARPRefreshCacheEntry()
751 xARPCache[ xLocation.xUseEntry ].ucValid = ( uint8_t ) pdTRUE; in vARPRefreshCacheEntry()
752 xARPCache[ xLocation.xUseEntry ].pxEndPoint = pxEndPoint; in vARPRefreshCacheEntry()
756xARPCache[ xLocation.xUseEntry ].ucAge = ( uint8_t ) ipconfigMAX_ARP_RETRANSMISSIONS; in vARPRefreshCacheEntry()
757 xARPCache[ xLocation.xUseEntry ].ucValid = ( uint8_t ) pdFALSE; in vARPRefreshCacheEntry()
803 …if( memcmp( xARPCache[ x ].xMACAddress.ucBytes, pxMACAddress->ucBytes, sizeof( pxMACAddress->ucByt… in prvFindCacheEntry()
811 if( xARPCache[ x ].ulIPAddress == ulIPAddress ) in prvFindCacheEntry()
827 xARPCache[ x ].ucAge = ( uint8_t ) ipconfigMAX_ARP_AGE; in prvFindCacheEntry()
828 xARPCache[ x ].ucValid = ( uint8_t ) pdTRUE; in prvFindCacheEntry()
829 xARPCache[ x ].pxEndPoint = pxEndPoint; in prvFindCacheEntry()
852 …BaseType_t xOtherIsLocal = ( FreeRTOS_FindEndPointOnNetMask( xARPCache[ x ].ulIPAddress, 3 ) != NU… in prvFindCacheEntry()
868 else if( xARPCache[ x ].ucAge < ucMinAgeFound ) in prvFindCacheEntry()
874 ucMinAgeFound = xARPCache[ x ].ucAge; in prvFindCacheEntry()
917 …if( memcmp( pxMACAddress->ucBytes, xARPCache[ x ].xMACAddress.ucBytes, sizeof( MACAddress_t ) ) ==… in eARPGetCacheEntryByMac()
919 *pulIPAddress = xARPCache[ x ].ulIPAddress; in eARPGetCacheEntryByMac()
922 ( xARPCache[ x ].pxEndPoint != NULL ) ) in eARPGetCacheEntryByMac()
924 *( ppxInterface ) = xARPCache[ x ].pxEndPoint->pxNetworkInterface; in eARPGetCacheEntryByMac()
1129 if( xARPCache[ x ].ulIPAddress == ulAddressToLookup ) in prvCacheLookup()
1132 if( xARPCache[ x ].ucValid == ( uint8_t ) pdFALSE ) in prvCacheLookup()
1140 …( void ) memcpy( pxMACAddress->ucBytes, xARPCache[ x ].xMACAddress.ucBytes, sizeof( MACAddress_t )… in prvCacheLookup()
1142 *( ppxEndPoint ) = xARPCache[ x ].pxEndPoint; in prvCacheLookup()
1173 if( xARPCache[ x ].ucAge > 0U ) in vARPAgeCache()
1177 ( xARPCache[ x ].ucAge )--; in vARPAgeCache()
1181 if( xARPCache[ x ].ucValid == ( uint8_t ) pdFALSE ) in vARPAgeCache()
1183 FreeRTOS_OutputARPRequest( xARPCache[ x ].ulIPAddress ); in vARPAgeCache()
1185 else if( xARPCache[ x ].ucAge <= ( uint8_t ) arpMAX_ARP_AGE_BEFORE_NEW_ARP_REQUEST ) in vARPAgeCache()
1189 iptraceARP_TABLE_ENTRY_WILL_EXPIRE( xARPCache[ x ].ulIPAddress ); in vARPAgeCache()
1190 FreeRTOS_OutputARPRequest( xARPCache[ x ].ulIPAddress ); in vARPAgeCache()
1197 if( xARPCache[ x ].ucAge == 0U ) in vARPAgeCache()
1200 iptraceARP_TABLE_ENTRY_EXPIRED( xARPCache[ x ].ulIPAddress ); in vARPAgeCache()
1201 xARPCache[ x ].ulIPAddress = 0U; in vARPAgeCache()
1501 if( xARPCache[ x ].pxEndPoint == pxEndPoint ) in FreeRTOS_ClearARP()
1503 ( void ) memset( &( xARPCache[ x ] ), 0, sizeof( ARPCacheRow_t ) ); in FreeRTOS_ClearARP()
1509 ( void ) memset( xARPCache, 0, sizeof( xARPCache ) ); in FreeRTOS_ClearARP()
1602 if( ( xARPCache[ x ].ulIPAddress != 0U ) && ( xARPCache[ x ].ucAge > ( uint8_t ) 0U ) ) in FreeRTOS_PrintARPCache()
1607 xARPCache[ x ].ucAge, in FreeRTOS_PrintARPCache()
1608 ( unsigned ) FreeRTOS_ntohl( xARPCache[ x ].ulIPAddress ), in FreeRTOS_PrintARPCache()
1609 xARPCache[ x ].xMACAddress.ucBytes[ 0 ], in FreeRTOS_PrintARPCache()
1610 xARPCache[ x ].xMACAddress.ucBytes[ 1 ], in FreeRTOS_PrintARPCache()
1611 xARPCache[ x ].xMACAddress.ucBytes[ 2 ], in FreeRTOS_PrintARPCache()
1612 xARPCache[ x ].xMACAddress.ucBytes[ 3 ], in FreeRTOS_PrintARPCache()
1613 xARPCache[ x ].xMACAddress.ucBytes[ 4 ], in FreeRTOS_PrintARPCache()
1614 xARPCache[ x ].xMACAddress.ucBytes[ 5 ] ) ); in FreeRTOS_PrintARPCache()