]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/libospf.h
zebra: Convert socket interface to use `union sockunion`
[mirror_frr.git] / lib / libospf.h
index a8fbaaf5633763b986905d61058fbdd9f0222423..45aedb6a7de7066758f59421bf3d880c4f87b924 100644 (file)
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with GNU Zebra; see the file COPYING.  If not, write to the Free
- * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; see the file COPYING; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #ifndef _LIBOSPFD_H
@@ -35,7 +34,7 @@
 
 /* Architectual Constants */
 #ifdef DEBUG
-#define OSPF_LS_REFRESH_TIME                    60
+#define OSPF_LS_REFRESH_TIME                   120
 #else
 #define OSPF_LS_REFRESH_TIME                  1800
 #endif
@@ -69,9 +68,9 @@
 #define OSPF_ROUTER_PRIORITY_DEFAULT        1
 #define OSPF_RETRANSMIT_INTERVAL_DEFAULT    5
 #define OSPF_TRANSMIT_DELAY_DEFAULT         1
-#define OSPF_DEFAULT_BANDWIDTH          10000  /* Kbps */
+#define OSPF_DEFAULT_BANDWIDTH          10000  /* Mbps */
 
-#define OSPF_DEFAULT_REF_BANDWIDTH     100000  /* Kbps */
+#define OSPF_DEFAULT_REF_BANDWIDTH     100000  /* Mbps */
 
 #define OSPF_POLL_INTERVAL_DEFAULT         60
 #define OSPF_NEIGHBOR_PRIORITY_DEFAULT      0
@@ -88,9 +87,9 @@
 #define OSPF_AREA_TYPE_MAX     3
 
 /* SPF Throttling timer values. */
-#define OSPF_SPF_DELAY_DEFAULT              200
-#define OSPF_SPF_HOLDTIME_DEFAULT           1000
-#define OSPF_SPF_MAX_HOLDTIME_DEFAULT      10000
+#define OSPF_SPF_DELAY_DEFAULT              0
+#define OSPF_SPF_HOLDTIME_DEFAULT           50
+#define OSPF_SPF_MAX_HOLDTIME_DEFAULT      5000
 
 #define OSPF_LSA_MAXAGE_CHECK_INTERVAL         30
 #define OSPF_LSA_MAXAGE_REMOVE_DELAY_DEFAULT   60