mesh_callbacks Struct Reference
[Mesh routing]

Mesh callbacks. More...

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

Data Fields

void(* recv )(struct mesh_conn *c, const rimeaddr_t *from, uint8_t hops)
 Called when a packet is received.
void(* sent )(struct mesh_conn *c)
 Called when a packet, sent with mesh_send(), is actually transmitted.
void(* timedout )(struct mesh_conn *c)
 Called when a packet, sent with mesh_send(), times out and is dropped.

Detailed Description

Mesh callbacks.

Examples:

example-mesh.c.

Definition at line 74 of file mesh.h.


Field Documentation

void(* mesh_callbacks::recv)(struct mesh_conn *c, const rimeaddr_t *from, uint8_t hops)

Called when a packet is received.

Examples:
example-mesh.c.
void(* mesh_callbacks::sent)(struct mesh_conn *c)

Called when a packet, sent with mesh_send(), is actually transmitted.

Examples:
example-mesh.c.
void(* mesh_callbacks::timedout)(struct mesh_conn *c)

Called when a packet, sent with mesh_send(), times out and is dropped.

Examples:
example-mesh.c.

Generated on Mon Apr 11 14:23:58 2011 for Contiki 2.5 by  doxygen 1.6.1