rndis.h File Reference

RNDIS (Remote Network Driver Interface Specification) More...

#include "core/net.h"
#include "error.h"

Go to the source code of this file.

Data Structures

struct  RndisMsg
 Generic RNDIS message. More...
struct  RndisInitializeMsg
 RNDIS Initialize message. More...
struct  RndisHaltMsg
 RNDIS Halt message. More...
struct  RndisQueryMsg
 RNDIS Query message. More...
struct  RndisSetMsg
 RNDIS Set message. More...
struct  RndisResetMsg
 RNDIS Reset message. More...
struct  RndisIndicateStatusMsg
 RNDIS Indicate Status message. More...
struct  RndisDiagInfo
 Diagnostic information. More...
struct  RndisKeepAliveMsg
 RNDIS Keep-Alive message. More...
struct  RndisInitializeCmplt
 Response to a RNDIS Initialize message. More...
struct  RndisQueryCmplt
 Response to a RNDIS Query message. More...
struct  RndisSetCmplt
 Response to a RNDIS Set message. More...
struct  RndisResetCmplt
 Response to a RNDIS Reset message. More...
struct  RndisKeepAliveCmplt
 Response to a RNDIS Keep-Alive message. More...
struct  RndisPacketMsg
 RNDIS Packet message. More...
struct  RndisOobDataRecord
 Out-of-band data record. More...
struct  RndisPerPacketInfoDataRecord
 Per-packet information data record. More...
struct  RndisNotificationMsg
 Device notification message. More...
struct  RndisContext
 RNDIS context. More...


