50 struct anti_replay_info {
51 uint32_t last_broadcast_counter;
52 uint32_t last_unicast_counter;
void anti_replay_init_info(struct anti_replay_info *info)
Initializes the anti-replay information about the sender.
void anti_replay_set_counter(void)
Sets the frame counter packetbuf attributes.
int anti_replay_was_replayed(struct anti_replay_info *info)
Checks if received frame was replayed.
uint32_t anti_replay_get_counter(void)
Gets the frame counter from packetbuf.