summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/soft-interface.c
diff options
context:
space:
mode:
authorMartin Hundebøll <martin@hundeboll.net>2013-01-25 11:12:40 +0100
committerAntonio Quartulli <ordex@autistici.org>2013-03-13 22:53:49 +0100
commit953324776d6d23eb81f5b825870027b9c069db29 (patch)
treeca6a07caecd098623031cffcf8a2dd80a4d1a4e6 /net/batman-adv/soft-interface.c
parentd56b1705e28c196312607bc8bdde0e91879c20b6 (diff)
downloadop-kernel-dev-953324776d6d23eb81f5b825870027b9c069db29.zip
op-kernel-dev-953324776d6d23eb81f5b825870027b9c069db29.tar.gz
batman-adv: network coding - buffer unicast packets before forward
Two be able to network code two packets, one packet must be buffered until the next is available. This is done in a "coding buffer", which is essentially a hash table with lists of packets. Each entry in the hash table corresponds to a specific src-dst pair, which has a linked list of packets that are buffered. This patch adds skbs to the buffer just before forwarding them. The buffer is traversed every 10 ms, where timed skbs are removed from the buffer and transmitted. To allow experiments with the network coding scheme, the timeout is tunable through a file in debugfs. Signed-off-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/soft-interface.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud