]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
batman-adv: throughput meter implementation
authorAntonio Quartulli <antonio.quartulli@open-mesh.com>
Thu, 5 May 2016 11:09:43 +0000 (13:09 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Mon, 4 Jul 2016 10:37:18 +0000 (12:37 +0200)
commit33a3bb4a3345bb511f9c69c913da95d4693e2a4e
tree45ad5212db48b55eef6567ea69245fdaa40f1ea7
parentf50ca95a691e9fd1fce530aade58c98d621cb1fe
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>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
13 files changed:
include/uapi/linux/batman_adv.h
net/batman-adv/Makefile
net/batman-adv/log.h
net/batman-adv/main.c
net/batman-adv/main.h
net/batman-adv/netlink.c
net/batman-adv/netlink.h
net/batman-adv/packet.h
net/batman-adv/routing.c
net/batman-adv/soft-interface.c
net/batman-adv/tp_meter.c [new file with mode: 0644]
net/batman-adv/tp_meter.h [new file with mode: 0644]
net/batman-adv/types.h