summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_interface.h')
-rw-r--r--ospf6d/ospf6_interface.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ospf6d/ospf6_interface.h b/ospf6d/ospf6_interface.h
index 95a377fb..dde589b8 100644
--- a/ospf6d/ospf6_interface.h
+++ b/ospf6d/ospf6_interface.h
@@ -78,6 +78,9 @@ struct ospf6_interface
/* Interface State */
u_char state;
+ /* Interface socket setting trial counter, resets on success */
+ u_char sso_try_cnt;
+
/* OSPF6 Interface flag */
char flag;
@@ -140,7 +143,8 @@ extern const char *ospf6_interface_state_str[];
#define OSPF6_INTERFACE_INSTANCE_ID 0
#define OSPF6_INTERFACE_BANDWIDTH 10000 /* Kbps */
#define OSPF6_REFERENCE_BANDWIDTH 100000 /* Kbps */
-
+#define OSPF6_INTERFACE_SSO_RETRY_INT 1
+#define OSPF6_INTERFACE_SSO_RETRY_MAX 5
/* Function Prototypes */
@@ -166,6 +170,8 @@ extern int neighbor_change (struct thread *);
extern void ospf6_interface_init (void);
+extern void install_element_ospf6_clear_interface (void);
+
extern int config_write_ospf6_debug_interface (struct vty *vty);
extern void install_element_ospf6_debug_interface (void);