summaryrefslogtreecommitdiff
path: root/proto/ospf/packet.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2012-05-15 23:40:37 +0200
committerOndrej Filip <feela@network.cz>2012-05-15 23:40:37 +0200
commit3fe1d9e4a40663b93b59f5b6f9d61af9dc6a8ae6 (patch)
treeb30ffa4a722d776714cfe979090ee15e5cd74376 /proto/ospf/packet.h
parent72b2db8db7534c52e928618410ec1f18787752c8 (diff)
parent95127cbbb76e8870e029454a5313bc4b6ce69a4a (diff)
Merge branch 'master' of ssh://git.nic.cz/bird
Diffstat (limited to 'proto/ospf/packet.h')
-rw-r--r--proto/ospf/packet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/packet.h b/proto/ospf/packet.h
index c0185b9c..fbcb4288 100644
--- a/proto/ospf/packet.h
+++ b/proto/ospf/packet.h
@@ -19,6 +19,8 @@ void ospf_send_to_agt(struct ospf_iface *ifa, u8 state);
void ospf_send_to_bdr(struct ospf_iface *ifa);
void ospf_send_to(struct ospf_iface *ifa, ip_addr ip);
+static inline void ospf_send_to_all(struct ospf_iface *ifa) { ospf_send_to(ifa, ifa->all_routers); }
+
static inline void * ospf_tx_buffer(struct ospf_iface *ifa) { return ifa->sk->tbuf; }
static inline unsigned