]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_interface.h
Merge pull request #5549 from donaldsharp/automated
[mirror_frr.git] / ospfd / ospf_interface.h
index b88d405875a5f4fee04695f828c0241562b41f0b..4b3dbcc5c27284e4fe1c051e6676f373a035874c 100644 (file)
@@ -117,6 +117,8 @@ struct ospf_if_info {
        struct route_table *oifs;
        unsigned int
                membership_counts[MEMBER_MAX]; /* multicast group refcnts */
+
+       uint32_t curr_mtu;
 };
 
 struct ospf_interface;
@@ -285,7 +287,6 @@ extern void ospf_if_update_params(struct interface *, struct in_addr);
 
 extern int ospf_if_new_hook(struct interface *);
 extern void ospf_if_init(void);
-extern void ospf_if_stream_set(struct ospf_interface *);
 extern void ospf_if_stream_unset(struct ospf_interface *);
 extern void ospf_if_reset_variables(struct ospf_interface *);
 extern int ospf_if_is_enable(struct ospf_interface *);
@@ -322,7 +323,12 @@ extern int ospf_interface_neighbor_count(struct ospf_interface *oi);
    state of the interface. */
 extern void ospf_if_set_multicast(struct ospf_interface *);
 
+extern void ospf_if_interface(struct interface *ifp);
+
 DECLARE_HOOK(ospf_vl_add, (struct ospf_vl_data * vd), (vd))
 DECLARE_HOOK(ospf_vl_delete, (struct ospf_vl_data * vd), (vd))
 
+DECLARE_HOOK(ospf_if_update, (struct interface * ifp), (ifp))
+DECLARE_HOOK(ospf_if_delete, (struct interface * ifp), (ifp))
+
 #endif /* _ZEBRA_OSPF_INTERFACE_H */