pktdump.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Freie Universit├Ąt Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
22 #ifndef NET_GNRC_PKTDUMP_H
23 #define NET_GNRC_PKTDUMP_H
24 
25 #include "kernel_types.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
34 #ifndef GNRC_PKTDUMP_MSG_QUEUE_SIZE
35 #define GNRC_PKTDUMP_MSG_QUEUE_SIZE (8U)
36 #endif
37 
41 #ifndef GNRC_PKTDUMP_PRIO
42 #define GNRC_PKTDUMP_PRIO (THREAD_PRIORITY_MAIN - 1)
43 #endif
44 
48 #ifndef GNRC_PKTDUMP_STACKSIZE
49 #define GNRC_PKTDUMP_STACKSIZE (THREAD_STACKSIZE_MAIN)
50 #endif
51 
56 
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 #endif /* NET_GNRC_PKTDUMP_H */
70 
Types used by the kernel.
int16_t kernel_pid_t
Unique process identifier.
Definition: kernel_types.h:83
kernel_pid_t gnrc_pktdump_pid
The PID of the pktdump thread.
kernel_pid_t gnrc_pktdump_init(void)
Start the packet dump thread and listening for incoming packets.