Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
int | netvsc_device_add (struct hv_device *device, void *additional_info) |
int | netvsc_device_remove (struct hv_device *device) |
int | netvsc_send (struct hv_device *device, struct hv_netvsc_packet *packet) |
void | netvsc_linkstatus_callback (struct hv_device *device_obj, unsigned int status) |
int | netvsc_recv_callback (struct hv_device *device_obj, struct hv_netvsc_packet *packet) |
int | rndis_filter_open (struct hv_device *dev) |
int | rndis_filter_close (struct hv_device *dev) |
int | rndis_filter_device_add (struct hv_device *dev, void *additional_info) |
void | rndis_filter_device_remove (struct hv_device *dev) |
int | rndis_filter_receive (struct hv_device *dev, struct hv_netvsc_packet *pkt) |
int | rndis_filter_send (struct hv_device *dev, struct hv_netvsc_packet *pkt) |
int | rndis_filter_set_packet_filter (struct rndis_device *dev, u32 new_filter) |
int | rndis_filter_set_device_mac (struct hv_device *hdev, char *mac) |
Variables | |
struct nvsp_message_init | __packed |
#define __struct_bcount | ( | x | ) |
Definition at line 889 of file hyperv_net.h.
Definition at line 877 of file hyperv_net.h.
Definition at line 865 of file hyperv_net.h.
#define MESSAGE_TO_OOBD_BUFFER | ( | msg | ) | (((unsigned char *)(msg)) + msg->oob_data_offset) |
Definition at line 873 of file hyperv_net.h.
Definition at line 869 of file hyperv_net.h.
#define NDIS_PACKET_TYPE_ALL_FUNCTIONAL 0x00000200 |
Definition at line 905 of file hyperv_net.h.
#define NDIS_PACKET_TYPE_ALL_LOCAL 0x00000080 |
Definition at line 903 of file hyperv_net.h.
#define NDIS_PACKET_TYPE_ALL_MULTICAST 0x00000004 |
Definition at line 898 of file hyperv_net.h.
#define NDIS_PACKET_TYPE_BROADCAST 0x00000008 |
Definition at line 899 of file hyperv_net.h.
#define NDIS_PACKET_TYPE_DIRECTED 0x00000001 |
Definition at line 896 of file hyperv_net.h.
#define NDIS_PACKET_TYPE_FUNCTIONAL 0x00000400 |
Definition at line 906 of file hyperv_net.h.
#define NDIS_PACKET_TYPE_GROUP 0x00000100 |
Definition at line 904 of file hyperv_net.h.
#define NDIS_PACKET_TYPE_MAC_FRAME 0x00000800 |
Definition at line 907 of file hyperv_net.h.
#define NDIS_PACKET_TYPE_MULTICAST 0x00000002 |
Definition at line 897 of file hyperv_net.h.
#define NDIS_PACKET_TYPE_PROMISCUOUS 0x00000020 |
Definition at line 901 of file hyperv_net.h.
#define NDIS_PACKET_TYPE_SMT 0x00000040 |
Definition at line 902 of file hyperv_net.h.
#define NDIS_PACKET_TYPE_SOURCE_ROUTING 0x00000010 |
Definition at line 900 of file hyperv_net.h.
#define NDIS_VLAN_PPI_SIZE |
Definition at line 675 of file hyperv_net.h.
#define NETVSC_MTU 65536 |
Definition at line 464 of file hyperv_net.h.
#define NETVSC_PACKET_SIZE 2048 |
Definition at line 473 of file hyperv_net.h.
#define NETVSC_RECEIVE_BUFFER_ID 0xcafe |
Definition at line 468 of file hyperv_net.h.
#define NETVSC_RECEIVE_BUFFER_SIZE (1024*1024*2) /* 2MB */ |
Definition at line 466 of file hyperv_net.h.
#define NETVSC_RECEIVE_PACKETLIST_COUNT 256 |
Definition at line 471 of file hyperv_net.h.
#define NVSP_INVALID_PROTOCOL_VERSION ((u32)0xFFFFFFFF) |
Definition at line 139 of file hyperv_net.h.
#define NVSP_PROTOCOL_VERSION_1 2 |
Definition at line 141 of file hyperv_net.h.
#define NVSP_PROTOCOL_VERSION_2 0x30002 |
Definition at line 142 of file hyperv_net.h.
#define RNDIS_CONFIG_PARAM_TYPE_INTEGER 0 |
Definition at line 689 of file hyperv_net.h.
#define RNDIS_CONFIG_PARAM_TYPE_STRING 2 |
Definition at line 690 of file hyperv_net.h.
#define RNDIS_HEADER_SIZE |
Definition at line 893 of file hyperv_net.h.
Definition at line 881 of file hyperv_net.h.
#define RNDIS_MESSAGE_RAW_PTR_TO_MESSAGE_PTR | ( | rndis_msg | ) | ((void *) rndis_msg) |
Definition at line 885 of file hyperv_net.h.
#define RNDIS_MESSAGE_SIZE | ( | msg | ) |
Definition at line 860 of file hyperv_net.h.
anonymous enum |
Definition at line 144 of file hyperv_net.h.
anonymous enum |
NVSP_STAT_NONE | |
NVSP_STAT_SUCCESS | |
NVSP_STAT_FAIL | |
NVSP_STAT_PROTOCOL_TOO_NEW | |
NVSP_STAT_PROTOCOL_TOO_OLD | |
NVSP_STAT_INVALID_RNDIS_PKT | |
NVSP_STAT_BUSY | |
NVSP_STAT_PROTOCOL_UNSUPPORTED | |
NVSP_STAT_MAX |
Definition at line 199 of file hyperv_net.h.
Definition at line 647 of file hyperv_net.h.
enum rndis_device_state |
RNDIS_DEV_UNINITIALIZED | |
RNDIS_DEV_INITIALIZING | |
RNDIS_DEV_INITIALIZED | |
RNDIS_DEV_DATAINITIALIZED |
Definition at line 92 of file hyperv_net.h.
Definition at line 226 of file netvsc_drv.c.
int netvsc_recv_callback | ( | struct hv_device * | device_obj, |
struct hv_netvsc_packet * | packet | ||
) |
Definition at line 258 of file netvsc_drv.c.
int netvsc_send | ( | struct hv_device * | device, |
struct hv_netvsc_packet * | packet | ||
) |
Definition at line 897 of file rndis_filter.c.
Definition at line 815 of file rndis_filter.c.
Definition at line 872 of file rndis_filter.c.
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.
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.