[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <77e1146f0703140248ua2e3a4dn660de5f2b5f500d1@mail.gmail.com>
Date: Wed, 14 Mar 2007 15:18:26 +0530
From: "sujay g" <mail.sujayg@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/18] Make common x86 arch area for i386 and x86_64 - Take 2
Hi,
I am newbie developing a routing application which
needs three features;
1. if the fib lookup fails, my application needs to know about using
preferably
netlink, -- any direction to some sample code or files in the kernel???
2. I need a counter recording the hits a fib entry is chosen for
packet forwarding. Is it the function fn_trie_lookup in file
/net/ipv4/fib_trie.c i need to modify and look into?
-- ?? and therefore is it safe to add a int counter in fib_node w/o
breaking the build??
2. need to read the entire fib, i.e dump the fib to the user space,
-- again any direction to some sample code etc..
i have seen a fn in /source/net/ipv4/fib_frontend.c , which looks like
is supposed to dump the routes but not sure how to use it..
line no.581 int inet_dump_fib(struct sk_buff *skb, struct
netlink_callback *cb)
Also;
fn_trie_dump() in /net/ipv4/fib_trie.c
This could be an inappropriate list for the above questions, if it is
request for
some direction on the appropriate mailing list
Appreciate any help.
Thanking you,
Sujay
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists