|
Contiki 3.x
|
Common functionality of 802.15.4-compliant llsec_drivers. More...
Data Structures | |
| struct | ccm_star_driver |
| Structure of CCM* drivers. More... | |
Functions | |
| void | anti_replay_set_counter (void) |
| Sets the frame counter packetbuf attributes. | |
| uint32_t | anti_replay_get_counter (void) |
| Gets the frame counter from packetbuf. | |
| void | anti_replay_init_info (struct anti_replay_info *info) |
| Initializes the anti-replay information about the sender. | |
| int | anti_replay_was_replayed (struct anti_replay_info *info) |
| Checks if received frame was replayed. More... | |
Common functionality of 802.15.4-compliant llsec_drivers.
| int anti_replay_was_replayed | ( | struct anti_replay_info * | info | ) |
Checks if received frame was replayed.
| last_counters | Anti-replay information about the sender |
| 0 | <-> received frame was not replayed |
Definition at line 84 of file anti-replay.c.
References anti_replay_get_counter(), linkaddr_cmp(), and linkaddr_null.
1.8.5