Protocol type definitions. More...
Protocol type definitions.
Definition in file nettype.h.
Go to the source code of this file.
Macros | |
#define | GNRC_NETTYPE_LORAWAN GNRC_NETTYPE_UNDEF |
Protocol is LoRaWAN. | |
Enumerations | |
enum | gnrc_nettype_t { GNRC_NETTYPE_TX_SYNC = -3 , GNRC_NETTYPE_NETIF = -1 , GNRC_NETTYPE_UNDEF = 0 , GNRC_NETTYPE_GOMACH , GNRC_NETTYPE_LWMAC , GNRC_NETTYPE_CUSTOM , GNRC_NETTYPE_SIXLOWPAN , GNRC_NETTYPE_IPV6 , GNRC_NETTYPE_IPV6_EXT , GNRC_NETTYPE_ICMPV6 , GNRC_NETTYPE_CCN , GNRC_NETTYPE_CCN_CHUNK , GNRC_NETTYPE_NDN , GNRC_NETTYPE_TCP , GNRC_NETTYPE_UDP , GNRC_NETTYPE_TEST , GNRC_NETTYPE_NUMOF } |
Definition of protocol types in the network stack. More... | |
Functions | |
static gnrc_nettype_t | gnrc_nettype_from_ethertype (uint16_t type) |
Translates an Ether Type number to gnrc_nettype_t. | |
static uint16_t | gnrc_nettype_to_ethertype (gnrc_nettype_t type) |
Translates gnrc_nettype_t to an Ether Type number. | |
static gnrc_nettype_t | gnrc_nettype_from_protnum (uint8_t num) |
Translates a Protocol Number to gnrc_nettype_t. | |
static uint8_t | gnrc_nettype_to_protnum (gnrc_nettype_t type) |
Translates gnrc_nettype_t to a Protocol Number. | |
#define GNRC_NETTYPE_LORAWAN GNRC_NETTYPE_UNDEF |
Protocol is LoRaWAN.