Data Structures | Defines | Enumerations

RNDIS.h File Reference

Common definitions and declarations for the library USB RNDIS Class driver. More...

#include "../../USB.h"
#include "RNDISConstants.h"
#include "CDC.h"
#include <string.h>
#include "CDC.h"

Data Structures

struct  MAC_Address_t
 MAC Address Structure. More...
struct  Ethernet_Frame_Info_t
 RNDIS Ethernet Frame Packet Information Structure. More...
struct  RNDIS_Message_Header_t
 RNDIS Common Message Header Structure. More...
struct  RNDIS_Packet_Message_t
 RNDIS Message Structure. More...
struct  RNDIS_Initialize_Message_t
 RNDIS Initialization Message Structure. More...
struct  RNDIS_Initialize_Complete_t
 RNDIS Initialize Complete Message Structure. More...
struct  RNDIS_KeepAlive_Message_t
 RNDIS Keep Alive Message Structure. More...
struct  RNDIS_KeepAlive_Complete_t
 RNDIS Keep Alive Complete Message Structure. More...
struct  RNDIS_Reset_Complete_t
 RNDIS Reset Complete Message Structure. More...
struct  RNDIS_Set_Message_t
 RNDIS OID Property Set Message Structure. More...
struct  RNDIS_Set_Complete_t
 RNDIS OID Property Set Complete Message Structure. More...
struct  RNDIS_Query_Message_t
 RNDIS OID Property Query Message Structure. More...
struct  RNDIS_Query_Complete_t
 RNDIS OID Property Query Complete Message Structure. More...

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

Common definitions and declarations for the library USB RNDIS Class driver.

Note:
This file should not be included directly. It is automatically included as needed by the class driver dispatch header located in LUFA/Drivers/USB/Class/RNDIS.h.