Hello people,
**** This is the **eigthth** version of this patchset.
The major change since v7 is the introduction of a local storage for ARP entries.
Up to v7 DAT was using the batX ARP table as local cache, but the kernel maintainers complained about this solution because they had already planned to redesign most of the neighbour handling code and so they wanted to avoid to add other code depending on the current implementation....
Then something else has been fixed: - unicast ARP request are correctly handled now - debug messages improved - requests coming in unicast now get replied with unicast (no 4addr) ****
Cheers,
Antonio Quartulli (7): batman-adv: add UNICAST_4ADDR packet type batman-adv: Distributed ARP Table - add a new debug log level batman-adv: Distributed ARP Table - create DHT helper functions batman-adv: Distributed ARP Table - implement local storage batman-adv: Distributed ARP Table - add ARP parsing functions batman-adv: Distributed ARP Table - add snooping functions for ARP messages batman-adv: Distributed ARP Table - add compile option
Martin Hundebøll (1): batman-adv: Add get_ethtool_stats() support for DAT
Makefile | 2 + Makefile.kbuild | 1 + README | 3 +- README.external | 1 + compat.c | 10 + compat.h | 1 + debugfs.c | 15 + distributed-arp-table.c | 925 +++++++++++++++++++++++++++++++++++++++++++++++ distributed-arp-table.h | 132 +++++++ gen-compat-autoconf.sh | 1 + hard-interface.c | 3 + main.c | 9 + main.h | 12 +- originator.c | 2 + packet.h | 30 +- routing.c | 37 +- send.c | 4 + soft-interface.c | 22 +- types.h | 44 +++ unicast.c | 102 +++++- unicast.h | 24 +- 21 files changed, 1347 insertions(+), 33 deletions(-) create mode 100644 distributed-arp-table.c create mode 100644 distributed-arp-table.h