tx_state_machine.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Daniel Krebs
3  * 2016 INRIA
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  */
9 
10 #pragma once
11 
24 #include "net/gnrc/pkt.h"
25 #include "net/gnrc/netif.h"
26 #include "net/gnrc/mac/types.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
41  gnrc_pktsnip_t *pkt,
42  gnrc_mac_tx_neighbor_t *neighbor);
43 
51 
59 
60 #ifdef __cplusplus
61 }
62 #endif
Definition for GNRC's network interfaces.
General definitions for network packets and their helper functions.
type for storing states of TX neighbor node.
Definition: types.h:118
Representation of a network interface.
Definition: netif.h:135
Type to represent parts (either headers or payload) of a packet, called snips.
Definition: pkt.h:108
Internal data types used by GNRC_MAC.
void gnrc_lwmac_tx_update(gnrc_netif_t *netif)
Update LWMAC TX procedure for transmission.
void gnrc_lwmac_tx_stop(gnrc_netif_t *netif)
Stop LWMAC TX procedure.
void gnrc_lwmac_tx_start(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt, gnrc_mac_tx_neighbor_t *neighbor)
Start LWMAC TX procedure to transmit packet pkt to neighbor.