* IPPacket = Pointer to IP packet
*/
{
- IP_ADDRESS Address;
-
TI_DbgPrint(DEBUG_IP, ("Received IPv4 datagram.\n"));
IPPacket->HeaderSize = (((PIPv4_HEADER)IPPacket->Header)->VerIHL & 0x0F) << 2;
/* FIXME: Should we allow packets to be received on the wrong interface? */
/* XXX Find out if this packet is destined for us */
-
- if( AddrLocateADEv4( IPPacket->DstAddr.Address.IPv4Address, &Address ) ) {
- ProcessFragment( IF, IPPacket );
- } else {
- PNEIGHBOR_CACHE_ENTRY NCE;
-
- if((NCE = RouteGetRouteToDestination( &IPPacket->DstAddr ))) {
- IPSendDatagram( IPPacket, NCE, NULL, NULL );
- }
- }
+ ProcessFragment(IF, IPPacket);
#if 0
} else {
/* This packet is not destined for us. If we are a router,