]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: network coding - receive coded packets and decode them
authorMartin Hundebøll <martin@hundeboll.net>
Fri, 25 Jan 2013 10:12:43 +0000 (11:12 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 13 Mar 2013 21:53:51 +0000 (22:53 +0100)
commit33c90c85aec51f97d673ae422e3d1e7e837824f4
treef6926a73b3ee324449d122cf185df0fade1bc248
parent25e1ddf6f4adc5e9965d0cf54817f88339ec632f
batman-adv: network coding - receive coded packets and decode them

When receiving a network coded packet, the decoding buffer is searched
for a packet to use for decoding. The source, destination, and crc32 from
the coded packet is used to identify the wanted packet. The decoded
packet is passed to the usual unicast receiver function, as had it never
been network coded.

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>
net/batman-adv/network-coding.c
net/batman-adv/soft-interface.c
net/batman-adv/types.h