Contiki-NG
Data Structures | Typedefs | Functions

    6TiSCH Operation Sublayer (6top) APIs
More...

#include "net/mac/mac.h"
#include "net/linkaddr.h"
#include "sixp-pkt.h"

Go to the source code of this file.

Data Structures

struct  sixtop_sf_t
 /brief Scheduling Function Driver More...
 

Typedefs

typedef void(* sixtop_sf_input) (sixp_pkt_type_t type, sixp_pkt_code_t code, const uint8_t *body, uint16_t body_len, const linkaddr_t *src_addr)
 Input Handler of Scheduling Function. More...
 
typedef void(* sixtop_sf_timeout) (sixp_pkt_cmd_t cmd, const linkaddr_t *peer_addr)
 Timeout Handler of Scheduling Function. More...
 

Functions

int sixtop_add_sf (const sixtop_sf_t *sf)
 Add a Scheduling Function (SF) to 6top Sublayer. More...
 
const sixtop_sf_tsixtop_find_sf (uint8_t sfid)
 Find a SF which has been added by SFID. More...
 
void sixtop_output (const linkaddr_t *dest_addr, mac_callback_t callback, void *arg)
 Output a 6P packet which is supposestored in packetbuf. More...
 
void sixtop_input (void)
 Input a packet stored in packetbuf.
 
void sixtop_init (void)
 Initialize 6top module This initialization function removes all the SFs which has been installed into the 6top sub-layer. More...
 
void sixtop_init_sf (void)
 Initialize installed SFs which has been added in the system This function is supposed to be invoked every time the node gets associated.
 

Detailed Description

    6TiSCH Operation Sublayer (6top) APIs
Author
Yasuyuki Tanaka yasuy.nosp@m.uki..nosp@m.tanak.nosp@m.a@in.nosp@m.f.eth.nosp@m.z.ch

Definition in file sixtop.h.