#define RNDIS_MAC_ADDR   "02-00-00-12-34-02"
#define RNDIS_PACKET_MSG   0x00000001
#define RNDIS_INITIALIZE_MSG   0x00000002
#define RNDIS_INITIALIZE_CMPLT   0x80000002
#define RNDIS_HALT_MSG   0x00000003
#define RNDIS_QUERY_MSG   0x00000004
#define RNDIS_QUERY_CMPLT   0x80000004
#define RNDIS_SET_MSG   0x00000005
#define RNDIS_SET_CMPLT   0x80000005
#define RNDIS_RESET_MSG   0x00000006
#define RNDIS_RESET_CMPLT   0x80000006
#define RNDIS_INDICATE_STATUS_MSG   0x00000007
#define RNDIS_KEEPALIVE_MSG   0x00000008
#define RNDIS_KEEPALIVE_CMPLT   0x80000008
#define RNDIS_STATUS_SUCCESS   0x00000000
#define RNDIS_STATUS_FAILURE   0xC0000001
#define RNDIS_STATUS_INVALID_DATA   0xC0010015
#define RNDIS_DF_CONNECTIONLESS   0x00000001
#define RNDIS_MEDIUM_802_3   0x00000000
#define OID_GEN_SUPPORTED_LIST   0x00010101
#define OID_GEN_HARDWARE_STATUS   0x00010102
#define OID_GEN_MEDIA_SUPPORTED   0x00010103
#define OID_GEN_MEDIA_IN_USE   0x00010104
#define OID_GEN_MAXIMUM_LOOKAHEAD   0x00010105
#define OID_GEN_MAXIMUM_FRAME_SIZE   0x00010106
#define OID_GEN_LINK_SPEED   0x00010107
#define OID_GEN_TRANSMIT_BUFFER_SPACE   0x00010108
#define OID_GEN_RECEIVE_BUFFER_SPACE   0x00010109
#define OID_GEN_TRANSMIT_BLOCK_SIZE   0x0001010A
#define OID_GEN_RECEIVE_BLOCK_SIZE   0x0001010B
#define OID_GEN_VENDOR_ID   0x0001010C
#define OID_GEN_CURRENT_LOOKAHEAD   0x0001010F
#define OID_GEN_DRIVER_VERSION   0x00010110
#define OID_GEN_MAXIMUM_TOTAL_SIZE   0x00010111
#define OID_GEN_PROTOCOL_OPTIONS   0x00010112
#define OID_GEN_MAC_OPTIONS   0x00010113
#define OID_GEN_MEDIA_CONNECT_STATUS   0x00010114
#define OID_GEN_MAXIMUM_SEND_PACKETS   0x00010115
#define OID_GEN_VENDOR_DRIVER_VERSION   0x00010116
#define OID_GEN_SUPPORTED_GUIDS   0x00010117
#define OID_GEN_MACHINE_NAME   0x0001021A
#define OID_GEN_VLAN_ID   0x0001021C
#define OID_GEN_MEDIA_CAPABILITIES   0x00010201
#define OID_GEN_PHYSICAL_MEDIUM   0x00010202
#define OID_GEN_XMIT_OK   0x00020101
#define OID_GEN_RCV_OK   0x00020102
#define OID_GEN_XMIT_ERROR   0x00020103
#define OID_GEN_RCV_ERROR   0x00020104
#define OID_GEN_RCV_NO_BUFFER   0x00020105
#define OID_GEN_DIRECTED_BYTES_XMIT   0x00020201
#define OID_GEN_DIRECTED_FRAMES_XMIT   0x00020202
#define OID_GEN_MULTICAST_BYTES_XMIT   0x00020203
#define OID_GEN_MULTICAST_FRAMES_XMIT   0x00020204
#define OID_GEN_BROADCAST_BYTES_XMIT   0x00020205
#define OID_GEN_BROADCAST_FRAMES_XMIT   0x00020206
#define OID_GEN_DIRECTED_BYTES_RCV   0x00020207
#define OID_GEN_DIRECTED_FRAMES_RCV   0x00020208
#define OID_GEN_MULTICAST_BYTES_RCV   0x00020209
#define OID_GEN_BROADCAST_BYTES_RCV   0x0002020B
#define OID_GEN_RCV_CRC_ERROR   0x0002020D
#define OID_802_3_PERMANENT_ADDRESS   0x01010101
#define OID_802_3_CURRENT_ADDRESS   0x01010102
#define OID_802_3_MULTICAST_LIST   0x01010103
#define OID_802_3_MAXIMUM_LIST_SIZE   0x01010104
#define OID_802_3_MAC_OPTIONS   0x01010105
#define OID_802_3_RCV_ERROR_ALIGNMENT   0x01020101
#define OID_802_3_XMIT_ONE_COLLISION   0x01020102
#define OID_802_3_XMIT_MORE_COLLISIONS   0x01020103
#define OID_802_3_XMIT_DEFERRED   0x01020201
#define OID_802_3_XMIT_MAX_COLLISIONS   0x01020202
#define OID_802_3_RCV_OVERRUN   0x01020203
#define OID_802_3_XMIT_UNDERRUN   0x01020204
#define OID_802_3_XMIT_HEARTBEAT_FAILURE   0x01020205
#define OID_802_3_XMIT_TIMES_CRS_LOST   0x01020206
#define OID_802_3_XMIT_LATE_COLLISIONS   0x01020207
#define RNDIS_HARDWARE_STATUS_READY   0x00000000
#define RNDIS_HARDWARE_STATUS_RESET   0x00000002
#define RNDIS_MEDIUM_802_3   0x00000000
#define RNDIS_MEDIA_STATE_CONNECTED   0x00000000
#define RNDIS_PACKET_TYPE_DIRECTED   0x00000001
#define RNDIS_PACKET_TYPE_MULTICAST   0x00000002
#define RNDIS_PACKET_TYPE_BROADCAST   0x00000008
#define RNDIS_PACKET_TYPE_SMT   0x00000040
#define RNDIS_PACKET_TYPE_ALL_LOCAL   0x00000080
#define RNDIS_PACKET_TYPE_GROUP   0x00000100
#define RNDIS_PACKET_TYPE_MAC_FRAME   0x00000800


 RNDIS states. More...


void rndisInit (void)
 RNDIS core initialization. More...
error_t rndisProcessMsg (const RndisMsg *message, size_t length)
 Process incoming RNDIS message. More...
error_t rndisProcessInitializeMsg (const RndisInitializeMsg *message, size_t length)
 Process RNDIS Initialize message. More...
error_t rndisProcessHaltMsg (const RndisHaltMsg *message, size_t length)
 Process RNDIS Halt message. More...
error_t rndisProcessQueryMsg (const RndisQueryMsg *message, size_t length)
 Process RNDIS Query message. More...
error_t rndisProcessSetMsg (const RndisSetMsg *message, size_t length)
 Process RNDIS Set message. More...
error_t rndisProcessResetMsg (const RndisResetMsg *message, size_t length)
 Process RNDIS Reset message. More...
