3      Copyright (C) Dean Camera, 2010. 
   5   dean [at] fourwalledcubicle [dot] com 
   6       www.fourwalledcubicle.com 
  10   Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com) 
  12   Permission to use, copy, modify, distribute, and sell this  
  13   software and its documentation for any purpose is hereby granted 
  14   without fee, provided that the above copyright notice appear in  
  15   all copies and that both that the copyright notice and this 
  16   permission notice and warranty disclaimer appear in supporting  
  17   documentation, and that the name of the author not be used in  
  18   advertising or publicity pertaining to distribution of the  
  19   software without specific, written prior permission. 
  21   The author disclaim all warranties with regard to this 
  22   software, including all implied warranties of merchantability 
  23   and fitness.  In no event shall the author be liable for any 
  24   special, indirect or consequential damages or any damages 
  25   whatsoever resulting from loss of use, data or profits, whether 
  26   in an action of contract, negligence or other tortious action, 
  27   arising out of or in connection with the use or performance of 
  33  *  RNDIS specification related constants. For more information on these 
  34  *  constants, please refer to the Microsoft RNDIS specification. 
  37 #ifndef _RNDIS_CONSTANTS_DEVICE_H_ 
  38 #define _RNDIS_CONSTANTS_DEVICE_H_ 
  41                 #define REMOTE_NDIS_PACKET_MSG                0x00000001UL 
  42                 #define REMOTE_NDIS_INITIALIZE_MSG            0x00000002UL 
  43                 #define REMOTE_NDIS_HALT_MSG                  0x00000003UL 
  44                 #define REMOTE_NDIS_QUERY_MSG                 0x00000004UL 
  45                 #define REMOTE_NDIS_SET_MSG                   0x00000005UL 
  46                 #define REMOTE_NDIS_RESET_MSG                 0x00000006UL 
  47                 #define REMOTE_NDIS_INDICATE_STATUS_MSG       0x00000007UL 
  48                 #define REMOTE_NDIS_KEEPALIVE_MSG             0x00000008UL 
  50                 #define REMOTE_NDIS_INITIALIZE_CMPLT          0x80000002UL 
  51                 #define REMOTE_NDIS_QUERY_CMPLT               0x80000004UL 
  52                 #define REMOTE_NDIS_SET_CMPLT                 0x80000005UL 
  53                 #define REMOTE_NDIS_RESET_CMPLT               0x80000006UL 
  54                 #define REMOTE_NDIS_KEEPALIVE_CMPLT           0x80000008UL 
  56                 #define REMOTE_NDIS_STATUS_SUCCESS            0x00000000UL 
  57                 #define REMOTE_NDIS_STATUS_FAILURE            0xC0000001UL 
  58                 #define REMOTE_NDIS_STATUS_INVALID_DATA       0xC0010015UL 
  59                 #define REMOTE_NDIS_STATUS_NOT_SUPPORTED      0xC00000BBUL 
  60                 #define REMOTE_NDIS_STATUS_MEDIA_CONNECT      0x4001000BUL 
  61                 #define REMOTE_NDIS_STATUS_MEDIA_DISCONNECT   0x4001000CUL 
  63                 #define REMOTE_NDIS_MEDIA_STATE_CONNECTED     0x00000000UL 
  64                 #define REMOTE_NDIS_MEDIA_STATE_DISCONNECTED  0x00000001UL 
  66                 #define REMOTE_NDIS_MEDIUM_802_3              0x00000000UL 
  68                 #define REMOTE_NDIS_DF_CONNECTIONLESS         0x00000001UL 
  69                 #define REMOTE_NDIS_DF_CONNECTION_ORIENTED    0x00000002UL 
  71                 #define REMOTE_NDIS_PACKET_DIRECTED           0x00000001UL 
  72                 #define REMOTE_NDIS_PACKET_MULTICAST          0x00000002UL 
  73                 #define REMOTE_NDIS_PACKET_ALL_MULTICAST      0x00000004UL 
  74                 #define REMOTE_NDIS_PACKET_BROADCAST          0x00000008UL 
  75                 #define REMOTE_NDIS_PACKET_SOURCE_ROUTING     0x00000010UL 
  76                 #define REMOTE_NDIS_PACKET_PROMISCUOUS        0x00000020UL 
  77                 #define REMOTE_NDIS_PACKET_SMT                0x00000040UL 
  78                 #define REMOTE_NDIS_PACKET_ALL_LOCAL          0x00000080UL 
  79                 #define REMOTE_NDIS_PACKET_GROUP              0x00001000UL 
  80                 #define REMOTE_NDIS_PACKET_ALL_FUNCTIONAL     0x00002000UL 
  81                 #define REMOTE_NDIS_PACKET_FUNCTIONAL         0x00004000UL 
  82                 #define REMOTE_NDIS_PACKET_MAC_FRAME          0x00008000UL       
  84                 #define OID_GEN_SUPPORTED_LIST                0x00010101UL 
  85                 #define OID_GEN_HARDWARE_STATUS               0x00010102UL 
  86                 #define OID_GEN_MEDIA_SUPPORTED               0x00010103UL 
  87                 #define OID_GEN_MEDIA_IN_USE                  0x00010104UL 
  88                 #define OID_GEN_MAXIMUM_FRAME_SIZE            0x00010106UL 
  89                 #define OID_GEN_MAXIMUM_TOTAL_SIZE            0x00010111UL 
  90                 #define OID_GEN_LINK_SPEED                    0x00010107UL 
  91                 #define OID_GEN_TRANSMIT_BLOCK_SIZE           0x0001010AUL 
  92                 #define OID_GEN_RECEIVE_BLOCK_SIZE            0x0001010BUL 
  93                 #define OID_GEN_VENDOR_ID                     0x0001010CUL 
  94                 #define OID_GEN_VENDOR_DESCRIPTION            0x0001010DUL 
  95                 #define OID_GEN_CURRENT_PACKET_FILTER         0x0001010EUL 
  96                 #define OID_GEN_MAXIMUM_TOTAL_SIZE            0x00010111UL 
  97                 #define OID_GEN_MEDIA_CONNECT_STATUS          0x00010114UL 
  98                 #define OID_GEN_PHYSICAL_MEDIUM               0x00010202UL 
  99                 #define OID_GEN_XMIT_OK                       0x00020101UL 
 100                 #define OID_GEN_RCV_OK                        0x00020102UL 
 101                 #define OID_GEN_XMIT_ERROR                    0x00020103UL 
 102                 #define OID_GEN_RCV_ERROR                     0x00020104UL 
 103                 #define OID_GEN_RCV_NO_BUFFER                 0x00020105UL 
 104                 #define OID_802_3_PERMANENT_ADDRESS           0x01010101UL 
 105                 #define OID_802_3_CURRENT_ADDRESS             0x01010102UL 
 106                 #define OID_802_3_MULTICAST_LIST              0x01010103UL 
 107                 #define OID_802_3_MAXIMUM_LIST_SIZE           0x01010104UL 
 108                 #define OID_802_3_RCV_ERROR_ALIGNMENT         0x01020101UL 
 109                 #define OID_802_3_XMIT_ONE_COLLISION          0x01020102UL 
 110                 #define OID_802_3_XMIT_MORE_COLLISIONS        0x01020103UL