-
- Downloads
batman-adv: Distributed ARP Table - add snooping functions for ARP messages
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>
Showing
- net/batman-adv/distributed-arp-table.c 265 additions, 0 deletionsnet/batman-adv/distributed-arp-table.c
- net/batman-adv/distributed-arp-table.h 11 additions, 0 deletionsnet/batman-adv/distributed-arp-table.h
- net/batman-adv/main.h 2 additions, 0 deletionsnet/batman-adv/main.h
- net/batman-adv/routing.c 28 additions, 1 deletionnet/batman-adv/routing.c
- net/batman-adv/send.c 4 additions, 0 deletionsnet/batman-adv/send.c
- net/batman-adv/soft-interface.c 15 additions, 1 deletionnet/batman-adv/soft-interface.c
Loading
Please register or sign in to comment