Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
commit 98d7a766b645432f683f20d6ee6c304ab42bdf2f Author: Antonio Quartulli antonio.quartulli@open-mesh.com Date: Thu May 5 13:09:43 2016 +0200
batman-adv: throughput meter implementation
The throughput meter module is a simple, kernel-space replacement for throughtput measurements tool like iperf and netperf. It is intended to approximate TCP behaviour.
It is invoked through batctl: the protocol is connection oriented, with cumulative acknowledgment and a dynamic-size sliding window.
The test *can* be interrupted by batctl. A receiver side timeout avoids unlimited waitings for sender packets: after one second of inactivity, the receiver abort the ongoing test.
Based on a prototype from Edo Monticelli montik@autistici.org
Signed-off-by: Antonio Quartulli antonio.quartulli@open-mesh.com Signed-off-by: Sven Eckelmann sven.eckelmann@open-mesh.com Signed-off-by: Marek Lindner mareklindner@neomailbox.ch
compat-include/linux/netlink.h | 113 ++ compat-include/net/genetlink.h | 127 ++- include/uapi/linux/batman_adv.h | 43 + net/batman-adv/Makefile | 1 + net/batman-adv/log.c | 1 + net/batman-adv/log.h | 18 +- net/batman-adv/main.c | 4 + net/batman-adv/main.h | 8 + net/batman-adv/netlink.c | 234 +++- net/batman-adv/netlink.h | 6 + net/batman-adv/packet.h | 54 + net/batman-adv/routing.c | 8 + net/batman-adv/soft-interface.c | 2 + net/batman-adv/tp_meter.c | 1504 ++++++++++++++++++++++++++ net/batman-adv/{icmp_socket.h => tp_meter.h} | 24 +- net/batman-adv/types.h | 112 ++ 16 files changed, 2235 insertions(+), 24 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 98d7a766b645432f683f20d6ee6c304ab42bdf2f