Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
type.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019-20 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
23
#ifndef NET_GNRC_NETIF_PKTQ_TYPE_H
24
#define NET_GNRC_NETIF_PKTQ_TYPE_H
25
26
#include "
net/gnrc/pktqueue.h
"
27
#include "
xtimer.h
"
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
36
typedef
struct
{
37
gnrc_pktqueue_t
*
queue
;
38
#if CONFIG_GNRC_NETIF_PKTQ_TIMER_US >= 0
39
msg_t
dequeue_msg
;
40
xtimer_t
dequeue_timer
;
42
#endif
43
}
gnrc_netif_pktq_t
;
44
45
#ifdef __cplusplus
46
}
47
#endif
48
49
#endif
/* NET_GNRC_NETIF_PKTQ_TYPE_H */
50
xtimer
xtimer timer structure
Definition:
xtimer.h:81
gnrc_netif_pktq_t::queue
gnrc_pktqueue_t * queue
the actual packet queue class
Definition:
type.h:37
gnrc_pktqueue
data type for packet queue nodes
Definition:
pktqueue.h:37
gnrc_netif_pktq_t::dequeue_timer
xtimer_t dequeue_timer
timer to schedule next sending of queued packets
Definition:
type.h:40
msg_t
Describes a message object which can be sent between threads.
Definition:
msg.h:185
gnrc_netif_pktq_t
A packet queue for Network interface API with a de-queue timer.
Definition:
type.h:36
xtimer.h
xtimer interface definitions
pktqueue.h
Packet queue definitions.
gnrc_netif_pktq_t::dequeue_msg
msg_t dequeue_msg
message for gnrc_netif_pktq_t::dequeue_timer to send
Definition:
type.h:39
Generated on Tue Nov 24 2020 19:46:52 by
1.8.17