Contiki-NG
Loading...
Searching...
No Matches

Interface to anti-replay mechanisms. More...

#include "contiki.h"
#include <stdbool.h>

Go to the source code of this file.

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.
 
bool anti_replay_was_replayed (struct anti_replay_info *info)
 Checks if received frame was replayed.
 
void anti_replay_parse_counter (const uint8_t *p)
 Parses the frame counter to packetbuf attributes.
 

Detailed Description

Interface to anti-replay mechanisms.

Author
Konrad Krentz konra.nosp@m.d.kr.nosp@m.entz@.nosp@m.gmai.nosp@m.l.com

Definition in file anti-replay.h.