summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-06 02:46:00 +0200
committerOndrej Filip <feela@network.cz>2000-06-06 02:46:00 +0200
commitf8f1e1f110c3ff1aec03a9fa918257cf4d29e916 (patch)
tree31252271517e4c457a240b2ba56251574392c33c /proto/ospf/ospf.h
parent7d68e18b414bbdef9a5472006e8674a3d74e5a00 (diff)
downloadbird-f8f1e1f110c3ff1aec03a9fa918257cf4d29e916.tar
bird-f8f1e1f110c3ff1aec03a9fa918257cf4d29e916.zip
Interface locks added.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index 6736fa0..65bb605 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -26,6 +26,7 @@
#include "nest/iface.h"
#include "nest/route.h"
#include "nest/cli.h"
+#include "nest/locks.h"
#include "conf/conf.h"
#include "lib/string.h"
@@ -70,6 +71,7 @@ struct ospf_iface {
struct proto_ospf *proto;
struct iface *iface; /* Nest's iface */
struct ospf_area *oa;
+ struct object_lock *lock;
u32 an; /* Area number */
sock *hello_sk; /* Hello socket */
sock *dr_sk; /* For states DR or BACKUP */