summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorPavel Tvrdík <pawel.tvrdik@gmail.com>2016-01-20 15:06:19 +0100
committerPavel Tvrdík <pawel.tvrdik@gmail.com>2016-01-20 16:46:58 +0100
commitcb1bd816db5b69acb8c6f72211d13f987a494304 (patch)
tree84f967f87df4d1f8415bdf966b86dc7b2462a787 /nest/route.h
parent513ad0a85e57e4e0f7928fde7332778ca1c2148f (diff)
Add ROA_* constants values to grammar of configuration
Add ROA_UNKNOWN, ROA_VALID and ROA_INVALID
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nest/route.h b/nest/route.h
index 3a8788a7..c6e9cb41 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -563,6 +563,10 @@ extern struct protocol *attr_class_to_protocol[EAP_MAX];
#define DEF_PREF_PIPE 70 /* Routes piped from other tables */
#define DEF_PREF_INHERITED 10 /* Routes inherited from other routing daemons */
+#define ROA_UNKNOWN 0
+#define ROA_VALID 1
+#define ROA_INVALID 2
+
#if 0
/*
@@ -617,10 +621,6 @@ struct roa_show_data {
u32 asn; /* Filter ASN, 0 -> all */
};
-#define ROA_UNKNOWN 0
-#define ROA_VALID 1
-#define ROA_INVALID 2
-
#define ROA_SRC_ANY 0
#define ROA_SRC_CONFIG 1
#define ROA_SRC_DYNAMIC 2