Send queue for Network interface API definitions More...
Send queue for Network interface API definitions
Definition in file pktq.h.
#include <assert.h>
#include <stdbool.h>
#include "net/gnrc/netif.h"
#include "net/gnrc/netif/pktq/type.h"
#include "net/gnrc/pkt.h"
Go to the source code of this file.
Functions | |
int | gnrc_netif_pktq_put (gnrc_netif_t *netif, gnrc_pktsnip_t *pkt) |
Puts a packet into the packet send queue of a network interface. More... | |
static gnrc_pktsnip_t * | gnrc_netif_pktq_get (gnrc_netif_t *netif) |
Gets a packet from the packet send queue of a network interface. More... | |
void | gnrc_netif_pktq_sched_get (gnrc_netif_t *netif) |
Schedule a dequeue notification to network interface. More... | |
int | gnrc_netif_pktq_push_back (gnrc_netif_t *netif, gnrc_pktsnip_t *pkt) |
Pushes a packet back to the head of the packet send queue of a network interface. More... | |
static bool | gnrc_netif_pktq_empty (gnrc_netif_t *netif) |
Check if a network interface's packet send queue is empty. More... | |