summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-30 21:25:32 +0000
committerMartin Mares <mj@ucw.cz>2000-05-30 21:25:32 +0000
commit5919c66e8fdd87ee7e5c5a1e0ce01893e0ce103d (patch)
tree75b628dcafbbfbb58c0689e7fc28649a1c5fa6d2 /proto/ospf/ospf.h
parent2cec475b8fbaa6cb0865ceacd900ffb678818330 (diff)
Route attributes for OSPF.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index 0eaf98bc..63c4fc22 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -353,8 +353,14 @@ static int ospf_rte_better(struct rte *new, struct rte *old);
static int ospf_rte_same(struct rte *new, struct rte *old);
int ospf_import_control(struct proto *p, rte **new, ea_list **attrs,
struct linpool *pool);
+struct ea_list *ospf_make_tmp_attrs(struct rte *rt, struct linpool *pool);
+void ospf_store_tmp_attrs(struct rte *rt, struct ea_list *attrs);
void ospf_rt_notify(struct proto *p, net *n, rte *new, rte *old,ea_list *attrs);
+#define EA_OSPF_METRIC1 EA_CODE(EAP_OSPF, 0)
+#define EA_OSPF_METRIC2 EA_CODE(EAP_OSPF, 1)
+#define EA_OSPF_TAG EA_CODE(EAP_OSPF, 2)
+
#include "proto/ospf/hello.h"
#include "proto/ospf/packet.h"
#include "proto/ospf/iface.h"