ipv6: Add IFA_F_DADFAILED flag
authorBrian Haley <brian.haley@hp.com>
Wed, 9 Sep 2009 14:41:32 +0000 (14:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Sep 2009 19:54:58 +0000 (12:54 -0700)
commitcc411d0bae9c19ec85a150aeab4b08335f5751d1
treec42430cdb955c158d69fd9fef053c01130f8eb07
parent384912ed194e43c03ad1cdaa09b0b1e488c34d46
ipv6: Add IFA_F_DADFAILED flag

Add IFA_F_DADFAILED flag to denote an IPv6 address that has
failed Duplicate Address Detection, that way tools like
/sbin/ip can be more informative.

3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 2001:db8::1/64 scope global tentative dadfailed
       valid_lft forever preferred_lft forever

Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_addr.h
net/ipv6/addrconf.c