A MAC protocol that does not do anything.
#include "net/mac/nullmac.h"
#include "net/netstack.h"
#include "net/ip/uip.h"
#include "net/ip/tcpip.h"
#include "net/packetbuf.h"
Functions | |
static unsigned short | channel_check_interval (void) |
static void | init (void) |
static int | off (int keep_radio_on) |
static int | on (void) |
static void | packet_input (void) |
static void | send_packet (mac_callback_t sent, void *ptr) |
Variables | |
struct mac_driver | nullmac_driver |
|
static |
|
static |
|
static |
References NETSTACK_RDC, and rdc_driver::off.
|
static |
References NETSTACK_RDC, and rdc_driver::on.
|
static |
References network_driver::input, and NETSTACK_NETWORK.
|
static |
References NETSTACK_RDC, and rdc_driver::send.
struct mac_driver nullmac_driver |