Contiki 2.6

ipolite.h File Reference

Header file for Ipolite best effort local Broadcast (ipolite) More...

#include "sys/ctimer.h"
#include "net/rime/broadcast.h"
#include "net/queuebuf.h"

Go to the source code of this file.

Data Structures

struct  ipolite_callbacks
 A structure with callback functions for an ipolite connection. More...
struct  ipolite_conn
 An opaque structure with no user-visible elements that holds the state of an ipolite connection,. More...

Functions

void ipolite_open (struct ipolite_conn *c, uint16_t channel, uint8_t maxdups, const struct ipolite_callbacks *cb)
 Open an ipolite connection.
void ipolite_close (struct ipolite_conn *c)
 Close an ipolite connection.
int ipolite_send (struct ipolite_conn *c, clock_time_t interval, uint8_t hdrsize)
 Send a packet on an ipolite connection.
void ipolite_cancel (struct ipolite_conn *c)
 Cancel a pending packet.

Detailed Description

Header file for Ipolite best effort local Broadcast (ipolite)

Author:
Adam Dunkels <adam@sics.se>

Definition in file ipolite.h.