summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorHideaki Yoshifuji <yoshfuji@linux-ipv6.org>2004-09-14 09:50:56 +0900
committerHideaki Yoshifuji <yoshfuji@linux-ipv6.org>2004-09-14 09:50:56 +0900
commitc68b4bcc96330a9bc2f74bf3e245a27346452f20 (patch)
tree7ca2194cfaac956c03ab0f5e189ec6ffce94eafc /include/net
parent089fcdeeb50831fc9663b0de689b1a1e6573e666 (diff)
[IPV6] NDISC: suspect REACHABLE entry if new lladdr is different.
When we receive NA without Override flag, if it comes with different lladdr from one in our REACHABLE entry, set the state to STALE. (RFC2461 7.2.5) Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/neighbour.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/neighbour.h b/include/net/neighbour.h
index 030497aeb254..4df5b255181e 100644
--- a/include/net/neighbour.h
+++ b/include/net/neighbour.h
@@ -181,6 +181,7 @@ struct neigh_table
/* flags for neigh_update() */
#define NEIGH_UPDATE_F_OVERRIDE 0x00000001
+#define NEIGH_UPDATE_F_SUSPECT_CONNECTED 0x00000002
#define NEIGH_UPDATE_F_ADMIN 0x80000000
extern void neigh_table_init(struct neigh_table *tbl);