FreeBSD kernel usb device Code
if_urndisreg.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  urndis_softc
 

Macros

#define RNDIS_RESPONSE_LEN   1024 /* bytes */
 
#define RNDIS_RX_MAXLEN   (16 * 1024)
 
#define RNDIS_TX_FRAMES_MAX   8
 
#define RNDIS_TX_MAXLEN   MCLBYTES
 
#define URNDIS_LOCK(sc)   mtx_lock(&(sc)->sc_mtx)
 
#define URNDIS_UNLOCK(sc)   mtx_unlock(&(sc)->sc_mtx)
 
#define URNDIS_LOCK_ASSERT(sc, what)   mtx_assert(&(sc)->sc_mtx, (what))
 

Enumerations

enum  { URNDIS_BULK_RX , URNDIS_BULK_TX , URNDIS_INTR_RX , URNDIS_N_TRANSFER }
 

Macro Definition Documentation

◆ RNDIS_RESPONSE_LEN

#define RNDIS_RESPONSE_LEN   1024 /* bytes */

Definition at line 26 of file if_urndisreg.h.

◆ RNDIS_RX_MAXLEN

#define RNDIS_RX_MAXLEN   (16 * 1024)

Definition at line 27 of file if_urndisreg.h.

◆ RNDIS_TX_FRAMES_MAX

#define RNDIS_TX_FRAMES_MAX   8

Definition at line 28 of file if_urndisreg.h.

◆ RNDIS_TX_MAXLEN

#define RNDIS_TX_MAXLEN   MCLBYTES

Definition at line 29 of file if_urndisreg.h.

◆ URNDIS_LOCK

#define URNDIS_LOCK (   sc)    mtx_lock(&(sc)->sc_mtx)

Definition at line 53 of file if_urndisreg.h.

◆ URNDIS_LOCK_ASSERT

#define URNDIS_LOCK_ASSERT (   sc,
  what 
)    mtx_assert(&(sc)->sc_mtx, (what))

Definition at line 55 of file if_urndisreg.h.

◆ URNDIS_UNLOCK

#define URNDIS_UNLOCK (   sc)    mtx_unlock(&(sc)->sc_mtx)

Definition at line 54 of file if_urndisreg.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
URNDIS_BULK_RX 
URNDIS_BULK_TX 
URNDIS_INTR_RX 
URNDIS_N_TRANSFER 

Definition at line 31 of file if_urndisreg.h.