Contiki 2.6

polite_callbacks Struct Reference

A structure with callback functions for a polite connection. More...

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

Data Fields

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

Detailed Description

A structure with callback functions for a polite connection.

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

Definition at line 113 of file polite.h.