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 */
gnrc_lwmac_tx_start
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.
gnrc_lwmac_tx_stop
void gnrc_lwmac_tx_stop(gnrc_netif_t *netif)
Stop LWMAC TX procedure.
types.h
Internal data types used by GNRC_MAC.
gnrc_lwmac_tx_update
void gnrc_lwmac_tx_update(gnrc_netif_t *netif)
Update LWMAC TX procedure for transmission.
gnrc_netif_t
Representation of a network interface.
Definition: netif.h:115
gnrc_mac_tx_neighbor_t
type for storing states of TX neighbor node.
Definition: types.h:120
pkt.h
General definitions for network packets and their helper functions.
netif.h
Definition for GNRC's network interfaces.
gnrc_pktsnip
Type to represent parts (either headers or payload) of a packet, called snips.
Definition: pkt.h:108