Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rndis.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <linux/seq_file.h>
#include <linux/netdevice.h>
#include <asm/io.h>
#include <asm/byteorder.h>
#include <asm/unaligned.h>
#include "rndis.h"

Go to the source code of this file.

Macros

#define rndis_debug   0
 
#define RNDIS_MAX_CONFIGS   1
 

Functions

int rndis_signal_connect (int configNr)
 
int rndis_signal_disconnect (int configNr)
 
void rndis_uninit (int configNr)
 
void rndis_set_host_mac (int configNr, const u8 *addr)
 
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)
 
void rndis_free_response (int configNr, u8 *buf)
 
u8rndis_get_next_response (int configNr, u32 *length)
 
int rndis_rm_hdr (struct gether *port, struct sk_buff *skb, struct sk_buff_head *list)
 
int rndis_init (void)
 
void rndis_exit (void)
 

Macro Definition Documentation

#define rndis_debug   0

Definition at line 57 of file rndis.c.

#define RNDIS_MAX_CONFIGS   1

Definition at line 60 of file rndis.c.

Function Documentation

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.

void rndis_uninit ( int  configNr)

Definition at line 773 of file rndis.c.