summaryrefslogtreecommitdiff
path: root/proto/ospf/iface.h
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/iface.h')
-rw-r--r--proto/ospf/iface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto/ospf/iface.h b/proto/ospf/iface.h
index 38a81486..f9631eb3 100644
--- a/proto/ospf/iface.h
+++ b/proto/ospf/iface.h
@@ -21,6 +21,11 @@ void ospf_iface_new(struct proto_ospf *po, struct iface *iface, struct ifa *addr
void ospf_iface_change_mtu(struct proto_ospf *po, struct ospf_iface *ifa);
void ospf_set_rxbuf_size(struct ospf_iface *ifa, u32 rxbuf);
+struct nbma_node *find_nbma_node_in(list *nnl, ip_addr ip);
+
+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_ */