summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-08-02 13:11:53 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2010-08-02 13:11:53 +0200
commitba5e5940aa1f11128c76a3964823bda22e47ab04 (patch)
tree7bd7dc426fb1d3ee2b940d981159fdf9780883ec /nest/route.h
parentd395fe48553062413a85fd04cda0752f933e70c6 (diff)
Adds igp_metric attribute.
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/route.h b/nest/route.h
index d062e600..a849bf00 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -340,6 +340,8 @@ typedef struct eattr {
#define EA_PROTO(ea) ((ea) >> 8)
#define EA_ID(ea) ((ea) & 0xff)
+#define EA_GEN_IGP_METRIC EA_CODE(EAP_GENERIC, 0)
+
#define EA_CODE_MASK 0xffff
#define EA_ALLOW_UNDEF 0x10000 /* ea_find: allow EAF_TYPE_UNDEF */