diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-03-30 13:44:03 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-03-30 14:29:40 +0300 |
commit | 8cb40c91cdfb00ddf04e88d3ecd40403890d90f7 (patch) | |
tree | 6d6a3de27525820abb740f1fa8347b6f03986bad /ospfd/ospfd.h | |
parent | 86c5d2ee68f7b9c00ae4aeb5c8b3c5d82c5ebffc (diff) | |
download | quagga-cumulus-take-3.tar.bz2 quagga-cumulus-take-3.tar.xz |
cumulus take-3cumulus-take-3
Diffstat (limited to 'ospfd/ospfd.h')
-rw-r--r-- | ospfd/ospfd.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h index 098fc5f4..c5f7fa14 100644 --- a/ospfd/ospfd.h +++ b/ospfd/ospfd.h @@ -214,6 +214,8 @@ struct ospf struct thread *t_deferred_shutdown; /* deferred/stub-router shutdown timer*/ struct thread *t_write; +#define OSPF_WRITE_INTERFACE_COUNT_DEFAULT 20 + int write_oi_count; /* Num of packets sent per thread invocation */ struct thread *t_read; int fd; unsigned int maxsndbuflen; @@ -237,6 +239,9 @@ struct ospf -1 means metric value is not set. */ } dmetric [ZEBRA_ROUTE_MAX + 1]; + /* Redistribute tag info. */ + u_short dtag [ZEBRA_ROUTE_MAX + 1]; + /* For redistribute route map. */ struct { @@ -299,10 +304,6 @@ struct ospf_area /* Configured variables. */ int external_routing; /* ExternalRoutingCapability. */ -#define OSPF_AREA_DEFAULT 0 -#define OSPF_AREA_STUB 1 -#define OSPF_AREA_NSSA 2 -#define OSPF_AREA_TYPE_MAX 3 int no_summary; /* Don't inject summaries into stub.*/ int shortcut_configured; /* Area configured as shortcut. */ #define OSPF_SHORTCUT_DEFAULT 0 |