rndis_debug.h File Reference

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

#include "rndis.h"

Go to the source code of this file.

Data Structures

struct  RndisValueName
 Value/name pair. More...
 

Functions

error_t rndisDumpMsg (const RndisMsg *message, size_t length)
 Dump RNDIS message for debugging purpose. More...
 
error_t rndisDumpPacketMsg (const RndisPacketMsg *message, size_t length)
 Dump REMOTE_NDIS_PACKET_MSG message. More...
 
error_t rndisDumpInitializeMsg (const RndisInitializeMsg *message, size_t length)
 Dump REMOTE_NDIS_INITIALIZE_MSG message. More...
 
error_t rndisDumpHaltMsg (const RndisHaltMsg *message, size_t length)
 Dump REMOTE_NDIS_HALT_MSG message. More...
 
error_t rndisDumpQueryMsg (const RndisQueryMsg *message, size_t length)
 Dump REMOTE_NDIS_QUERY_MSG message. More...
 
error_t rndisDumpSetMsg (const RndisSetMsg *message, size_t length)
 Dump REMOTE_NDIS_SET_MSG message. More...
 
error_t rndisDumpResetMsg (const RndisResetMsg *message, size_t length)
 Dump REMOTE_NDIS_RESET_MSG message. More...
 
error_t rndisDumpIndicateStatusMsg (const RndisIndicateStatusMsg *message, size_t length)
 Dump REMOTE_NDIS_INDICATE_STATUS_MSG message. More...
 
error_t rndisDumpKeepAliveMsg (const RndisKeepAliveMsg *message, size_t length)
 Dump REMOTE_NDIS_KEEPALIVE_MSG message. More...
 
error_t rndisDumpInitializeCmplt (const RndisInitializeCmplt *message, size_t length)
 Dump REMOTE_NDIS_INITIALIZE_CMPLT message. More...
 
error_t rndisDumpQueryCmplt (const RndisQueryCmplt *message, size_t length)
 Dump REMOTE_NDIS_QUERY_CMPLT message. More...
 
error_t rndisDumpSetCmplt (const RndisSetCmplt *message, size_t length)
 Dump REMOTE_NDIS_SET_CMPLT message. More...
 
error_t rndisDumpResetCmplt (const RndisResetCmplt *message, size_t length)
 Dump REMOTE_NDIS_RESET_CMPLT message. More...
 
error_t rndisDumpKeepAliveCmplt (const RndisKeepAliveCmplt *message, size_t length)
 Dump REMOTE_NDIS_KEEPALIVE_CMPLT message. More...
 
const char_trndisFindName (uint32_t value, const RndisValueName *table, size_t size)
 Helper function. More...
 

Detailed Description

RNDIS (Remote Network Driver Interface Specification)

License

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

This file is part of CycloneTCP Pro.

This software is provided under a commercial license. You may use this software under the conditions stated in the license terms. This source code cannot be redistributed.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
1.9.0

Definition in file rndis_debug.h.

Function Documentation

◆ rndisDumpHaltMsg()

error_t rndisDumpHaltMsg ( const RndisHaltMsg message,
size_t  length 
)

Dump REMOTE_NDIS_HALT_MSG message.

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

Definition at line 261 of file rndis_debug.c.

◆ rndisDumpIndicateStatusMsg()

error_t rndisDumpIndicateStatusMsg ( const RndisIndicateStatusMsg message,
size_t  length 
)

Dump REMOTE_NDIS_INDICATE_STATUS_MSG message.

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

Definition at line 393 of file rndis_debug.c.

◆ rndisDumpInitializeCmplt()

error_t rndisDumpInitializeCmplt ( const RndisInitializeCmplt message,
size_t  length 
)

Dump REMOTE_NDIS_INITIALIZE_CMPLT message.

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

Definition at line 469 of file rndis_debug.c.

◆ rndisDumpInitializeMsg()

error_t rndisDumpInitializeMsg ( const RndisInitializeMsg message,
size_t  length 
)

Dump REMOTE_NDIS_INITIALIZE_MSG message.

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

Definition at line 237 of file rndis_debug.c.

◆ rndisDumpKeepAliveCmplt()

error_t rndisDumpKeepAliveCmplt ( const RndisKeepAliveCmplt message,
size_t  length 
)

Dump REMOTE_NDIS_KEEPALIVE_CMPLT message.

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

Definition at line 615 of file rndis_debug.c.

◆ rndisDumpKeepAliveMsg()

error_t rndisDumpKeepAliveMsg ( const RndisKeepAliveMsg message,
size_t  length 
)

Dump REMOTE_NDIS_KEEPALIVE_MSG message.

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

Definition at line 448 of file rndis_debug.c.

◆ rndisDumpMsg()

error_t rndisDumpMsg ( const RndisMsg message,
size_t  length 
)

Dump RNDIS message for debugging purpose.

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

Definition at line 112 of file rndis_debug.c.

◆ rndisDumpPacketMsg()

error_t rndisDumpPacketMsg ( const RndisPacketMsg message,
size_t  length 
)

Dump REMOTE_NDIS_PACKET_MSG message.

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

Definition at line 208 of file rndis_debug.c.

◆ rndisDumpQueryCmplt()

error_t rndisDumpQueryCmplt ( const RndisQueryCmplt message,
size_t  length 
)

Dump REMOTE_NDIS_QUERY_CMPLT message.

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

Definition at line 509 of file rndis_debug.c.

◆ rndisDumpQueryMsg()

error_t rndisDumpQueryMsg ( const RndisQueryMsg message,
size_t  length 
)

Dump REMOTE_NDIS_QUERY_MSG message.

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

Definition at line 282 of file rndis_debug.c.

◆ rndisDumpResetCmplt()

error_t rndisDumpResetCmplt ( const RndisResetCmplt message,
size_t  length 
)

Dump REMOTE_NDIS_RESET_CMPLT message.

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

Definition at line 584 of file rndis_debug.c.

◆ rndisDumpResetMsg()

error_t rndisDumpResetMsg ( const RndisResetMsg message,
size_t  length 
)

Dump REMOTE_NDIS_RESET_MSG message.

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

Definition at line 372 of file rndis_debug.c.

◆ rndisDumpSetCmplt()

error_t rndisDumpSetCmplt ( const RndisSetCmplt message,
size_t  length 
)

Dump REMOTE_NDIS_SET_CMPLT message.

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

Definition at line 553 of file rndis_debug.c.

◆ rndisDumpSetMsg()

error_t rndisDumpSetMsg ( const RndisSetMsg message,
size_t  length 
)

Dump REMOTE_NDIS_SET_MSG message.

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

Definition at line 327 of file rndis_debug.c.

◆ rndisFindName()

const char_t* rndisFindName ( uint32_t  value,
const RndisValueName table,
size_t  size 
)

Helper function.

Parameters
[in]value32-bit value
[in]tableLook-up table
[in]sizeNumber of entries in the look-up table
Returns
Pointer to the matching name, if any

Definition at line 647 of file rndis_debug.c.