From: "Randy.Dunlap" <rddunlap@osdl.org> 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. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html