Allow broadcast packets to be sent directly instead of via the MST.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 15 Apr 2012 23:57:25 +0000 (01:57 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 15 Apr 2012 23:57:25 +0000 (01:57 +0200)
commit84531fb6e621959e06519fdbb7f2a8f7578f66bd
treeef18ff38f17297d3c7809686ad86bbf01abe772d
parent535a55100bb77f107c85361e9f72a194e92bc8bc
Allow broadcast packets to be sent directly instead of via the MST.

When the "Broadcast = direct" option is used, broadcast packets are not sent
and forwarded via the Minimum Spanning Tree to all nodes, but are sent directly
to all nodes that can be reached in one hop.

One use for this is to allow running ad-hoc routing protocols, such as OLSR, on
top of tinc.
doc/tinc.conf.5.in
doc/tinc.texi
src/net_packet.c
src/net_setup.c
src/route.c
src/route.h