|
Linux Kernel
3.7.1
|
#include <linux/netdevice.h>#include <linux/etherdevice.h>#include <linux/ethtool.h>#include <linux/module.h>#include <linux/virtio.h>#include <linux/virtio_net.h>#include <linux/scatterlist.h>#include <linux/if_vlan.h>#include <linux/slab.h>Go to the source code of this file.
Data Structures | |
| struct | virtnet_stats |
| struct | virtnet_info |
| struct | skb_vnet_hdr |
| struct | padded_vnet_hdr |
Macros | |
| #define | MAX_PACKET_LEN (ETH_HLEN + VLAN_HLEN + ETH_DATA_LEN) |
| #define | GOOD_COPY_LEN 128 |
| #define | VIRTNET_SEND_COMMAND_SG_MAX 2 |
| #define | VIRTNET_DRIVER_VERSION "1.0.0" |
| #define | MIN_MTU 68 |
| #define | MAX_MTU 65535 |
Functions | |
| module_param (napi_weight, int, 0444) | |
| module_param (csum, bool, 0444) | |
| module_param (gso, bool, 0444) | |
| module_init (init) | |
| module_exit (fini) | |
| MODULE_DEVICE_TABLE (virtio, id_table) | |
| MODULE_DESCRIPTION ("Virtio network driver") | |
| MODULE_LICENSE ("GPL") | |
| #define GOOD_COPY_LEN 128 |
Definition at line 39 of file virtio_net.c.
| #define MAX_MTU 65535 |
Definition at line 954 of file virtio_net.c.
| #define MAX_PACKET_LEN (ETH_HLEN + VLAN_HLEN + ETH_DATA_LEN) |
Definition at line 38 of file virtio_net.c.
| #define MIN_MTU 68 |
Definition at line 953 of file virtio_net.c.
| #define VIRTNET_DRIVER_VERSION "1.0.0" |
Definition at line 42 of file virtio_net.c.
| #define VIRTNET_SEND_COMMAND_SG_MAX 2 |
Definition at line 41 of file virtio_net.c.
| MODULE_DESCRIPTION | ( | "Virtio network driver" | ) |
| MODULE_DEVICE_TABLE | ( | virtio | , |
| id_table | |||
| ) |
| module_exit | ( | fini | ) |
| module_init | ( | init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_param | ( | napi_weight | , |
| int | , | ||
| 0444 | |||
| ) |
| module_param | ( | gso | , |
| bool | , | ||
| 0444 | |||
| ) |
1.8.2