llsec: Added a layer in between NETSTACK_MAC and NETSTACK_NETWORK for implementing link layer security

This commit is contained in:
kkrentz 2013-05-24 00:21:53 -07:00
parent 4493783ce9
commit c396a85364
28 changed files with 286 additions and 20 deletions

View file

@ -125,7 +125,7 @@ slip_radio_cmd_handler(const uint8_t *data, int len)
/* parse frame before sending to get addresses, etc. */
no_framer.parse();
NETSTACK_MAC.send(packet_sent, &packet_ids[packet_pos]);
NETSTACK_LLSEC.send(packet_sent, &packet_ids[packet_pos]);
packet_pos++;
if(packet_pos >= sizeof(packet_ids)) {