mDNS: Implemented router election mechansim to have only 1 active mDNS OLSR router...
authorAlessandro Gnagni <enterprise.nx@gmail.com>
Wed, 13 Jun 2012 15:48:32 +0000 (17:48 +0200)
committerSaverio Proto <zioproto@gmail.com>
Mon, 13 Aug 2012 17:37:40 +0000 (19:37 +0200)
commita25bd7e1992840b98cfa69e6f30b538caadeceaf
treed9c9f8922327a370d0582c4160bc658a65920424
parentcbb822ac8978defe16f0efb8b9eb351159b8c0c7
mDNS: Implemented router election mechansim to have only 1 active mDNS OLSR router in 1 LAN

Implemented IPv4 and IPv6 socket that should
capture the router election signalling packets (hellos)

Hellos are sent out with a timer

A second time triggers the router to decide if he is master
lib/mdns/src/NetworkInterfaces.c
lib/mdns/src/NetworkInterfaces.h
lib/mdns/src/RouterElection.c [new file with mode: 0644]
lib/mdns/src/RouterElection.h [new file with mode: 0644]
lib/mdns/src/list_backport.h
lib/mdns/src/mdns.c
lib/mdns/src/mdns.h
lib/mdns/src/olsrd_plugin.c