diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-12-24 18:08:07 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-12-24 18:08:07 +0100 |
commit | 919f5411c48f509a49400a1293e670f5d5d2bcf1 (patch) | |
tree | 0701f270439c2e71a017c75f3095367db724ca8e /proto/ospf/iface.h | |
parent | 39847cda73d8e8536300b74d90d01b6e2f233ef7 (diff) |
Implements Point-to-MultiPoint interface type for OSPF.
Diffstat (limited to 'proto/ospf/iface.h')
-rw-r--r-- | proto/ospf/iface.h | 5 |
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_ */ |