Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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 "
sched.h
"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
44
#ifndef CONFIG_GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP
45
#define CONFIG_GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP 3
46
#endif
47
52
#ifndef GNRC_PKTDUMP_MSG_QUEUE_SIZE
53
#define GNRC_PKTDUMP_MSG_QUEUE_SIZE (1 << CONFIG_GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP)
54
#endif
55
59
#ifndef GNRC_PKTDUMP_PRIO
60
#define GNRC_PKTDUMP_PRIO (THREAD_PRIORITY_MAIN - 1)
61
#endif
62
66
#ifndef GNRC_PKTDUMP_STACKSIZE
67
#define GNRC_PKTDUMP_STACKSIZE (THREAD_STACKSIZE_MAIN)
68
#endif
69
73
extern
kernel_pid_t
gnrc_pktdump_pid
;
74
81
kernel_pid_t
gnrc_pktdump_init
(
void
);
82
83
#ifdef __cplusplus
84
}
85
#endif
86
87
#endif
/* NET_GNRC_PKTDUMP_H */
88
kernel_pid_t
int16_t kernel_pid_t
Unique process identifier.
Definition:
sched.h:125
gnrc_pktdump_init
kernel_pid_t gnrc_pktdump_init(void)
Start the packet dump thread and listening for incoming packets.
sched.h
Scheduler API definition.
gnrc_pktdump_pid
kernel_pid_t gnrc_pktdump_pid
The PID of the pktdump thread.
Generated on Tue Nov 24 2020 19:46:52 by
1.8.17