On Monday, October 01, 2012 15:57:40 Antonio Quartulli wrote:
In case of an ARP message going in or out the soft_iface, it is intercepted and a special action is performed. In particular the DHT helper functions previously implemented are used to store all the ARP entries belonging to the network in order to provide a fast and unicast lookup instead of the classic broadcast flooding mechanism. Each node stores the entries it is responsible for (following the DHT rules) in its soft_iface ARP table. This makes it possible to reuse the kernel data structures and functions for ARP management.
Signed-off-by: Antonio Quartulli ordex@autistici.org
distributed-arp-table.c | 265 ++++++++++++++++++++++++++++++++++++++++++++++++ distributed-arp-table.h | 11 ++ main.h | 2 + routing.c | 29 +++++- send.c | 4 + soft-interface.c | 16 ++- 6 files changed, 325 insertions(+), 2 deletions(-)
Applied in revision 75ca71d.
Thanks, Marek