error_t rndisProcessKeepAliveMsg (const RndisKeepAliveMsg *message, size_t length)
 Process RNDIS Keep-Alive message. More...
error_t rndisFormatHaltMsg (void)
 Format RNDIS Halt message. More...
error_t rndisFormatIndicateStatusMsg (uint32_t status)
 Format RNDIS Indicate Status message. More...
error_t rndisFormatInitializeCmplt (uint32_t requestId)
 Format RNDIS Initialize Cmplt message. More...
error_t rndisFormatQueryCmplt (uint32_t requestId, uint32_t status, uint32_t length)
 Format RNDIS Query Cmplt message. More...
error_t rndisFormatSetCmplt (uint32_t requestId, uint32_t status)
 Format RNDIS Set Cmplt message. More...
error_t rndisFormatResetCmplt (void)
 Format RNDIS Reset Cmplt message. More...
error_t rndisFormatKeepAliveCmplt (uint32_t requestId)
 Format RNDIS Keep-Alive Cmplt message. More...
error_t rndisSendNotification (uint32_t notification)
 Send RNDIS notification message. More...
void rndisChangeState (RndisState newState)
 Update RNDIS state. More...


RndisContext rndisContext

Detailed Description

RNDIS (Remote Network Driver Interface Specification)


SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Oryx Embedded SARL (www.oryx-embedded.com)

Definition in file rndis.h.

Macro Definition Documentation


#define OID_802_3_CURRENT_ADDRESS   0x01010102

Definition at line 147 of file rndis.h.


#define OID_802_3_MAC_OPTIONS   0x01010105

Definition at line 150 of file rndis.h.


#define OID_802_3_MAXIMUM_LIST_SIZE   0x01010104

Definition at line 149 of file rndis.h.


#define OID_802_3_MULTICAST_LIST   0x01010103

Definition at line 148 of file rndis.h.


#define OID_802_3_PERMANENT_ADDRESS   0x01010101

Definition at line 146 of file rndis.h.


#define OID_802_3_RCV_ERROR_ALIGNMENT   0x01020101

Definition at line 151 of file rndis.h.


#define OID_802_3_RCV_OVERRUN   0x01020203

Definition at line 156 of file rndis.h.


#define OID_802_3_XMIT_DEFERRED   0x01020201

Definition at line 154 of file rndis.h.


#define OID_802_3_XMIT_HEARTBEAT_FAILURE   0x01020205

Definition at line 158 of file rndis.h.


#define OID_802_3_XMIT_LATE_COLLISIONS   0x01020207

Definition at line 160 of file rndis.h.


#define OID_802_3_XMIT_MAX_COLLISIONS   0x01020202

Definition at line 155 of file rndis.h.


#define OID_802_3_XMIT_MORE_COLLISIONS   0x01020103

Definition at line 153 of file rndis.h.


#define OID_802_3_XMIT_ONE_COLLISION   0x01020102

Definition at line 152 of file rndis.h.


#define OID_802_3_XMIT_TIMES_CRS_LOST   0x01020206

Definition at line 159 of file rndis.h.


#define OID_802_3_XMIT_UNDERRUN   0x01020204

Definition at line 157 of file rndis.h.


#define OID_GEN_BROADCAST_BYTES_RCV   0x0002020B

Definition at line 140 of file rndis.h.


#define OID_GEN_BROADCAST_BYTES_XMIT   0x00020205

Definition at line 134 of file rndis.h.



Definition at line 141 of file rndis.h.


#define OID_GEN_BROADCAST_FRAMES_XMIT   0x00020206

Definition at line 135 of file rndis.h.


#define OID_GEN_CURRENT_LOOKAHEAD   0x0001010F

Definition at line 103 of file rndis.h.



Definition at line 102 of file rndis.h.


#define OID_GEN_DIRECTED_BYTES_RCV   0x00020207

Definition at line 136 of file rndis.h.


#define OID_GEN_DIRECTED_BYTES_XMIT   0x00020201

Definition at line 130 of file rndis.h.


#define OID_GEN_DIRECTED_FRAMES_RCV   0x00020208

Definition at line 137 of file rndis.h.


#define OID_GEN_DIRECTED_FRAMES_XMIT   0x00020202

Definition at line 131 of file rndis.h.


#define OID_GEN_DRIVER_VERSION   0x00010110

Definition at line 104 of file rndis.h.


#define OID_GEN_HARDWARE_STATUS   0x00010102

