diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2011-03-17 15:53:36 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2011-03-17 15:53:36 +0100 |
commit | 8e48831a970a784a979446813191628790d477f1 (patch) | |
tree | e3c2e1c2a13ab2249d42b87ce26a1dc02d3faaaf /proto/ospf/iface.h | |
parent | 93e868c730dc0b1825b2a685e0b066c051b1cb07 (diff) |
Vastly improved OSPF reconfiguration.
Now it can handle a change in iface pattern structure.
It can add, remove and reconfigure interfaces, vlinks and areas.
Diffstat (limited to 'proto/ospf/iface.h')
-rw-r--r-- | proto/ospf/iface.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/proto/ospf/iface.h b/proto/ospf/iface.h index f9631eb3..3f887728 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_ */ |