summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-04-13 12:32:27 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2011-04-13 12:32:27 +0200
commit71ca77169d5d3e67459e46841b8bdb95accd8c2a (patch)
tree7d357b53c645b77957eddef4cd24979bf0418051 /nest
parent4aef102be1e29d3450e53a20a6b2f96d50527139 (diff)
downloadbird-71ca77169d5d3e67459e46841b8bdb95accd8c2a.tar
bird-71ca77169d5d3e67459e46841b8bdb95accd8c2a.zip
Adds support for several Linux kernel route attributes.
Diffstat (limited to 'nest')
-rw-r--r--nest/route.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/route.h b/nest/route.h
index 8f9dff9..236882e 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -344,7 +344,8 @@ typedef struct eattr {
#define EAP_BGP 1 /* BGP attributes */
#define EAP_RIP 2 /* RIP */
#define EAP_OSPF 3 /* OSPF */
-#define EAP_MAX 4
+#define EAP_KRT 4 /* Kernel route attributes */
+#define EAP_MAX 5
#define EA_CODE(proto,id) (((proto) << 8) | (id))
#define EA_PROTO(ea) ((ea) >> 8)