Definition at line 90 of file rndis.h.


#define OID_GEN_LINK_SPEED   0x00010107

Definition at line 95 of file rndis.h.


#define OID_GEN_MAC_OPTIONS   0x00010113

Definition at line 107 of file rndis.h.


#define OID_GEN_MACHINE_NAME   0x0001021A

Definition at line 114 of file rndis.h.


#define OID_GEN_MAXIMUM_FRAME_SIZE   0x00010106

Definition at line 94 of file rndis.h.


#define OID_GEN_MAXIMUM_LOOKAHEAD   0x00010105

Definition at line 93 of file rndis.h.


#define OID_GEN_MAXIMUM_SEND_PACKETS   0x00010115

Definition at line 109 of file rndis.h.


#define OID_GEN_MAXIMUM_TOTAL_SIZE   0x00010111

Definition at line 105 of file rndis.h.


#define OID_GEN_MEDIA_CAPABILITIES   0x00010201

Definition at line 119 of file rndis.h.


#define OID_GEN_MEDIA_CONNECT_STATUS   0x00010114

Definition at line 108 of file rndis.h.


#define OID_GEN_MEDIA_IN_USE   0x00010104

Definition at line 92 of file rndis.h.


#define OID_GEN_MEDIA_SUPPORTED   0x00010103

Definition at line 91 of file rndis.h.


#define OID_GEN_MULTICAST_BYTES_RCV   0x00020209

Definition at line 138 of file rndis.h.


#define OID_GEN_MULTICAST_BYTES_XMIT   0x00020203

Definition at line 132 of file rndis.h.



Definition at line 139 of file rndis.h.


#define OID_GEN_MULTICAST_FRAMES_XMIT   0x00020204

Definition at line 133 of file rndis.h.



Definition at line 112 of file rndis.h.


#define OID_GEN_PHYSICAL_MEDIUM   0x00010202

Definition at line 120 of file rndis.h.


#define OID_GEN_PROTOCOL_OPTIONS   0x00010112

Definition at line 106 of file rndis.h.


#define OID_GEN_RCV_CRC_ERROR   0x0002020D

Definition at line 142 of file rndis.h.


#define OID_GEN_RCV_ERROR   0x00020104

Definition at line 126 of file rndis.h.


#define OID_GEN_RCV_NO_BUFFER   0x00020105

Definition at line 127 of file rndis.h.


#define OID_GEN_RCV_OK   0x00020102

Definition at line 124 of file rndis.h.


#define OID_GEN_RECEIVE_BLOCK_SIZE   0x0001010B

Definition at line 99 of file rndis.h.


#define OID_GEN_RECEIVE_BUFFER_SPACE   0x00010109

Definition at line 97 of file rndis.h.



Definition at line 115 of file rndis.h.


#define OID_GEN_SUPPORTED_GUIDS   0x00010117

Definition at line 111 of file rndis.h.


#define OID_GEN_SUPPORTED_LIST   0x00010101

Definition at line 89 of file rndis.h.


#define OID_GEN_TRANSMIT_BLOCK_SIZE   0x0001010A

Definition at line 98 of file rndis.h.


#define OID_GEN_TRANSMIT_BUFFER_SPACE   0x00010108

Definition at line 96 of file rndis.h.



Definition at line 143 of file rndis.h.



Definition at line 113 of file rndis.h.



Definition at line 101 of file rndis.h.


#define OID_GEN_VENDOR_DRIVER_VERSION   0x00010116

Definition at line 110 of file rndis.h.


#define OID_GEN_VENDOR_ID   0x0001010C

Definition at line 100 of file rndis.h.


#define OID_GEN_VLAN_ID   0x0001021C

Definition at line 116 of file rndis.h.


#define OID_GEN_XMIT_ERROR   0x00020103

Definition at line 125 of file rndis.h.


#define OID_GEN_XMIT_OK   0x00020101

Definition at line 123 of file rndis.h.



Definition at line 83 of file rndis.h.


#define RNDIS_DF_CONNECTIONLESS   0x00000001

Definition at line 82 of file rndis.h.


#define RNDIS_HALT_MSG   0x00000003

Definition at line 59 of file rndis.h.



Definition at line 166 of file rndis.h.



Definition at line 164 of file rndis.h.



Definition at line 167 of file rndis.h.


