![]() |
Contiki-NG
|
Macros related to 802.15.4 link-layer security. More...
Files | |
| file | os/net/mac/anti-replay.c |
| Protects against replay attacks by comparing with the last unicast or broadcast frame counter of the sender. | |
| file | os/net/mac/anti-replay.h |
| Interface to anti-replay mechanisms. | |
| file | os/net/mac/llsec802154.h |
| Common functionality of 802.15.4-compliant llsec_drivers. | |
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. | |
Macros related to 802.15.4 link-layer security.
| void anti_replay_init_info | ( | struct anti_replay_info * | info | ) |
Initializes the anti-replay information about the sender.
| info | Anti-replay information about the sender |
| bool anti_replay_was_replayed | ( | struct anti_replay_info * | info | ) |
Checks if received frame was replayed.
| info | Anti-replay information about the sender |