RNDIS Device Class Driver - LUFA/Drivers/Class/RNDIS.h
[USB Class Drivers]


Modules

 RNDIS Class Device Mode Driver
#define REMOTE_NDIS_VERSION_MAJOR   0x01
#define REMOTE_NDIS_VERSION_MINOR   0x00
#define REQ_SendEncapsulatedCommand   0x00
#define REQ_GetEncapsulatedResponse   0x01
#define RNDIS_MESSAGE_BUFFER_SIZE   128
#define ETHERNET_FRAME_SIZE_MAX   1500
#define NOTIF_ResponseAvailable   1
enum  RNDIS_States_t {
  RNDIS_Uninitialized = 0,
  RNDIS_Initialized = 1,
  RNDIS_Data_Initialized = 2
}
enum  NDIS_Hardware_Status_t {
  NDIS_HardwareStatus_Ready,
  NDIS_HardwareStatus_Initializing,
  NDIS_HardwareStatus_Reset,
  NDIS_HardwareStatus_Closing,
  NDIS_HardwareStatus_NotReady
}

Detailed Description

Module Source Dependencies

The following files must be built with any user project that uses this module:

Description

Functions, macros, variables, enums and types related to the management of USB RNDIS Ethernet interfaces within a USB device.

Define Documentation

#define ETHERNET_FRAME_SIZE_MAX   1500

Maximum size in bytes of an Ethernet frame which can be sent or received

#define NOTIF_ResponseAvailable   1

Notification request value for a RNDIS Response Available notification

#define REMOTE_NDIS_VERSION_MAJOR   0x01

Implemented RNDIS Version Major

#define REMOTE_NDIS_VERSION_MINOR   0x00

Implemented RNDIS Version Minor

#define REQ_GetEncapsulatedResponse   0x01

RNDIS request to issue a device-to-host NDIS response

#define REQ_SendEncapsulatedCommand   0x00

RNDIS request to issue a host-to-device NDIS command

#define RNDIS_MESSAGE_BUFFER_SIZE   128

Maximum size in bytes of a RNDIS control message which can be sent or received


Enumeration Type Documentation

Enum for the NDIS hardware states

Enumerator:
NDIS_HardwareStatus_Ready  Hardware Ready to accept commands from the host
NDIS_HardwareStatus_Initializing  Hardware busy initializing
NDIS_HardwareStatus_Reset  Hardware reset
NDIS_HardwareStatus_Closing  Hardware currently closing
NDIS_HardwareStatus_NotReady  Hardware not ready to accept commands from the host

Enum for the possible NDIS adapter states.

Enumerator:
RNDIS_Uninitialized  Adapter currently uninitialized
RNDIS_Initialized  Adapter currently initialized but not ready for data transfers
RNDIS_Data_Initialized  Adapter currently initialized and ready for data transfers


Generated on Sun Aug 9 19:53:12 2009 for LUFA (Formerly MyUSB) Library by  doxygen 1.5.9