On Friday, January 25, 2013 18:12:40 Martin Hundebøll wrote:
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
v3:
- Removed unused define
compat.c | 10 ++ compat.h | 1 + network-coding.c | 492 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ network-coding.h | 10 ++ routing.c | 18 +- types.h | 49 ++++++ 6 files changed, 573 insertions(+), 7 deletions(-)
Applied in revision d287859.
Thanks, Marek