net: ip: Enable Kconfig based debug options for the IP stack
It will be possible to enable/disable debug messages from IP stack from make menuconfig, instead of modifying the relevant files to do so. Change-Id: I065f10bcc2bc3579081b2fcdb1c47e12d148e2f1 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
0abd5dd7d5
commit
ee587244f4
11 changed files with 138 additions and 18 deletions
|
@ -49,7 +49,9 @@
|
|||
#include "contiki/ipv6/uip-icmp6.h"
|
||||
#include "contiki-default-conf.h"
|
||||
|
||||
#define DEBUG DEBUG_NONE
|
||||
#ifdef CONFIG_NETWORK_IP_STACK_DEBUG_IPV6_ICMPV6
|
||||
#define DEBUG 1
|
||||
#endif
|
||||
#include "contiki/ip/uip-debug.h"
|
||||
|
||||
#define UIP_IP_BUF(buf) ((struct uip_ip_hdr *)&uip_buf(buf)[UIP_LLH_LEN])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue