| To: | rddunlap@xxxxxxxx |
|---|---|
| Subject: | Re: netlink tester program |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Fri, 30 May 2003 23:42:11 -0700 (PDT) |
| Cc: | linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <32804.4.64.196.31.1054351332.squirrel@www.osdl.org> |
| References: | <20030530090015.7c435c9a.rddunlap@osdl.org> <20030530.171111.71099698.davem@redhat.com> <32804.4.64.196.31.1054351332.squirrel@www.osdl.org> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
From: "Randy.Dunlap" <rddunlap@xxxxxxxx> Date: Fri, 30 May 2003 20:22:12 -0700 (PDT) Oh well, it's at this URL, bugs and all. http://www.xenotime.net/linux/ipv6/rtnl_test.c I know you don't want to use libnetlink from iproute2, but I want to stress that it takes care of all of the minutae of netlink socket usage that you have to duplicate in your little test program and this duplication leads to bugs. Firstly, you needs to be fixed to call recvmsg() multiple times, you'll get one entry for each recvmsg call in the table you are querying. You really need something like rtnl_talk() or rtnl_dump_filter() from libnetlink to do this properly. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Prefix List patch against 2.5.70, David S. Miller |
|---|---|
| Next by Date: | Re: netlink tester program, Andi Kleen |
| Previous by Thread: | Re: netlink tester program, Randy.Dunlap |
| Next by Thread: | Re: netlink tester program, Andi Kleen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |