device.h File Reference

Device identifier, state and usage statistics. More...

#include "../structures/int_map.h"
Include dependency graph for device.h:
This graph shows which files directly or indirectly include this file:

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_tdevice_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...

Detailed Description

Device identifier, state and usage statistics.


Generated on Thu Mar 11 20:46:01 2010 for Networking and TCP/IP stack for HelenOS system by  doxygen 1.6.1