(usagi-users 03491) Re: IPV6 Multipath in AODV
YongHan Lee <[email protected]>
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Message-ID | <[email protected]> |
--- [email protected] wrote: > On Wed, 14 Sep 2005 02:52:03 PDT, YongHan Lee said: > > > To achieve my goal I would like to find a way to > pick > > a desired route entry from several route entries > to > > one and same destination (but each route entry has > > different next hop). The criteria to pick a route > > entry is not destination address and not > > pick-top-entry anymore, but destination address > and > > next hop address. > > So you're picking a route entry, the purpose of > which is to tell you the > next hop - and one of the criteria is the next hop? > Something just a bit > wrong there. ;) No, the purpose of the kernel module is to get the right route entry with required destination and next hop address which were evaluated at user space. > You'd be better off basing the choice on QoS bits or > similar. > Maybe my explanation was not exact enough...here I try again^^! In Kernel 2.6.8 the criteria to pick a route entry from several with same destination is destination address, source address (source address is here not important) and the Kernel picks always the first match. But I want to have a route entry which matches with destination, source and next hop address (it may be the last entry from all with same destination). Which next hop address is given from the user space. To do the matching in my kernel module, it needs all route entries from the kernel routing table. And this is my problem: My kernel module cannot retrieve the route entries from the kernel routing table __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com