From 919f5411c48f509a49400a1293e670f5d5d2bcf1 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 24 Dec 2010 18:08:07 +0100 Subject: Implements Point-to-MultiPoint interface type for OSPF. --- proto/ospf/iface.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'proto/ospf/iface.h') diff --git a/proto/ospf/iface.h b/proto/ospf/iface.h index 38a8148..f9631eb 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_ */ -- cgit v1.2.3