From: Martin Hundebøll Date: Fri, 25 Jan 2013 10:12:42 +0000 (+0100) Subject: batman-adv: network coding - save overheard and tx packets for decoding X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~449^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=612d2b4fe0a1ff2f8389462a6f8be34e54124c05;p=pandora-kernel.git batman-adv: network coding - save overheard and tx packets for decoding To be able to decode a network coded packet, a node must already know one of the two coded packets. This is done by buffering skbs before transmission and buffering packets sniffed with promiscuous mode from other hosts. Packets are kept in a buffer similar to the one with forward-skbs: A hash table, where each entry, which corresponds to a src-dst pair, has a linked list packets. Signed-off-by: Martin Hundebøll Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed