(E-Mail Removed) (Peter Hernberg) wrote in message news:<(E-Mail Removed). com>...
> I'm implementing the AODV routing protocol (RFC 3561) on Linux. One of
> the protocol's salient features is being "on demand": rather than
> receiving (and transmitting) regular updates on the topology of the
> network, it waits until it needs a route to a given host (or network).
> With AODV routing, in the following simple network
>
> Host A <----> Host B <----> Host C,
>
> it may be that A is unaware of its route to C. If A has a packet
> destined for C, it buffers that packet and broadcasts a request for a
> route to C.
>
> Is there an interface whereby the kernel can be told "when you have a
> packet, but lack a route to its destination, pass a message to this
> daemon requesting a route and buffer that packet until the daemon is
> done searching for route"? Any info would be appreciated.
After reading the rfc and a quick Google search -- do that with
"interesting" posts -- it seems that you'll need to use (or write) a
kernel module to load the appropriate code.
Others have been working on this for 2+ years -- why don't you have a
look at their code or even use it. That way you wouldn't have to
maintain it yourself but contribute to the common pool.
http://moment.cs.ucsb.edu/aodv-ietf/faq.html
http://www.antd.nist.gov/wctg/aodv_kernel/
seemed promising from the first page of Googling "aodv linux"
And keep in mind that this is still an _experimental_ rfc propopsal.
hth,
prg
email above disabled