Contiki-NG
|
6top Protocol (6P) APIs More...
Go to the source code of this file.
Macros | |
#define | SIXP_INITIAL_SEQUENCE_NUMBER 0 |
The initial sequence number used for 6P request. | |
Typedefs | |
typedef void(* | sixp_sent_callback_t) (void *arg, uint16_t arg_len, const linkaddr_t *dest_addr, sixp_output_status_t status) |
6P Packet Sent Handler | |
Enumerations | |
enum | sixp_output_status_t { SIXP_OUTPUT_STATUS_SUCCESS , SIXP_OUTPUT_STATUS_FAILURE , SIXP_OUTPUT_STATUS_ABORTED } |
6P Send Status, which represents sixp_output() result. More... | |
Functions | |
void | sixp_input (const uint8_t *buf, uint16_t len, const linkaddr_t *src_addr) |
Input a 6P packet. More... | |
int | sixp_output (sixp_pkt_type_t type, sixp_pkt_code_t code, uint8_t sfid, const uint8_t *body, uint16_t body_len, const linkaddr_t *dest_addr, sixp_sent_callback_t func, void *arg, uint16_t arg_len) |
Output a 6P packet. More... | |
void | sixp_init (void) |
Initialize 6P Module It invokes sixp_nbr_init() and sixp_trans_init(). | |
6top Protocol (6P) APIs
Definition in file sixp.h.