From 8e48831a970a784a979446813191628790d477f1 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Thu, 17 Mar 2011 15:53:36 +0100 Subject: Vastly improved OSPF reconfiguration. Now it can handle a change in iface pattern structure. It can add, remove and reconfigure interfaces, vlinks and areas. --- proto/ospf/iface.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'proto/ospf/iface.h') diff --git a/proto/ospf/iface.h b/proto/ospf/iface.h index f9631eb..3f88772 100644 --- a/proto/ospf/iface.h +++ b/proto/ospf/iface.h @@ -16,10 +16,11 @@ struct ospf_iface *ospf_iface_find(struct proto_ospf *p, struct iface *what); void ospf_if_notify(struct proto *p, unsigned flags, struct iface *iface); void ospf_ifa_notify(struct proto *p, unsigned flags, struct ifa *a); void ospf_iface_info(struct ospf_iface *ifa); +void ospf_iface_new(struct ospf_area *oa, struct ifa *addr, struct ospf_iface_patt *ip); +void ospf_iface_remove(struct ospf_iface *ifa); void ospf_iface_shutdown(struct ospf_iface *ifa); -void ospf_iface_new(struct proto_ospf *po, struct iface *iface, struct ifa *addr, struct ospf_area_config *ac, struct ospf_iface_patt *ip); -void ospf_iface_change_mtu(struct proto_ospf *po, struct ospf_iface *ifa); -void ospf_set_rxbuf_size(struct ospf_iface *ifa, u32 rxbuf); +int ospf_iface_reconfigure(struct ospf_iface *ifa, struct ospf_iface_patt *new); +void ospf_ifaces_reconfigure(struct ospf_area *oa, struct ospf_area_config *nac); struct nbma_node *find_nbma_node_in(list *nnl, ip_addr ip); @@ -27,5 +28,4 @@ static inline struct nbma_node * find_nbma_node(struct ospf_iface *ifa, ip_addr ip) { return find_nbma_node_in(&ifa->nbma_list, ip); } - #endif /* _BIRD_OSPF_IFACE_H_ */ -- cgit v1.2.3