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:
parent
0ae2ac378e
commit
97f76126e6
2 changed files with 14 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue