From 0f32f2a65a086561fdfd31d4efdea839ec9ce573 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 1 Jun 2000 12:58:04 +0000 Subject: 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. --- nest/iface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'nest/iface.h') diff --git a/nest/iface.h b/nest/iface.h index 94c0945..310f01e 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 -- cgit v1.2.3