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

Go to the source code of this file.

Data Structures

struct  rndis_msg_hdr
 
struct  rndis_data_hdr
 
struct  rndis_init
 
struct  rndis_init_c
 
struct  rndis_halt
 
struct  rndis_query
 
struct  rndis_query_c
 
struct  rndis_set
 
struct  rndis_set_c
 
struct  rndis_reset
 
struct  rndis_reset_c
 
struct  rndis_indicate
 
struct  rndis_keepalive
 
struct  rndis_keepalive_c
 

Macros

#define CONTROL_BUFFER_SIZE   1025
 
#define RNDIS_CONTROL_TIMEOUT_MS   (5 * 1000)
 
#define RNDIS_DEFAULT_FILTER
 
#define FLAG_RNDIS_PHYM_NOT_WIRELESS   0x0001
 
#define FLAG_RNDIS_PHYM_WIRELESS   0x0002
 
#define RNDIS_DRIVER_DATA_POLL_STATUS   1 /* poll status before control */
 

Functions

struct rndis_msg_hdr __attribute__ ((packed))
 
void rndis_status (struct usbnet *dev, struct urb *urb)
 
int rndis_command (struct usbnet *dev, struct rndis_msg_hdr *buf, int buflen)
 
int generic_rndis_bind (struct usbnet *dev, struct usb_interface *intf, int flags)
 
void rndis_unbind (struct usbnet *dev, struct usb_interface *intf)
 
int rndis_rx_fixup (struct usbnet *dev, struct sk_buff *skb)
 
struct sk_buffrndis_tx_fixup (struct usbnet *dev, struct sk_buff *skb, gfp_t flags)
 

Variables

__le32 msg_type
 
__le32 msg_len
 
__le32 request_id
 
__le32 status
 
__le32 data_offset
 
__le32 data_len
 
__le32 oob_data_offset
 
__le32 oob_data_len
 
__le32 num_oob
 
__le32 packet_data_offset
 
__le32 packet_data_len
 
__le32 vc_handle
 
__le32 reserved
 
__le32 major_version
 
__le32 minor_version
 
__le32 max_transfer_size
 
__le32 device_flags
 
__le32 medium
 
__le32 max_packets_per_message
 
__le32 packet_alignment
 
__le32 af_list_offset
 
__le32 af_list_size
 
__le32 oid
 
__le32 len
 
__le32 offset
 
__le32 handle
 
__le32 addressing_lost
 
__le32 length
 
__le32 diag_status
 
__le32 error_offset
 
__le32 message
 

Macro Definition Documentation

#define CONTROL_BUFFER_SIZE   1025

Definition at line 46 of file rndis_host.h.

#define FLAG_RNDIS_PHYM_NOT_WIRELESS   0x0001

Definition at line 194 of file rndis_host.h.

#define FLAG_RNDIS_PHYM_WIRELESS   0x0002

Definition at line 195 of file rndis_host.h.

#define RNDIS_CONTROL_TIMEOUT_MS   (5 * 1000)

Definition at line 52 of file rndis_host.h.

#define RNDIS_DEFAULT_FILTER
Value:
( \
RNDIS_PACKET_TYPE_DIRECTED | \
RNDIS_PACKET_TYPE_BROADCAST | \
RNDIS_PACKET_TYPE_ALL_MULTICAST | \
RNDIS_PACKET_TYPE_PROMISCUOUS)

Definition at line 187 of file rndis_host.h.

#define RNDIS_DRIVER_DATA_POLL_STATUS   1 /* poll status before control */

Definition at line 198 of file rndis_host.h.

Function Documentation

struct rndis_msg_hdr __attribute__ ( (packed)  )
read

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.

int generic_rndis_bind ( struct usbnet dev,
struct usb_interface intf,
int  flags 
)

Definition at line 301 of file rndis_host.c.

int rndis_command ( struct usbnet dev,
struct rndis_msg_hdr buf,
int  buflen 
)

Definition at line 105 of file rndis_host.c.

int rndis_rx_fixup ( struct usbnet dev,
struct sk_buff skb 
)

Definition at line 496 of file rndis_host.c.

void rndis_status ( struct usbnet dev,
struct urb urb 
)

Definition at line 59 of file rndis_host.c.

struct sk_buff* rndis_tx_fixup ( struct usbnet dev,
struct sk_buff skb,
gfp_t  flags 
)
read

Definition at line 541 of file rndis_host.c.

void rndis_unbind ( struct usbnet dev,
struct usb_interface intf 
)

Definition at line 476 of file rndis_host.c.

Variable Documentation

__le32 addressing_lost

Definition at line 162 of file rndis_host.h.

__le32 af_list_offset

Definition at line 108 of file rndis_host.h.

__le32 af_list_size

Definition at line 109 of file rndis_host.h.

__le32 data_len

Definition at line 72 of file rndis_host.h.

__le32 data_offset

Definition at line 71 of file rndis_host.h.

__le32 device_flags

Definition at line 103 of file rndis_host.h.

Definition at line 176 of file rndis_host.h.

__le32 error_offset

Definition at line 177 of file rndis_host.h.

Definition at line 121 of file rndis_host.h.

__le32 len

Definition at line 119 of file rndis_host.h.

__le32 length

Definition at line 174 of file rndis_host.h.

__le32 major_version

Definition at line 83 of file rndis_host.h.

__le32 max_packets_per_message

Definition at line 105 of file rndis_host.h.

__le32 max_transfer_size

Definition at line 85 of file rndis_host.h.

__le32 medium

Definition at line 104 of file rndis_host.h.

Definition at line 178 of file rndis_host.h.

__le32 minor_version

Definition at line 84 of file rndis_host.h.

__le32 msg_len

Definition at line 45 of file rndis_host.h.

__le32 msg_type

Definition at line 44 of file rndis_host.h.

__le32 num_oob

Definition at line 76 of file rndis_host.h.

Definition at line 120 of file rndis_host.h.

__le32 oid

Definition at line 118 of file rndis_host.h.

__le32 oob_data_len

Definition at line 75 of file rndis_host.h.

__le32 oob_data_offset

Definition at line 74 of file rndis_host.h.

__le32 packet_alignment

Definition at line 107 of file rndis_host.h.

__le32 packet_data_len

Definition at line 79 of file rndis_host.h.

__le32 packet_data_offset

Definition at line 77 of file rndis_host.h.

Definition at line 47 of file rndis_host.h.

__le32 reserved

Definition at line 81 of file rndis_host.h.

Definition at line 48 of file rndis_host.h.

__le32 vc_handle

Definition at line 80 of file rndis_host.h.