A set of debugging macros.
Macros | |
#define | ANNOTATE(...) |
#define | DEBUG_ANNOTATE 2 |
#define | DEBUG_FULL DEBUG_ANNOTATE | DEBUG_PRINT |
#define | DEBUG_NONE 0 |
#define | DEBUG_PRINT 1 |
#define | PRINT6ADDR(addr) |
#define | PRINTA(...) printf(__VA_ARGS__) |
#define | PRINTF(...) |
#define | PRINTLLADDR(lladdr) |
Functions | |
void | uip_debug_ipaddr_print (const uip_ipaddr_t *addr) |
void | uip_debug_lladdr_print (const uip_lladdr_t *addr) |
#define ANNOTATE | ( | ... | ) |
#define DEBUG_ANNOTATE 2 |
#define DEBUG_FULL DEBUG_ANNOTATE | DEBUG_PRINT |
#define DEBUG_NONE 0 |
#define DEBUG_PRINT 1 |
#define PRINT6ADDR | ( | addr | ) |
#define PRINTA | ( | ... | ) | printf(__VA_ARGS__) |
#define PRINTF | ( | ... | ) |
#define PRINTLLADDR | ( | lladdr | ) |
void uip_debug_ipaddr_print | ( | const uip_ipaddr_t * | addr | ) |
References i, NULL, PRINTA, printf, and uip_ip6addr_t::u8.
Referenced by echo_reply_callback(), ip64_6to4(), ip64_set_ipv6_address(), PROCESS_THREAD(), receiver(), route_callback(), rpl_add_route(), set_global_address(), simple_udp_ping_send_ping(), and uip_ds6_route_rm().
void uip_debug_lladdr_print | ( | const uip_lladdr_t * | addr | ) |
References uip_eth_addr::addr, i, and PRINTA.