Microchip® Advanced Software Framework

nullrdc-noframer.c File Reference

    A MAC protocol that does not do anything.
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se
#include "net/mac/nullrdc-noframer.h"
#include "net/packetbuf.h"
#include "net/queuebuf.h"
#include "net/netstack.h"
#include <string.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_list (mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
 
static void send_packet (mac_callback_t sent, void *ptr)
 

Variables

struct rdc_driver nullrdc_noframer_driver
 

static unsigned short channel_check_interval ( void  )
static
static void init ( void  )
static

References on().

static int off ( int  keep_radio_on)
static
static int on ( void  )
static

References NETSTACK_RADIO, and radio_driver::on.

Referenced by init().

static void packet_input ( void  )
static

References mac_driver::input, and NETSTACK_MAC.

static void send_list ( mac_callback_t  sent,
void *  ptr,
struct rdc_buf_list buf_list 
)
static
static void send_packet ( mac_callback_t  sent,
void *  ptr 
)
static

struct rdc_driver nullrdc_noframer_driver
Initial value:
= {
"nullrdc-noframer",
on,
off,
}
static void send_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
Definition: nullrdc-noframer.c:60
static void packet_input(void)
Definition: nullrdc-noframer.c:69
static void send_packet(mac_callback_t sent, void *ptr)
Definition: nullrdc-noframer.c:48
static int off(int keep_radio_on)
Definition: nullrdc-noframer.c:81
goto init
Definition: dhcpc.c:392
static int on(void)
Definition: nullrdc-noframer.c:75
static unsigned short channel_check_interval(void)
Definition: nullrdc-noframer.c:91