Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162220
b: refs/heads/master
c: 462eeec
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Sep 15, 2009
1 parent 4cab4b9 commit 1cc4adb
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9f33d054394314ba5b7734c6fb7a0eb1d01d3b04
refs/heads/master: 462eeeca0382fb00b3bd6db36a5ee9668a961eae
90 changes: 45 additions & 45 deletions trunk/drivers/staging/hv/rndis.h
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,10 @@ struct rndis_indicate_status {

/* Diagnostic information passed as the status buffer in */
/* struct rndis_indicate_status messages signifying error conditions. */
typedef struct _RNDIS_DIAGNOSTIC_INFO {
struct rndis_diagnostic_info {
u32 DiagStatus;
u32 ErrorOffset;
} RNDIS_DIAGNOSTIC_INFO, *PRNDIS_DIAGNOSTIC_INFO;
};

/* NdisKeepAlive message */
struct rndis_keepalive_request {
Expand Down Expand Up @@ -465,73 +465,73 @@ struct rndis_config_parameter_info {
/* that do not implement a call manager. */

/* CoNdisMiniportCreateVc message */
typedef struct _RCONDIS_MP_CREATE_VC {
struct rcondis_mp_create_vc {
u32 RequestId;
u32 NdisVcHandle;
} RCONDIS_MP_CREATE_VC, *PRCONDIS_MP_CREATE_VC;
};

/* Response to CoNdisMiniportCreateVc */
typedef struct _RCONDIS_MP_CREATE_VC_COMPLETE {
struct rcondis_mp_create_vc_complete {
u32 RequestId;
u32 DeviceVcHandle;
u32 Status;
} RCONDIS_MP_CREATE_VC_COMPLETE, *PRCONDIS_MP_CREATE_VC_COMPLETE;
};

/* CoNdisMiniportDeleteVc message */
typedef struct _RCONDIS_MP_DELETE_VC {
struct rcondis_mp_delete_vc {
u32 RequestId;
u32 DeviceVcHandle;
} RCONDIS_MP_DELETE_VC, *PRCONDIS_MP_DELETE_VC;
};

/* Response to CoNdisMiniportDeleteVc */
typedef struct _RCONDIS_MP_DELETE_VC_COMPLETE {
struct rcondis_mp_delete_vc_complete {
u32 RequestId;
u32 Status;
} RCONDIS_MP_DELETE_VC_COMPLETE, *PRCONDIS_MP_DELETE_VC_COMPLETE;
};

/* CoNdisMiniportQueryRequest message */
typedef struct _RCONDIS_MP_QUERY_REQUEST {
struct rcondis_mp_query_request {
u32 RequestId;
u32 RequestType;
u32 Oid;
u32 DeviceVcHandle;
u32 InformationBufferLength;
u32 InformationBufferOffset;
} RCONDIS_MP_QUERY_REQUEST, *PRCONDIS_MP_QUERY_REQUEST;
};

/* CoNdisMiniportSetRequest message */
typedef struct _RCONDIS_MP_SET_REQUEST {
struct rcondis_mp_set_request {
u32 RequestId;
u32 RequestType;
u32 Oid;
u32 DeviceVcHandle;
u32 InformationBufferLength;
u32 InformationBufferOffset;
} RCONDIS_MP_SET_REQUEST, *PRCONDIS_MP_SET_REQUEST;
};

/* CoNdisIndicateStatus message */
typedef struct _RCONDIS_INDICATE_STATUS {
struct rcondis_indicate_status {
u32 NdisVcHandle;
u32 Status;
u32 StatusBufferLength;
u32 StatusBufferOffset;
} RCONDIS_INDICATE_STATUS, *PRCONDIS_INDICATE_STATUS;
};

/* CONDIS Call/VC parameters */
typedef struct _RCONDIS_SPECIFIC_PARAMETERS {
struct rcondis_specific_parameters {
u32 ParameterType;
u32 ParameterLength;
u32 ParameterOffset;
} RCONDIS_SPECIFIC_PARAMETERS, *PRCONDIS_SPECIFIC_PARAMETERS;
};

typedef struct _RCONDIS_MEDIA_PARAMETERS {
struct rcondis_media_parameters {
u32 Flags;
u32 Reserved1;
u32 Reserved2;
RCONDIS_SPECIFIC_PARAMETERS MediaSpecific;
} RCONDIS_MEDIA_PARAMETERS, *PRCONDIS_MEDIA_PARAMETERS;
struct rcondis_specific_parameters MediaSpecific;
};

typedef struct _RNDIS_FLOWSPEC {
struct rndis_flowspec {
u32 TokenRate;
u32 TokenBucketSize;
u32 PeakBandwidth;
Expand All @@ -540,43 +540,43 @@ typedef struct _RNDIS_FLOWSPEC {
u32 ServiceType;
u32 MaxSduSize;
u32 MinimumPolicedSize;
} RNDIS_FLOWSPEC, *PRNDIS_FLOWSPEC;
};

typedef struct _RCONDIS_CALL_MANAGER_PARAMETERS {
RNDIS_FLOWSPEC Transmit;
RNDIS_FLOWSPEC Receive;
RCONDIS_SPECIFIC_PARAMETERS CallMgrSpecific;
} RCONDIS_CALL_MANAGER_PARAMETERS, *PRCONDIS_CALL_MANAGER_PARAMETERS;
struct rcondis_call_manager_parameters {
struct rndis_flowspec Transmit;
struct rndis_flowspec Receive;
struct rcondis_specific_parameters CallMgrSpecific;
};

/* CoNdisMiniportActivateVc message */
typedef struct _RCONDIS_MP_ACTIVATE_VC_REQUEST {
struct rcondis_mp_activate_vc_request {
u32 RequestId;
u32 Flags;
u32 DeviceVcHandle;
u32 MediaParamsOffset;
u32 MediaParamsLength;
u32 CallMgrParamsOffset;
u32 CallMgrParamsLength;
} RCONDIS_MP_ACTIVATE_VC_REQUEST, *PRCONDIS_MP_ACTIVATE_VC_REQUEST;
};

/* Response to CoNdisMiniportActivateVc */
typedef struct _RCONDIS_MP_ACTIVATE_VC_COMPLETE {
struct rcondis_mp_activate_vc_complete {
u32 RequestId;
u32 Status;
} RCONDIS_MP_ACTIVATE_VC_COMPLETE, *PRCONDIS_MP_ACTIVATE_VC_COMPLETE;
};

/* CoNdisMiniportDeactivateVc message */
typedef struct _RCONDIS_MP_DEACTIVATE_VC_REQUEST {
struct rcondis_mp_deactivate_vc_request {
u32 RequestId;
u32 Flags;
u32 DeviceVcHandle;
} RCONDIS_MP_DEACTIVATE_VC_REQUEST, *PRCONDIS_MP_DEACTIVATE_VC_REQUEST;
};

/* Response to CoNdisMiniportDeactivateVc */
typedef struct _RCONDIS_MP_DEACTIVATE_VC_COMPLETE {
struct rcondis_mp_deactivate_vc_complete {
u32 RequestId;
u32 Status;
} RCONDIS_MP_DEACTIVATE_VC_COMPLETE, *PRCONDIS_MP_DEACTIVATE_VC_COMPLETE;
};


/* union with all of the RNDIS messages */
Expand All @@ -594,15 +594,15 @@ union rndis_message_container {
struct rndis_set_complete SetComplete;
struct rndis_reset_complete ResetComplete;
struct rndis_keepalive_complete KeepaliveComplete;
RCONDIS_MP_CREATE_VC CoMiniportCreateVc;
RCONDIS_MP_DELETE_VC CoMiniportDeleteVc;
RCONDIS_INDICATE_STATUS CoIndicateStatus;
RCONDIS_MP_ACTIVATE_VC_REQUEST CoMiniportActivateVc;
RCONDIS_MP_DEACTIVATE_VC_REQUEST CoMiniportDeactivateVc;
RCONDIS_MP_CREATE_VC_COMPLETE CoMiniportCreateVcComplete;
RCONDIS_MP_DELETE_VC_COMPLETE CoMiniportDeleteVcComplete;
RCONDIS_MP_ACTIVATE_VC_COMPLETE CoMiniportActivateVcComplete;
RCONDIS_MP_DEACTIVATE_VC_COMPLETE CoMiniportDeactivateVcComplete;
struct rcondis_mp_create_vc CoMiniportCreateVc;
struct rcondis_mp_delete_vc CoMiniportDeleteVc;
struct rcondis_indicate_status CoIndicateStatus;
struct rcondis_mp_activate_vc_request CoMiniportActivateVc;
struct rcondis_mp_deactivate_vc_request CoMiniportDeactivateVc;
struct rcondis_mp_create_vc_complete CoMiniportCreateVcComplete;
struct rcondis_mp_delete_vc_complete CoMiniportDeleteVcComplete;
struct rcondis_mp_activate_vc_complete CoMiniportActivateVcComplete;
struct rcondis_mp_deactivate_vc_complete CoMiniportDeactivateVcComplete;
};

/* Remote NDIS message format */
Expand Down

0 comments on commit 1cc4adb

Please sign in to comment.