diff options
author | Brian Haley <brian.haley@hp.com> | 2009-09-09 14:41:32 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-11 12:54:58 -0700 |
commit | cc411d0bae9c19ec85a150aeab4b08335f5751d1 (patch) | |
tree | c42430cdb955c158d69fd9fef053c01130f8eb07 /include/linux/if_addr.h | |
parent | 384912ed194e43c03ad1cdaa09b0b1e488c34d46 (diff) | |
download | op-kernel-dev-cc411d0bae9c19ec85a150aeab4b08335f5751d1.zip op-kernel-dev-cc411d0bae9c19ec85a150aeab4b08335f5751d1.tar.gz |
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>
Diffstat (limited to 'include/linux/if_addr.h')
-rw-r--r-- | include/linux/if_addr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_addr.h b/include/linux/if_addr.h index a60c821..fd97404 100644 --- a/include/linux/if_addr.h +++ b/include/linux/if_addr.h @@ -41,6 +41,7 @@ enum #define IFA_F_NODAD 0x02 #define IFA_F_OPTIMISTIC 0x04 +#define IFA_F_DADFAILED 0x08 #define IFA_F_HOMEADDRESS 0x10 #define IFA_F_DEPRECATED 0x20 #define IFA_F_TENTATIVE 0x40 |