RNDIS (Remote Network Driver Interface Specification) More...
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... | |
Enumerations | |
enum | RndisState { RNDIS_STATE_UNINITIALIZED = 0, RNDIS_STATE_BUS_INITIALIZED = 1, RNDIS_STATE_INITIALIZED = 2, RNDIS_STATE_DATA_INITIALIZED = 3 } |
RNDIS states. More... | |
Functions | |
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... | |
Variables | |
RndisContext | rndisContext |
Detailed Description
RNDIS (Remote Network Driver Interface Specification)
License
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.
- Version
- 2.4.4
Definition in file rndis.h.
Macro Definition Documentation
◆ OID_802_3_CURRENT_ADDRESS
◆ OID_802_3_MAC_OPTIONS
◆ OID_802_3_MAXIMUM_LIST_SIZE
◆ OID_802_3_MULTICAST_LIST
◆ OID_802_3_PERMANENT_ADDRESS
◆ OID_802_3_RCV_ERROR_ALIGNMENT
◆ OID_802_3_RCV_OVERRUN
◆ OID_802_3_XMIT_DEFERRED
◆ OID_802_3_XMIT_HEARTBEAT_FAILURE
◆ OID_802_3_XMIT_LATE_COLLISIONS
◆ OID_802_3_XMIT_MAX_COLLISIONS
◆ OID_802_3_XMIT_MORE_COLLISIONS
◆ OID_802_3_XMIT_ONE_COLLISION
◆ OID_802_3_XMIT_TIMES_CRS_LOST
◆ OID_802_3_XMIT_UNDERRUN
◆ OID_GEN_BROADCAST_BYTES_RCV
◆ OID_GEN_BROADCAST_BYTES_XMIT
◆ OID_GEN_BROADCAST_FRAMES_RCV
◆ OID_GEN_BROADCAST_FRAMES_XMIT
◆ OID_GEN_CURRENT_LOOKAHEAD
◆ OID_GEN_CURRENT_PACKET_FILTER
◆ OID_GEN_DIRECTED_BYTES_RCV
◆ OID_GEN_DIRECTED_BYTES_XMIT
◆ OID_GEN_DIRECTED_FRAMES_RCV
◆ OID_GEN_DIRECTED_FRAMES_XMIT
◆ OID_GEN_DRIVER_VERSION
◆ OID_GEN_HARDWARE_STATUS
◆ OID_GEN_LINK_SPEED
◆ OID_GEN_MAC_OPTIONS
◆ OID_GEN_MACHINE_NAME
◆ OID_GEN_MAXIMUM_FRAME_SIZE
◆ OID_GEN_MAXIMUM_LOOKAHEAD
◆ OID_GEN_MAXIMUM_SEND_PACKETS
◆ OID_GEN_MAXIMUM_TOTAL_SIZE
◆ OID_GEN_MEDIA_CAPABILITIES
◆ OID_GEN_MEDIA_CONNECT_STATUS
◆ OID_GEN_MEDIA_IN_USE
◆ OID_GEN_MEDIA_SUPPORTED
◆ OID_GEN_MULTICAST_BYTES_RCV
◆ OID_GEN_MULTICAST_BYTES_XMIT
◆ OID_GEN_MULTICAST_FRAMES_RCV
◆ OID_GEN_MULTICAST_FRAMES_XMIT
◆ OID_GEN_NETWORK_LAYER_ADDRESSES
◆ OID_GEN_PHYSICAL_MEDIUM
◆ OID_GEN_PROTOCOL_OPTIONS
◆ OID_GEN_RCV_CRC_ERROR
◆ OID_GEN_RCV_ERROR
◆ OID_GEN_RCV_NO_BUFFER
◆ OID_GEN_RCV_OK
◆ OID_GEN_RECEIVE_BLOCK_SIZE
◆ OID_GEN_RECEIVE_BUFFER_SPACE
◆ OID_GEN_RNDIS_CONFIG_PARAMETER
◆ OID_GEN_SUPPORTED_GUIDS
◆ OID_GEN_SUPPORTED_LIST
◆ OID_GEN_TRANSMIT_BLOCK_SIZE
◆ OID_GEN_TRANSMIT_BUFFER_SPACE
◆ OID_GEN_TRANSMIT_QUEUE_LENGTH
◆ OID_GEN_TRANSPORT_HEADER_OFFSET
◆ OID_GEN_VENDOR_DESCRIPTION
◆ OID_GEN_VENDOR_DRIVER_VERSION
◆ OID_GEN_VENDOR_ID
◆ OID_GEN_VLAN_ID
◆ OID_GEN_XMIT_ERROR
◆ OID_GEN_XMIT_OK
◆ RNDIS_DF_CONNECTION_ORIENTED
◆ RNDIS_DF_CONNECTIONLESS
◆ RNDIS_HALT_MSG
◆ RNDIS_HARDWARE_STATUS_CLOSING
◆ RNDIS_HARDWARE_STATUS_INITIALIZING
◆ RNDIS_HARDWARE_STATUS_NOT_READY
◆ RNDIS_HARDWARE_STATUS_READY
◆ RNDIS_HARDWARE_STATUS_RESET
◆ RNDIS_INDICATE_STATUS_MSG
◆ RNDIS_INITIALIZE_CMPLT
◆ RNDIS_INITIALIZE_MSG
◆ RNDIS_KEEPALIVE_CMPLT
◆ RNDIS_KEEPALIVE_MSG
◆ RNDIS_MAC_ADDR
◆ RNDIS_MAJOR_VERSION
◆ RNDIS_MAX_TRANSFER_SIZE
◆ RNDIS_MEDIA_STATE_CONNECTED
◆ RNDIS_MEDIA_STATE_DISCONNECTED
◆ RNDIS_MEDIUM_802_3 [1/2]
◆ RNDIS_MEDIUM_802_3 [2/2]
◆ RNDIS_MINOR_VERSION
◆ RNDIS_NOTIFICATION_RESP_AVAILABLE
◆ RNDIS_PACKET_MSG
◆ RNDIS_PACKET_TYPE_ALL_FUNCTIONAL
◆ RNDIS_PACKET_TYPE_ALL_LOCAL
◆ RNDIS_PACKET_TYPE_ALL_MULTICAST
◆ RNDIS_PACKET_TYPE_BROADCAST
◆ RNDIS_PACKET_TYPE_DIRECTED
◆ RNDIS_PACKET_TYPE_FUNCTIONAL
◆ RNDIS_PACKET_TYPE_GROUP
◆ RNDIS_PACKET_TYPE_MAC_FRAME
◆ RNDIS_PACKET_TYPE_MULTICAST
◆ RNDIS_PACKET_TYPE_PROMISCUOUS
◆ RNDIS_PACKET_TYPE_SMT
◆ RNDIS_PACKET_TYPE_SOURCE_ROUTING
◆ RNDIS_QUERY_CMPLT
◆ RNDIS_QUERY_MSG
◆ RNDIS_RESET_CMPLT
◆ RNDIS_RESET_MSG
◆ RNDIS_SET_CMPLT
◆ RNDIS_SET_MSG
◆ RNDIS_STATUS_FAILURE
◆ RNDIS_STATUS_INVALID_DATA
◆ RNDIS_STATUS_MEDIA_CONNECT
◆ RNDIS_STATUS_MEDIA_DISCONNECT
◆ RNDIS_STATUS_NOT_SUPPORTED
◆ RNDIS_STATUS_SUCCESS
◆ RNDIS_VENDOR_DESCRIPTION
Enumeration Type Documentation
◆ RndisState
enum RndisState |
Function Documentation
◆ rndisChangeState()
void rndisChangeState | ( | RndisState | newState | ) |
◆ rndisFormatHaltMsg()
error_t rndisFormatHaltMsg | ( | void | ) |
◆ rndisFormatIndicateStatusMsg()
error_t rndisFormatIndicateStatusMsg | ( | uint32_t | status | ) |
◆ rndisFormatInitializeCmplt()
error_t rndisFormatInitializeCmplt | ( | uint32_t | requestId | ) |
◆ rndisFormatKeepAliveCmplt()
error_t rndisFormatKeepAliveCmplt | ( | uint32_t | requestId | ) |
◆ rndisFormatQueryCmplt()
error_t rndisFormatQueryCmplt | ( | uint32_t | requestId, |
uint32_t | status, | ||
uint32_t | length | ||
) |
◆ rndisFormatResetCmplt()
error_t rndisFormatResetCmplt | ( | void | ) |
◆ rndisFormatSetCmplt()
error_t rndisFormatSetCmplt | ( | uint32_t | requestId, |
uint32_t | status | ||
) |
◆ rndisInit()
◆ rndisProcessHaltMsg()
error_t rndisProcessHaltMsg | ( | const RndisHaltMsg * | message, |
size_t | length | ||
) |
◆ rndisProcessInitializeMsg()
error_t rndisProcessInitializeMsg | ( | const RndisInitializeMsg * | message, |
size_t | length | ||
) |
◆ rndisProcessKeepAliveMsg()
error_t rndisProcessKeepAliveMsg | ( | const RndisKeepAliveMsg * | message, |
size_t | length | ||
) |
◆ rndisProcessMsg()
◆ rndisProcessQueryMsg()
error_t rndisProcessQueryMsg | ( | const RndisQueryMsg * | message, |
size_t | length | ||
) |
◆ rndisProcessResetMsg()
error_t rndisProcessResetMsg | ( | const RndisResetMsg * | message, |
size_t | length | ||
) |
◆ rndisProcessSetMsg()
error_t rndisProcessSetMsg | ( | const RndisSetMsg * | message, |
size_t | length | ||
) |
◆ rndisSendNotification()
error_t rndisSendNotification | ( | uint32_t | notification | ) |
Variable Documentation
◆ rndisContext
|
extern |