Hi, I’m trying to retrieve DAD(duplicate address detection) notifications in userspace using netlink sockets. The code snippet is – struct sockaddr_nl addr; sock = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE) addr.nl_family = AF_NETLINK; addr.nl_groups = RTMGRP_IPV6_IFADDR; I’m receiving notifications when an ipv6 address added/deleted for an interface. But I’m not receiving any notifications when the address is in tentative state(dadfailed) I think I have to play with members of struct sockaddr_nl by setting proper values to receive notifications properly. Can anyone please tell me what’s wrong in my code . Thanks & Regards Murali Annamneni
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. ---------------------------------------------------------------------------------------------------------------------------------------------------- |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies