summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-09-02 10:54:40 +0200
committerOndrej Filip <feela@network.cz>2000-09-02 10:54:40 +0200
commite3bc10fdc49266db827af4e4062e639862037eb6 (patch)
tree0eaa4538e5d028c9bbb49e3a57b0d9444ee7be34 /proto/ospf/ospf.h
parent5ddec4e6cfef8e5867d7440693894517f955e96f (diff)
downloadbird-e3bc10fdc49266db827af4e4062e639862037eb6.tar
bird-e3bc10fdc49266db827af4e4062e639862037eb6.zip
Added stub interface. (Interface which is propagated to OSPF but
it does not sends nor listens packets.) I added some new options, please look at it and look into doc if it's OK.
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 6a7c753..dd63c4c 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -103,6 +103,7 @@ struct ospf_iface {
u32 bdrid;
u8 type; /* OSPF view of type */
u8 strictnbma; /* Can I talk with unknown neighbors? */
+ u8 stub; /* Inactive interface */
#define OSPF_IT_BCAST 0
#define OSPF_IT_NBMA 1
#define OSPF_IT_PTP 2
@@ -390,6 +391,7 @@ struct ospf_iface_patt {
int type;
int autype;
int strictnbma;
+ int stub;
#define AU_NONE 0
#define AU_SIMPLE 1
#define AU_CRYPT 2