9 print_processes(
struct process *
const processes[])
13 while(*processes !=
NULL) {
14 printf(
" '%s'", (*processes)->name);
21 print_netstack(
void) {
22 printf(
"%s %s, channel check rate %lu Hz, radio channel %u\n",
23 NETSTACK_MAC.name, NETSTACK_RDC.name,
24 CLOCK_SECOND / (NETSTACK_RDC.channel_check_interval() == 0 ? 1:
25 NETSTACK_RDC.channel_check_interval()),
29 void print_lladdrs(
void) {
31 printf(
"Tentative link-local IPv6 address ");
33 for(a = 0; a < UIP_DS6_ADDR_NB; a++) {
35 for(i = 0; i < 7; ++i) {
Header file for IPv6-related data structures.
#define NULL
The null pointer.
#define CLOCK_SECOND
A second, measured in system clock time.
uip_ds6_netif_t uip_ds6_if
The single interface.
Include file for the Contiki low-layer network stack (NETSTACK)