Dump network packets to STDOUT for debugging. More...

Detailed Description

Dump network packets to STDOUT for debugging.

Files

file  pktdump.h
 Interface for a generic network packet dumping module.
 

Macros

#define GNRC_PKTDUMP_MSG_QUEUE_SIZE   (8U)
 Message queue size for the pktdump thread.
 
#define GNRC_PKTDUMP_PRIO   (THREAD_PRIORITY_MAIN - 1)
 Priority of the pktdump thread.
 
#define GNRC_PKTDUMP_STACKSIZE   (THREAD_STACKSIZE_MAIN)
 Stack size used for the pktdump thread.
 

Functions

kernel_pid_t gnrc_pktdump_init (void)
 Start the packet dump thread and listening for incoming packets. More...
 

Variables

kernel_pid_t gnrc_pktdump_pid
 The PID of the pktdump thread.
 

Function Documentation

◆ gnrc_pktdump_init()

kernel_pid_t gnrc_pktdump_init ( void  )

Start the packet dump thread and listening for incoming packets.

Returns
PID of the pktdump thread
negative value on error