diff options
author | Martin Mares <mj@ucw.cz> | 2000-06-01 12:58:04 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-06-01 12:58:04 +0000 |
commit | 0f32f2a65a086561fdfd31d4efdea839ec9ce573 (patch) | |
tree | 9c92f46776f440fca0aa764c4eeefa07c47e0bad /nest/iface.h | |
parent | 56ca7acd3afd0df7928b3adfe4a8db8b29b89fb2 (diff) |
Modified the neighbor cache to remember local addresses as well.
neighbor->scope now contains proper address scope which is zero (SCOPE_HOST)
for local addresses, higher (SCOPE_LINK, ..., SCOPE_UNIVERSE) for remote ones.
Diffstat (limited to 'nest/iface.h')
-rw-r--r-- | nest/iface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/iface.h b/nest/iface.h index 94c0945b..310f01ed 100644 --- a/nest/iface.h +++ b/nest/iface.h @@ -102,6 +102,7 @@ typedef struct neighbor { void *data; /* Protocol-specific data */ unsigned aux; /* Protocol-specific data */ unsigned flags; + unsigned scope; /* Address scope, SCOPE_HOST when it's our own address */ } neighbor; #define NEF_STICKY 1 |