Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
rndis_filter.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/wait.h>
#include <linux/highmem.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/if_ether.h>
#include <linux/netdevice.h>
#include <linux/if_vlan.h>
#include <linux/nls.h>
#include "hyperv_net.h"

Go to the source code of this file.

Data Structures

struct  rndis_request
 

Macros

#define RNDIS_EXT_LEN   100
 
#define NWADR_STR   "NetworkAddress"
 
#define NWADR_STRLEN   14
 

Functions

int rndis_filter_receive (struct hv_device *dev, struct hv_netvsc_packet *pkt)
 
int rndis_filter_set_device_mac (struct hv_device *hdev, char *mac)
 
int rndis_filter_set_packet_filter (struct rndis_device *dev, u32 new_filter)
 
int rndis_filter_device_add (struct hv_device *dev, void *additional_info)
 
void rndis_filter_device_remove (struct hv_device *dev)
 
int rndis_filter_open (struct hv_device *dev)
 
int rndis_filter_close (struct hv_device *dev)
 
int rndis_filter_send (struct hv_device *dev, struct hv_netvsc_packet *pkt)
 

Macro Definition Documentation

#define NWADR_STR   "NetworkAddress"

Definition at line 546 of file rndis_filter.c.

#define NWADR_STRLEN   14

Definition at line 547 of file rndis_filter.c.

#define RNDIS_EXT_LEN   100

Definition at line 35 of file rndis_filter.c.

Function Documentation

int rndis_filter_close ( struct hv_device *  dev)

Definition at line 897 of file rndis_filter.c.

int rndis_filter_device_add ( struct hv_device *  dev,
void additional_info 
)

Definition at line 815 of file rndis_filter.c.

void rndis_filter_device_remove ( struct hv_device *  dev)

Definition at line 872 of file rndis_filter.c.

int rndis_filter_open ( struct hv_device *  dev)

Definition at line 887 of file rndis_filter.c.

int rndis_filter_receive ( struct hv_device *  dev,
struct hv_netvsc_packet pkt 
)

Definition at line 409 of file rndis_filter.c.

int rndis_filter_send ( struct hv_device *  dev,
struct hv_netvsc_packet pkt 
)

Definition at line 907 of file rndis_filter.c.

int rndis_filter_set_device_mac ( struct hv_device *  hdev,
char mac 
)

Definition at line 549 of file rndis_filter.c.

int rndis_filter_set_packet_filter ( struct rndis_device dev,
u32  new_filter 
)

Definition at line 637 of file rndis_filter.c.