53 #define SIXTOP_SUBIE_ID 0xc9 67 const linkaddr_t *src_addr);
75 const linkaddr_t *peer_addr);
121 mac_callback_t callback,
void *arg);
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.
sixp_pkt_cmd_t
6P Command Identifiers
sixp_pkt_type_t
6P Message Types
/brief Scheduling Function Driver
void sixtop_init_sf(void)
Initialize installed SFs which has been added in the system This function is supposed to be invoked e...
Header file for the link-layer address representation
void(* sixtop_sf_timeout)(sixp_pkt_cmd_t cmd, const linkaddr_t *peer_addr)
Timeout Handler of Scheduling Function.
const sixtop_sf_t * sixtop_find_sf(uint8_t sfid)
Find a SF which has been added by SFID.
void sixtop_init(void)
Initialize 6top module This initialization function removes all the SFs which has been installed into...
void sixtop_input(void)
Input a packet stored in packetbuf.
sixtop_sf_input input
Input Handler.
6P Codes integrating Command IDs and Return Codes
int sixtop_add_sf(const sixtop_sf_t *sf)
Add a Scheduling Function (SF) to 6top Sublayer.
void sixtop_output(const linkaddr_t *dest_addr, mac_callback_t callback, void *arg)
Output a 6P packet which is supposestored in packetbuf.
6top Protocol (6P) Packet Manipulation APIs
sixtop_sf_timeout timeout
Transaction Timeout Handler.
clock_time_t timeout_interval
Timeout Value.