Dump network packets to STDOUT for debugging.  
More...
Dump network packets to STDOUT for debugging. 
|  | 
| file | pktdump.h | 
|  | Interface for a generic network packet dumping module. 
 | 
|  | 
|  | 
| kernel_pid_t | gnrc_pktdump_pid | 
|  | The PID of the pktdump thread. 
 | 
|  | 
◆ GNRC_PKTDUMP_MSG_QUEUE_SIZE
Message queue size for the pktdump thread. 
Definition at line 52 of file pktdump.h.
 
 
◆ GNRC_PKTDUMP_PRIO
Priority of the pktdump thread. 
Definition at line 59 of file pktdump.h.
 
 
◆ GNRC_PKTDUMP_STACKSIZE
Stack size used for the pktdump thread. 
- Note
- The message queue was previously allocated on the stack. The default number of messages is 2³. Given sizeof(msg_t) == 8, the stack size is reduced by 64 bytes. 
Definition at line 70 of file pktdump.h.
 
 
◆ gnrc_pktdump_init()
Start the packet dump thread and listening for incoming packets. 
- Returns
- PID of the pktdump thread 
- 
negative value on error