summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/if.h b/lib/if.h
index 2116e12e..13cc254e 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -151,11 +151,16 @@ struct connected
u_char conf;
#define ZEBRA_IFC_REAL (1 << 0)
#define ZEBRA_IFC_CONFIGURED (1 << 1)
+#define ZEBRA_IFC_QUEUED (1 << 2)
/*
The ZEBRA_IFC_REAL flag should be set if and only if this address
- exists in the kernel.
+ exists in the kernel and is actually usable. (A case where it exists but
+ is not yet usable would be IPv6 with DAD)
The ZEBRA_IFC_CONFIGURED flag should be set if and only if this address
was configured by the user from inside quagga.
+ The ZEBRA_IFC_QUEUED flag should be set if and only if the address exists
+ in the kernel. It may and should be set although the address might not be
+ usable yet. (compare with ZEBRA_IFC_REAL)
*/
/* Flags for connected address. */