1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

created 6lowpan c-file with todo for output function

This commit is contained in:
Stephan 2010-10-05 21:53:00 +02:00
parent ea9f44b707
commit 175bc28538

15
sys/net/sixlowpan.c Normal file
View File

@ -0,0 +1,15 @@
#include <stdio.h>
static 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
}