Dump Network Packets¶
Dump network packets to STDOUT for debugging.
-
kernel_types.h::kernel_pid_t
gnrc_pktdump_pid
¶ The PID of the pktdump thread.
-
kernel_types.h::kernel_pid_t
gnrc_pktdump_init
(void)¶ Start the packet dump thread and listening for incoming packets.
Return values
- PID of the pktdump thread
- negative value on error
-
GNRC_PKTDUMP_MSG_QUEUE_SIZE
¶ Message queue size for the pktdump thread.
1
(8U)
-
GNRC_PKTDUMP_PRIO
¶ Priority of the pktdump thread.
1
(THREAD_PRIORITY_MAIN - 1)
-
GNRC_PKTDUMP_STACKSIZE
¶ Stack size used for the pktdump thread.
1
(THREAD_STACKSIZE_MAIN)