- ARP_int_Resolve4(Interface, Address);
- for(;;)
- {
- while(lastID == giARP_LastUpdateID) Threads_Yield();
- lastID = giARP_LastUpdateID;
-
- LOCK( &glARP_Cache4 );
- for( i = 0; i < giARP_Cache4Space; i++ )
- {
- if(gaARP_Cache4[i].IP.L != Address.L) continue;
-
- RELEASE( &glARP_Cache4 );
- return gaARP_Cache4[i].MAC;
- }
- RELEASE( &glARP_Cache4 );
- }
-}
-
-/**
- * \fn int ARP_int_Resolve4(tInterface *Interface, tIPv4 Address)
- * \brief Request the network to resolve an IPv4 Address
- * \return Boolean Success
- */
-int ARP_int_Resolve4(tInterface *Interface, tIPv4 Address)
-{
- struct sArpRequest4 req;