Device identifier, state and usage statistics. More...
#include "../structures/int_map.h"

Data Structures | |
| struct | device_stats |
| Device usage statistics. More... | |
Defines | |
| #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. | |
| #define | DEVICE_INVALID_ID (-1) |
| Invalid device identifier. | |
Typedefs | |
| typedef int | device_id_t |
| Device identifier type. | |
| typedef enum device_state | device_state_t |
| Device state type. | |
| typedef struct device_stats | device_stats_t |
| Type definition of the device usage statistics. | |
| typedef device_stats_t * | device_stats_ref |
| Type definition of the device usage statistics pointer. | |
Enumerations | |
| enum | device_state { NETIF_NULL = 0, NETIF_STOPPED, NETIF_ACTIVE, NETIF_CARRIER_LOST } |
Device state. More... | |
Device identifier, state and usage statistics.
1.6.1