Linux ARP and IP stack internals question

From: Patrick Klos (pklos_at_osmium.mv.net)
Date: 09/28/05


Date: Wed, 28 Sep 2005 00:01:22 +0000 (UTC)

I hope I'm not asking the obvious, but from looking through the Linux
kernel source code, I couldn't readily find the answer.

I know some IP stacks will queue an IP packet while it sends out an
ARP request and awaits the response.

I also know that some IP stacks will basically reuse the outgoing IP
packet buffer (skb?) to send out the ARP request, implying that the original
IP packet is tossed (on the premise that an upper level protocol will
resend/retry if the packet is important).

Can anyone confirm which mechanism the Linux IP stack employs? One way
or the other, I need to confirm what happens to an IP packet when the
target IP address is NOT in the ARP cache?

Thanks for looking!

Patrick
================= GPS based time synchronization solutions =================
    Patrick Klos Email: patrick@timegeeks.com
    Klos Technologies, Inc. Web: http://www.timegeeks.com/
==================== http://www.loving-long-island.com/ ====================



Relevant Pages

  • Linux ARP and IP stack internals question
    ... I hope I'm not asking the obvious, but from looking through the Linux ... ARP request and awaits the response. ... I also know that some IP stacks will basically reuse the outgoing IP ... packet buffer to send out the ARP request, ...
    (comp.os.linux.networking)
  • Re: Linux ARP and IP stack internals question
    ... Patrick Klos wrote: ... > I hope I'm not asking the obvious, but from looking through the Linux ... > ARP request and awaits the response. ... to packet so i would like to say that it does not queue but stops ...
    (comp.os.linux.networking)
  • Re: Linux ARP and IP stack internals question
    ... Patrick Klos wrote: ... > I hope I'm not asking the obvious, but from looking through the Linux ... > ARP request and awaits the response. ... to packet so i would like to say that it does not queue but stops ...
    (comp.os.linux.development.system)
  • Re: Linux 2.6.9 pktgen module causes INIT process respawning and sickness
    ... > I can sustain full line rate gigabit on two adapters at the tsame time ... > current DMA architectures on 400 Mhz buses with Linux. ... > overhead of serializing writes to the adapter ring buffer IO ... overhead than a simple packet generator or pktgen. ...
    (Linux-Kernel)
  • Re: TCP/IP stack performance
    ... > I am interested in knowing IP forwarding performance when a Linux ... especially when MIPs isn't a very scientific measure. ... drivers seem to swamp the system at a certain packet rate, ... this corresponds to 6329 instructions per 64 byte packet. ...
    (comp.os.linux)