Include file for the Contiki low-layer network stack (NETSTACK)
#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().
void netstack_init | ( | void | ) |
References mac_driver::init, rdc_driver::init, radio_driver::init, network_driver::init, NETSTACK_ENCRYPTION_INIT, NETSTACK_MAC, NETSTACK_NETWORK, NETSTACK_RADIO, and NETSTACK_RDC.
Referenced by main().
struct framer NETSTACK_FRAMER |
Referenced by input_packet(), output(), packet_input(), send_one_packet(), and send_packet().
struct mac_driver NETSTACK_MAC |
Referenced by input_packet(), netstack_init(), packet_input(), and send_packet().
struct network_driver NETSTACK_NETWORK |
Referenced by input_packet(), netstack_init(), and packet_input().
struct radio_driver NETSTACK_RADIO |
Referenced by netstack_init(), off(), on(), packet_input(), powercycle(), send_one_packet(), send_packet(), and turn_off().
struct rdc_driver NETSTACK_RDC |
Referenced by channel_check_interval(), default_timebase(), main(), netstack_init(), off(), on(), PROCESS_THREAD(), send_packet(), and transmit_packet_list().