netdev
[Top] [All Lists]

Re: CONFIG_NET_FASTROUTE in 8390

To: Pragati Dhingra <pragatidhingra@xxxxxxxxx>
Subject: Re: CONFIG_NET_FASTROUTE in 8390
From: Abhijit Menon-Sen <ams@xxxxxxx>
Date: Thu, 17 Jun 2004 20:49:24 +0530
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20040617141626.60307.qmail@web90108.mail.scd.yahoo.com>
References: <20040617141626.60307.qmail@web90108.mail.scd.yahoo.com>
Sender: netdev-bounce@xxxxxxxxxxx
At 2004-06-17 07:16:26 -0700, pragatidhingra@xxxxxxxxx wrote:
>
> struct rtable does not have a member named key and I could not locate
> a #define which would define "key". 

In 2.4 kernels, rtable does have a "struct rt_key" member named key, and
the code you're reading (I couldn't find the e8390_fast_route function)
is probably for 2.4.

In 2.6 kernel, the rt_key has been replaced by a "struct flowi *".
(See include/net/route.h and ip_route_output_key.)

-- ams

<Prev in Thread] Current Thread [Next in Thread>