Microchip® Advanced Software Framework

netstack.h File Reference

    Include file for the Contiki low-layer network stack (NETSTACK)
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se
#include "contiki-conf.h"
#include "net/mac/mac.h"
#include "net/mac/rdc.h"
#include "net/mac/framer.h"
#include "dev/radio.h"

Data Structures

struct  network_driver
 The structure of a network driver in Contiki. More...
 

Macros

#define NETSTACK_FRAMER   framer_nullmac
 
#define NETSTACK_MAC   nullmac_driver
 
#define NETSTACK_NETWORK   rime_driver
 
#define NETSTACK_RADIO   nullradio_driver
 
#define NETSTACK_RDC   nullrdc_driver
 
#define NETSTACK_RDC_CHANNEL_CHECK_RATE   8
 

Functions

void netstack_init (void)
 

Variables

struct framer NETSTACK_FRAMER
 
struct mac_driver NETSTACK_MAC
 
struct network_driver NETSTACK_NETWORK
 
struct radio_driver NETSTACK_RADIO
 
struct rdc_driver NETSTACK_RDC
 

#define NETSTACK_FRAMER   framer_nullmac
#define NETSTACK_MAC   nullmac_driver
#define NETSTACK_NETWORK   rime_driver
#define NETSTACK_RADIO   nullradio_driver
#define NETSTACK_RDC   nullrdc_driver
#define NETSTACK_RDC_CHANNEL_CHECK_RATE   8

Referenced by default_timebase(), and powercycle().

struct framer NETSTACK_FRAMER
struct mac_driver NETSTACK_MAC
struct network_driver NETSTACK_NETWORK