summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-26 12:37:41 +0100
committerMaria Matejka <mq@ucw.cz>2022-05-04 15:37:41 +0200
commit22f95d9889f07d868ffaec40ab43fd8dd9b0bb31 (patch)
tree7e754d3f92a001ec05439364610f8b7a3cadcaf2 /nest/route.h
parente261b325113a63410bc30287c135bf162480c3b2 (diff)
Special attribute types for enums
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nest/route.h b/nest/route.h
index 7557bf93..d2f60f41 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -540,6 +540,9 @@ const char *ea_custom_name(uint ea);
#define EAF_TYPE_EC_SET 0x0e /* Set of pairs of u32's - ext. community list */
#define EAF_TYPE_LC_SET 0x08 /* Set of triplets of u32's - large community list */
#define EAF_TYPE_IFACE 0x0c /* Interface pointer stored in adata */
+#define EAF_TYPE_BGP_ORIGIN 0x11 /* BGP Origin enum */
+#define EAF_TYPE_RA_PREFERENCE 0x13 /* RA Preference enum */
+
#define EAF_EMBEDDED 0x01 /* Data stored in eattr.u.data (part of type spec) */
/* Otherwise, attribute data is adata */