Contiki 2.6

ipolite_callbacks Struct Reference

A structure with callback functions for an ipolite connection. More...

#include <core/net/rime/ipolite.h>

Data Fields

void(* recv )(struct ipolite_conn *c, const rimeaddr_t *from)
 Called when a packet is received on the connection.
void(* sent )(struct ipolite_conn *c)
 Called when a packet is sent on the connection.
void(* dropped )(struct ipolite_conn *c)
 Called when a packet is dropped because a packet was heard from a neighbor.

Detailed Description

A structure with callback functions for an ipolite connection.

This structure holds a list of callback functions used a an ipolite connection. The functions are called when events occur on the connection.

Definition at line 114 of file ipolite.h.