Loading...
Searching...
No Matches

Send queue for Network interface API definitions More...

Detailed Description

#include <assert.h>
#include <stdbool.h>
#include "net/gnrc/netif.h"
#include "net/gnrc/netif/pktq/type.h"
#include "net/gnrc/pkt.h"
+ Include dependency graph for pktq.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.
 
unsigned gnrc_netif_pktq_usage (void)
 Returns the overall usage of the packet queue resources.
 
static gnrc_pktsnip_tgnrc_netif_pktq_get (gnrc_netif_t *netif)
 Gets a packet from the packet send queue of a network interface.
 
void gnrc_netif_pktq_sched_get (gnrc_netif_t *netif)
 Schedule a dequeue notification to network interface.
 
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.
 
static bool gnrc_netif_pktq_empty (gnrc_netif_t *netif)
 Check if a network interface's packet send queue is empty.