#define RNDIS_HARDWARE_STATUS_READY   0x00000000

Definition at line 163 of file rndis.h.


#define RNDIS_HARDWARE_STATUS_RESET   0x00000002

Definition at line 165 of file rndis.h.


#define RNDIS_INDICATE_STATUS_MSG   0x00000007

Definition at line 66 of file rndis.h.


#define RNDIS_INITIALIZE_CMPLT   0x80000002

Definition at line 58 of file rndis.h.


#define RNDIS_INITIALIZE_MSG   0x00000002

Definition at line 57 of file rndis.h.


#define RNDIS_KEEPALIVE_CMPLT   0x80000008

Definition at line 68 of file rndis.h.


#define RNDIS_KEEPALIVE_MSG   0x00000008

Definition at line 67 of file rndis.h.


#define RNDIS_MAC_ADDR   "02-00-00-12-34-02"

Definition at line 40 of file rndis.h.



Definition at line 49 of file rndis.h.



Definition at line 53 of file rndis.h.


#define RNDIS_MEDIA_STATE_CONNECTED   0x00000000

Definition at line 173 of file rndis.h.



Definition at line 174 of file rndis.h.

◆ RNDIS_MEDIUM_802_3 [1/2]

#define RNDIS_MEDIUM_802_3   0x00000000

Definition at line 170 of file rndis.h.

◆ RNDIS_MEDIUM_802_3 [2/2]

#define RNDIS_MEDIUM_802_3   0x00000000

Definition at line 170 of file rndis.h.



Definition at line 50 of file rndis.h.



Definition at line 71 of file rndis.h.


#define RNDIS_PACKET_MSG   0x00000001

Definition at line 56 of file rndis.h.



Definition at line 186 of file rndis.h.


#define RNDIS_PACKET_TYPE_ALL_LOCAL   0x00000080

Definition at line 184 of file rndis.h.



Definition at line 179 of file rndis.h.


#define RNDIS_PACKET_TYPE_BROADCAST   0x00000008

Definition at line 180 of file rndis.h.


#define RNDIS_PACKET_TYPE_DIRECTED   0x00000001

Definition at line 177 of file rndis.h.



Definition at line 187 of file rndis.h.


#define RNDIS_PACKET_TYPE_GROUP   0x00000100

Definition at line 185 of file rndis.h.


#define RNDIS_PACKET_TYPE_MAC_FRAME   0x00000800

Definition at line 188 of file rndis.h.


#define RNDIS_PACKET_TYPE_MULTICAST   0x00000002

Definition at line 178 of file rndis.h.



Definition at line 182 of file rndis.h.


#define RNDIS_PACKET_TYPE_SMT   0x00000040

Definition at line 183 of file rndis.h.



Definition at line 181 of file rndis.h.


#define RNDIS_QUERY_CMPLT   0x80000004

Definition at line 61 of file rndis.h.


#define RNDIS_QUERY_MSG   0x00000004

Definition at line 60 of file rndis.h.


#define RNDIS_RESET_CMPLT   0x80000006

Definition at line 65 of file rndis.h.


#define RNDIS_RESET_MSG   0x00000006

Definition at line 64 of file rndis.h.


#define RNDIS_SET_CMPLT   0x80000005

Definition at line 63 of file rndis.h.


#define RNDIS_SET_MSG   0x00000005

Definition at line 62 of file rndis.h.


#define RNDIS_STATUS_FAILURE   0xC0000001

Definition at line 75 of file rndis.h.


#define RNDIS_STATUS_INVALID_DATA   0xC0010015

Definition at line 76 of file rndis.h.



Definition at line 78 of file rndis.h.



Definition at line 79 of file rndis.h.



Definition at line 77 of file rndis.h.


#define RNDIS_STATUS_SUCCESS   0x00000000

Definition at line 74 of file rndis.h.



Definition at line 45 of file rndis.h.

Enumeration Type Documentation

◆ RndisState

enum RndisState

RNDIS states.


Definition at line 195 of file rndis.h.

Function Documentation

◆ rndisChangeState()

void rndisChangeState ( RndisState  newState)

Update RNDIS state.

[in]newStateNew RNDIS state to switch to

Definition at line 711 of file rndis.c.

◆ rndisFormatHaltMsg()

error_t rndisFormatHaltMsg ( void  )

Format RNDIS Halt message.

Error code

Definition at line 473 of file rndis.c.

