On Saturday, April 20, 2013 19:54:39 Martin Hundebøll wrote: > The call to batadv_nc_skb_forward() fits better in > batadv_send_skb_to_orig(), as this is where the actual next hop is > looked up. > > To let the caller of batadv_send_skb_to_orig() know wether the skb is > transmitted, buffered or failed, the return value is changed from > boolean to int. > > Signed-off-by: Martin Hundebøll <[email protected]> > --- > > v2: I should make random defines lowercase > v3: Do git add before committing and sending patches :| > v4: Don't count non-coded packets twice > v5: Change return value to do correct counting > > network-coding.c | 5 ++--- > network-coding.h | 6 ++---- > routing.c | 23 +++++++++++++---------- > send.c | 27 +++++++++++++++++++-------- > send.h | 6 +++--- > translation-table.c | 12 +++++++----- > unicast.c | 2 +- > vis.c | 7 ++++--- > 8 files changed, 51 insertions(+), 37 deletions(-)
Applied in revision ae72fda. Thanks, Marek
