52 bootstrap(llsec_on_bootstrapped_t on_bootstrapped)
58 send(mac_callback_t sent,
void *ptr)
60 packetbuf_set_attr(PACKETBUF_ATTR_FRAME_TYPE, FRAME802154_DATAFRAME);
61 NETSTACK_MAC.send(sent, ptr);
73 NETSTACK_NETWORK.input();
uint8_t(* get_overhead)(void)
Returns the security-related overhead per frame in bytes.
802.15.4 frame creation and parsing functions
Header file for the Rime buffer (packetbuf) management
int(* on_frame_created)(void)
Once the NETSTACK_FRAMER wrote the headers, the LLSEC driver can generate a MIC over the entire frame...
The structure of a link layer security driver.
Insecure link layer security driver.
void(* bootstrap)(llsec_on_bootstrapped_t on_bootstrapped)
Bootstraps link layer security and thereafter starts upper layers.
void(* send)(mac_callback_t sent_callback, void *ptr)
Secures outgoing frames before passing them to NETSTACK_MAC.
void(* input)(void)
Decrypts incoming frames; filters out injected or replayed frames.
Include file for the Contiki low-layer network stack (NETSTACK)