◆ rndisFormatIndicateStatusMsg()

error_t rndisFormatIndicateStatusMsg ( uint32_t  status)

Format RNDIS Indicate Status message.

[in]statusRNDIS status code
Error code

Definition at line 499 of file rndis.c.

◆ rndisFormatInitializeCmplt()

error_t rndisFormatInitializeCmplt ( uint32_t  requestId)

Format RNDIS Initialize Cmplt message.

[in]requestIdRequest identifier
Error code

Definition at line 527 of file rndis.c.

◆ rndisFormatKeepAliveCmplt()

error_t rndisFormatKeepAliveCmplt ( uint32_t  requestId)

Format RNDIS Keep-Alive Cmplt message.

[in]requestIdRequest identifier
Error code

Definition at line 657 of file rndis.c.

◆ rndisFormatQueryCmplt()

error_t rndisFormatQueryCmplt ( uint32_t  requestId,
uint32_t  status,
uint32_t  length 

Format RNDIS Query Cmplt message.

[in]requestIdRequest identifier
[in]statusRNDIS status code
[in]lengthLength of the response data, in bytes
Error code

Definition at line 568 of file rndis.c.

◆ rndisFormatResetCmplt()

error_t rndisFormatResetCmplt ( void  )

Format RNDIS Reset Cmplt message.

Error code

Definition at line 627 of file rndis.c.

◆ rndisFormatSetCmplt()

error_t rndisFormatSetCmplt ( uint32_t  requestId,
uint32_t  status 

Format RNDIS Set Cmplt message.

[in]requestIdRequest identifier
[in]statusRNDIS status code
Error code

Definition at line 598 of file rndis.c.

◆ rndisInit()

void rndisInit ( void  )

RNDIS core initialization.

Definition at line 89 of file rndis.c.

◆ rndisProcessHaltMsg()

error_t rndisProcessHaltMsg ( const RndisHaltMsg message,
size_t  length 

Process RNDIS Halt message.

[in]messagePointer to the RNDIS message
[in]lengthLength of the RNDIS message, in bytes
Error code

Definition at line 196 of file rndis.c.

◆ rndisProcessInitializeMsg()

error_t rndisProcessInitializeMsg ( const RndisInitializeMsg message,
size_t  length 

Process RNDIS Initialize message.

[in]messagePointer to the RNDIS message
[in]lengthLength of the RNDIS message, in bytes
Error code

Definition at line 169 of file rndis.c.

◆ rndisProcessKeepAliveMsg()

error_t rndisProcessKeepAliveMsg ( const RndisKeepAliveMsg message,
size_t  length 

Process RNDIS Keep-Alive message.

[in]messagePointer to the RNDIS message
[in]lengthLength of the RNDIS message, in bytes
Error code

Definition at line 448 of file rndis.c.

◆ rndisProcessMsg()

error_t rndisProcessMsg ( const RndisMsg message,
size_t  length 

Process incoming RNDIS message.

[in]messagePointer to the RNDIS message
[in]lengthLength of the RNDIS message, in bytes
Error code

Definition at line 111 of file rndis.c.

◆ rndisProcessQueryMsg()

error_t rndisProcessQueryMsg ( const RndisQueryMsg message,
size_t  length 

Process RNDIS Query message.

[in]messagePointer to the RNDIS message
[in]lengthLength of the RNDIS message, in bytes
Error code

Definition at line 220 of file rndis.c.

◆ rndisProcessResetMsg()

error_t rndisProcessResetMsg ( const RndisResetMsg message,
size_t  length 

Process RNDIS Reset message.

[in]messagePointer to the RNDIS message
[in]lengthLength of the RNDIS message, in bytes
Error code

Definition at line 418 of file rndis.c.

◆ rndisProcessSetMsg()

error_t rndisProcessSetMsg ( const RndisSetMsg message,
size_t  length 

Process RNDIS Set message.

[in]messagePointer to the RNDIS message
[in]lengthLength of the RNDIS message, in bytes
Error code

Definition at line 369 of file rndis.c.

◆ rndisSendNotification()

error_t rndisSendNotification ( uint32_t  notification)

Send RNDIS notification message.

[in]notificationDevice notification
Error code

Definition at line 684 of file rndis.c.

Variable Documentation

◆ rndisContext

RndisContext rndisContext

Definition at line 54 of file rndis.c.