On Friday, January 25, 2013 18:12:42 Martin Hundebøll wrote:
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 martin@hundeboll.net
This patch depends on my previous patch on the mailing list: "Return reason for failure in batadv_check_unicast_packet()"
v3:
- Use new return values from batadv_check_unicast_packet()
v4:
- Added missing kernel doc entry for enum batadv_counters
network-coding.c | 208 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- network-coding.h | 18 +++++ routing.c | 13 +++- send.c | 5 ++ soft-interface.c | 1 + types.h | 11 +++ 6 files changed, 253 insertions(+), 3 deletions(-)
Applied in revision 65aa656.
Thanks, Marek