#include <adt/int_map.h>
Go to the source code of this file.
Data Structures | |
struct | device_stats |
Device usage statistics. More... | |
Defines | |
#define | DEVICE_INVALID_ID (-1) |
Invalid device identifier. | |
#define | DEVICE_MAP_DECLARE INT_MAP_DECLARE |
Device identifier to generic type map declaration. | |
#define | DEVICE_MAP_IMPLEMENT INT_MAP_IMPLEMENT |
Device identifier to generic type map implementation. | |
Typedefs | |
typedef int | device_id_t |
Device identifier type. | |
typedef enum device_state | device_state_t |
Device state type. | |
typedef device_stats | device_stats_t |
Type definition of the device usage statistics. | |
Enumerations | |
enum | device_state { NETIF_NULL = 0, NETIF_STOPPED, NETIF_ACTIVE, NETIF_CARRIER_LOST } |
Device state. More... |
Definition in file device.h.