Contiki 3.x
Functions
anti-replay.c File Reference

    Protects against replay attacks by comparing with the last
    unicast or broadcast frame counter of the sender.
More...

#include "net/llsec/anti-replay.h"
#include "net/packetbuf.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.
 
int anti_replay_was_replayed (struct anti_replay_info *info)
 Checks if received frame was replayed. More...
 

Detailed Description

    Protects against replay attacks by comparing with the last
    unicast or broadcast frame counter of the sender.
Author
Konrad Krentz konra.nosp@m.d.kr.nosp@m.entz@.nosp@m.gmai.nosp@m.l.com

Definition in file anti-replay.c.