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:
parent
ea9f44b707
commit
175bc28538
15
sys/net/sixlowpan.c
Normal file
15
sys/net/sixlowpan.c
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user