1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

gnrc_netif: Introduce GNRC_NETIF_HDR_FLAGS_MORE_DATA

This commit is contained in:
Joakim Nohlgård 2018-06-30 15:30:50 +02:00
parent a05e2f22e2
commit 29e4a1ba3c

View File

@ -70,6 +70,21 @@ extern "C" {
* this flag the same way it does @ref GNRC_NETIF_HDR_FLAGS_BROADCAST.
*/
#define GNRC_NETIF_HDR_FLAGS_MULTICAST (0x40)
/**
* @brief More data will follow
*
* @details This flag signals that this packet is part of a burst of packets.
* The link layer implementation can choose to translate this flag into
* frame header bits to tell the remote node that more traffic will
* follow shortly. The most direct use case for this flag is to set it
* for fragmented packets in duty cycled networks to tell the remote
* node to keep its radio turned on after receiving the first fragment.
*
* @see The corresponding bit in the IEEE 802.15.4 frame control field,
* @ref IEEE802154_FCF_FRAME_PEND
*/
#define GNRC_NETIF_HDR_FLAGS_MORE_DATA (0x10)
/**
* @}
*/