doubt in netlink sockets
In reference to
http://www.ussg.iu.edu/hypermail/linux/kernel/0301.0/1341.html
http://qos.ittc.ukans.edu/netlink/html/netlink.html
You did not set the needed rtm_dst_len field. See the section 3.1.1 in http://www.faqs.org/rfcs/rfc3549.html
Thanks,
Prasanna.