Loading...
Searching...
No Matches

Definitions for TX sync. More...

Detailed Description

Definitions for TX sync.

Author
Marian Buschsieweke maria.nosp@m.n.bu.nosp@m.schsi.nosp@m.ewek.nosp@m.e@ovg.nosp@m.u.de

Definition in file tx_sync.h.

#include <errno.h>
#include <stdint.h>
#include "mutex.h"
#include "net/gnrc/pktbuf.h"
+ Include dependency graph for tx_sync.h:

Go to the source code of this file.

Data Structures

struct  gnrc_tx_sync_t
 TX synchronization data. More...
 

Functions

static gnrc_tx_sync_t gnrc_tx_sync_init (void)
 Helper to initialize a gnrc_tx_sync_t structure.
 
static gnrc_pktsnip_tgnrc_tx_sync_build (gnrc_tx_sync_t *tx_sync)
 Build a TX sync snip.
 
static int gnrc_tx_sync_append (gnrc_pktsnip_t *pkt, gnrc_tx_sync_t *tx_sync)
 Appends a newly allocated tx sync pktsnip to the end of the packet.
 
gnrc_pktsnip_tgnrc_tx_sync_split (gnrc_pktsnip_t *pkt)
 Split off the TX sync snip and return it.
 
static void gnrc_tx_complete (gnrc_pktsnip_t *pkt)
 Signal TX completion via the given tx sync packet snip.
 
static void gnrc_tx_sync (gnrc_tx_sync_t *sync)
 Block until transmission of the corresponding packet has completed or failed.