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 
22 #ifndef TX_STATE_MACHINE_H
23 #define TX_STATE_MACHINE_H
24 
25 #include "net/gnrc/pkt.h"
26 #include "net/gnrc/netif.h"
27 #include "net/gnrc/mac/types.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
42  gnrc_pktsnip_t *pkt,
43  gnrc_mac_tx_neighbor_t *neighbor);
44 
51 void gnrc_lwmac_tx_stop(gnrc_netif_t *netif);
52 
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif /* TX_STATE_MACHINE_H */
General definitions for network packets and their helper functions.
Definition for GNRC's network interfaces.
type for storing states of TX neighbor node.
Definition: mac/types.h:115
void gnrc_lwmac_tx_stop(gnrc_netif_t *netif)
Stop LWMAC TX procedure.
Representation of a network interface.
Definition: netif.h:61
void gnrc_lwmac_tx_update(gnrc_netif_t *netif)
Update LWMAC TX procedure for transmission.
Internal data types used by GNRC_MAC.
Type to represent parts (either headers or payload) of a packet, called snips.
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.