From 95127cbbb76e8870e029454a5313bc4b6ce69a4a Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 14 May 2012 11:47:41 +0200 Subject: Real broadcast mode for OSPFv2. --- proto/ospf/packet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'proto/ospf/packet.h') 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 -- cgit v1.2.3