| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | CONFIG_NET_FASTROUTE in 8390 |
| From: | Pragati Dhingra <pragatidhingra@xxxxxxxxx> |
| Date: | Thu, 17 Jun 2004 07:16:26 -0700 (PDT) |
| Sender: | netdev-bounce@xxxxxxxxxxx |
|
Hi,
I was browsing through the fast routing code for 8390 (the link to which I got from kernel configuration help file)
In e8390_fast_route function,
struct rtable *rt;
and for indriver lookup,
if (rt == NULL ||
((u16*)&iph->daddr)[0] != ((u16*)&rt->key.dst)[0] || ((u16*)&iph->daddr)[1] != ((u16*)&rt->key.dst)[1] || ((u16*)&iph->saddr)[0] != ((u16*)&rt->key.src)[0] || ((u16*)&iph->saddr)[1] != ((u16*)&rt->key.src)[1] || rt->u.dst.obsolete) struct rtable does not have a member named key and I could not locate a #define which would define "key".
Can you pls tell me what is key refering to and how? (ofcourse it needs to refer to destination address in route table entry, but how is what is really puzzling me)
Thanks and regards,
Pragati
Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: ip6_tables warning, YOSHIFUJI Hideaki / 吉藤英明 |
|---|---|
| Next by Date: | Re: CONFIG_NET_FASTROUTE in 8390, Abhijit Menon-Sen |
| Previous by Thread: | ip6_tables warning (was: Re: Linux 2.4.27-pre6), Geert Uytterhoeven |
| Next by Thread: | Re: CONFIG_NET_FASTROUTE in 8390, Abhijit Menon-Sen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |