Common Class Definitions
[RNDIS Class Driver - LUFA/Drivers/Class/RNDIS.h]

Data Structures

struct  MAC_Address_t
struct  Ethernet_Frame_Info_t
struct  RNDIS_Message_Header_t
struct  RNDIS_Packet_Message_t
struct  RNDIS_Initialize_Message_t
struct  RNDIS_Initialize_Complete_t
struct  RNDIS_KeepAlive_Message_t
struct  RNDIS_KeepAlive_Complete_t
struct  RNDIS_Reset_Complete_t
struct  RNDIS_Set_Message_t
struct  RNDIS_Set_Complete_t
struct  RNDIS_Query_Message_t
struct  RNDIS_Query_Complete_t

Defines

#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

Enumerations

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

Description

Constants, Types and Enum definitions that are common to both Device and Host modes for the USB RNDIS Class.


Define Documentation

#define ETHERNET_FRAME_SIZE_MAX   1500

Maximum size in bytes of an Ethernet frame according to the Ethernet standard

#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 by  doxygen 1.6.2