remembering last received packet id to avoid multiple recv callbacks for the same retransmitted packet (but still sending back acks of course)

This commit is contained in:
fros4943 2009-02-17 12:40:18 +00:00
parent 0ae2ac378e
commit 97f76126e6
2 changed files with 14 additions and 4 deletions

View file

@ -45,7 +45,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: runicast.h,v 1.1 2008/07/03 21:52:25 adamdunkels Exp $
* $Id: runicast.h,v 1.2 2009/02/17 12:40:18 fros4943 Exp $
*/
/**
@ -75,6 +75,7 @@ struct runicast_conn {
struct stunicast_conn c;
const struct runicast_callbacks *u;
uint8_t sndnxt;
uint8_t lastrecv;
uint8_t rxmit;
uint8_t max_rxmit;
};