Contiki 3.x
|
Header file for MAC sequence numbers managementMore...
Go to the source code of this file.
Functions | |
int | mac_sequence_is_duplicate (void) |
Tell whether the packetbuf is a duplicate packet. More... | |
void | mac_sequence_register_seqno (void) |
Register the sequence number of the packetbuf. More... | |
Header file for MAC sequence numbers management
Definition in file mac-sequence.h.
int mac_sequence_is_duplicate | ( | void | ) |
Tell whether the packetbuf is a duplicate packet.
This function is used to check for duplicate packet by comparing the sequence number of the incoming packet with the last few ones we saw, filtering with the Rime address.
Definition at line 66 of file mac-sequence.c.
References linkaddr_cmp().
void mac_sequence_register_seqno | ( | void | ) |
Register the sequence number of the packetbuf.
This function is used to add the sequence number of the incoming packet to the history.
Definition at line 88 of file mac-sequence.c.
References linkaddr_cmp(), and linkaddr_copy().