summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/ospfe.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2007-05-29 22:08:26 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2007-05-29 22:08:26 +0000
commite9c1bd19fc1d465ccab245e1368e92d44b983bdc (patch)
treea9302a94e921f736d1fe875b0eeb4cc86954ef70 /usr.sbin/ospfd/ospfe.h
parent63cae2374b352a5452a0c84095c31908e2173452 (diff)
Demote support for ospfd. It is possible to specify a demote group on
interfaces and areas. With this carp setups using ospfd are more reliable because we can fail over if the OSPF connectivity is (partially) lost. OK norby@
Diffstat (limited to 'usr.sbin/ospfd/ospfe.h')
-rw-r--r--usr.sbin/ospfd/ospfe.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/ospfe.h b/usr.sbin/ospfd/ospfe.h
index fa27628090c..e828fe6465d 100644
--- a/usr.sbin/ospfd/ospfe.h
+++ b/usr.sbin/ospfd/ospfe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.h,v 1.35 2007/03/21 10:54:30 claudio Exp $ */
+/* $OpenBSD: ospfe.h,v 1.36 2007/05/29 22:08:25 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -130,6 +130,8 @@ void ospfe_iface_ctl(struct ctl_conn *, unsigned int);
void ospfe_nbr_ctl(struct ctl_conn *);
void orig_rtr_lsa(struct area *);
void orig_net_lsa(struct iface *);
+void ospfe_demote_area(struct area *, int);
+void ospfe_demote_iface(struct iface *, int);
/* interface.c */
int if_fsm(struct iface *, enum iface_event);