1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/net/sixlowpan.c

17 lines
445 B
C
Raw Normal View History

#include <stdio.h>
2010-10-05 22:13:04 +02:00
#include "drivers/cc110x/cc1100.h"
2010-10-05 22:13:04 +02:00
static void output(void){
// TODO
// 1. get dest addr from function param
// 2. get pointer to packet buffer
// 3. if dest is null send broadcast
// 4. hc1 or hc1x header compression
// 5. check if ip-packet is to large to fit into a single mac-packet
// if no, fragment the packet
// frag1 dispatch + header
// fragn dispatch
// set fragments into queue and send it
}