Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
rndis.h File Reference
#include <linux/rndis.h>
#include "ndis.h"

Go to the source code of this file.

Data Structures

struct  rndis_init_msg_type
 
struct  rndis_init_cmplt_type
 
struct  rndis_halt_msg_type
 
struct  rndis_query_msg_type
 
struct  rndis_query_cmplt_type
 
struct  rndis_set_msg_type
 
struct  rndis_set_cmplt_type
 
struct  rndis_reset_msg_type
 
struct  rndis_reset_cmplt_type
 
struct  rndis_indicate_status_msg_type
 
struct  rndis_keepalive_msg_type
 
struct  rndis_keepalive_cmplt_type
 
struct  rndis_packet_msg_type
 
struct  rndis_config_parameter
 
struct  rndis_resp_t
 
struct  rndis_params
 

Macros

#define RNDIS_MAXIMUM_FRAME_SIZE   1518
 
#define RNDIS_MAX_TOTAL_SIZE   1558
 

Typedefs

typedef struct rndis_init_msg_type rndis_init_msg_type
 
typedef struct
rndis_init_cmplt_type 
rndis_init_cmplt_type
 
typedef struct rndis_halt_msg_type rndis_halt_msg_type
 
typedef struct rndis_query_msg_type rndis_query_msg_type
 
typedef struct
rndis_query_cmplt_type 
rndis_query_cmplt_type
 
typedef struct rndis_set_msg_type rndis_set_msg_type
 
typedef struct rndis_set_cmplt_type rndis_set_cmplt_type
 
typedef struct rndis_reset_msg_type rndis_reset_msg_type
 
typedef struct
rndis_reset_cmplt_type 
rndis_reset_cmplt_type
 
typedef struct
rndis_indicate_status_msg_type 
rndis_indicate_status_msg_type
 
typedef struct
rndis_keepalive_msg_type 
rndis_keepalive_msg_type
 
typedef struct
rndis_keepalive_cmplt_type 
rndis_keepalive_cmplt_type
 
typedef struct rndis_resp_t rndis_resp_t
 
typedef struct rndis_params rndis_params
 

Enumerations

enum  rndis_state {
  RNDIS_UNINITIALIZED, RNDIS_INITIALIZED, RNDIS_DATA_INITIALIZED, RNDIS_UNINITIALIZED,
  RNDIS_INITIALIZED, RNDIS_DATA_INITIALIZED
}
 

Functions

struct rndis_packet_msg_type __attribute__ ((packed))
 
int rndis_msg_parser (u8 configNr, u8 *buf)
 
int rndis_register (void(*resp_avail)(void *v), void *v)
 
void rndis_deregister (int configNr)
 
int rndis_set_param_dev (u8 configNr, struct net_device *dev, u16 *cdc_filter)
 
int rndis_set_param_vendor (u8 configNr, u32 vendorID, const char *vendorDescr)
 
int rndis_set_param_medium (u8 configNr, u32 medium, u32 speed)
 
void rndis_add_hdr (struct sk_buff *skb)
 
int rndis_rm_hdr (struct gether *port, struct sk_buff *skb, struct sk_buff_head *list)
 
u8rndis_get_next_response (int configNr, u32 *length)
 
void rndis_free_response (int configNr, u8 *buf)
 
void rndis_uninit (int configNr)
 
int rndis_signal_connect (int configNr)
 
int rndis_signal_disconnect (int configNr)
 
int rndis_state (int configNr)
 
void rndis_set_host_mac (int configNr, const u8 *addr)
 
int rndis_init (void)
 
void rndis_exit (void)
 

Variables

__le32 MessageType
 
__le32 MessageLength
 
__le32 DataOffset
 
__le32 DataLength
 
__le32 OOBDataOffset
 
__le32 OOBDataLength
 
__le32 NumOOBDataElements
 
__le32 PerPacketInfoOffset
 
__le32 PerPacketInfoLength
 
__le32 VcHandle
 
__le32 Reserved
 
struct rndis_config_parameter __attribute__
 

Macro Definition Documentation

#define RNDIS_MAX_TOTAL_SIZE   1558

Definition at line 22 of file rndis.h.

#define RNDIS_MAXIMUM_FRAME_SIZE   1518

Definition at line 21 of file rndis.h.

Typedef Documentation

Enumeration Type Documentation

Enumerator:
RNDIS_UNINITIALIZED 
RNDIS_INITIALIZED 
RNDIS_DATA_INITIALIZED 
RNDIS_UNINITIALIZED 
RNDIS_INITIALIZED 
RNDIS_DATA_INITIALIZED 

Definition at line 162 of file rndis.h.

Function Documentation

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

void rndis_add_hdr ( struct sk_buff skb)

Definition at line 939 of file rndis.c.

void rndis_deregister ( int  configNr)

Definition at line 895 of file rndis.c.

void rndis_exit ( void  )

Definition at line 1164 of file rndis.c.

void rndis_free_response ( int  configNr,
u8 buf 
)

Definition at line 953 of file rndis.c.

u8* rndis_get_next_response ( int  configNr,
u32 length 
)

Definition at line 969 of file rndis.c.

Definition at line 1131 of file rndis.c.

int rndis_msg_parser ( u8  configNr,
u8 buf 
)

Definition at line 795 of file rndis.c.

int rndis_register ( void(*)(void *v resp_avail,
void v 
)

Definition at line 874 of file rndis.c.

int rndis_rm_hdr ( struct gether port,
struct sk_buff skb,
struct sk_buff_head list 
)

Definition at line 1007 of file rndis.c.

void rndis_set_host_mac ( int  configNr,
const u8 addr 
)

Definition at line 787 of file rndis.c.

int rndis_set_param_dev ( u8  configNr,
struct net_device dev,
u16 cdc_filter 
)

Definition at line 903 of file rndis.c.

int rndis_set_param_medium ( u8  configNr,
u32  medium,
u32  speed 
)

Definition at line 928 of file rndis.c.

int rndis_set_param_vendor ( u8  configNr,
u32  vendorID,
const char vendorDescr 
)

Definition at line 916 of file rndis.c.

int rndis_signal_connect ( int  configNr)

Definition at line 757 of file rndis.c.

int rndis_signal_disconnect ( int  configNr)

Definition at line 765 of file rndis.c.

int rndis_state ( int  configNr)
void rndis_uninit ( int  configNr)

Definition at line 773 of file rndis.c.

Variable Documentation

__le32 DataLength

Definition at line 154 of file rndis.h.

__le32 DataOffset

Definition at line 153 of file rndis.h.

__le32 MessageLength

Definition at line 152 of file rndis.h.

__le32 MessageType

Definition at line 151 of file rndis.h.

__le32 NumOOBDataElements

Definition at line 157 of file rndis.h.

__le32 OOBDataLength

Definition at line 156 of file rndis.h.

__le32 OOBDataOffset

Definition at line 155 of file rndis.h.

__le32 PerPacketInfoLength

Definition at line 159 of file rndis.h.

__le32 PerPacketInfoOffset

Definition at line 158 of file rndis.h.

__le32 Reserved

Definition at line 161 of file rndis.h.

__le32 VcHandle

Definition at line 160 of file rndis.h.