/* * Maximum times a tap device can be opened. This can be used to * configure the number of receive queue, e.g. for multiqueue virtio.
*/ #define MAX_TAP_QUEUES 256
struct tap_queue;
struct tap_dev { struct net_device *dev;
u16 flags; /* This array tracks active taps. */ struct tap_queue __rcu *taps[MAX_TAP_QUEUES]; /* This list tracks all taps (both enabled and disabled) */ struct list_head queue_list; int numvtaps; int numqueues;
netdev_features_t tap_features; int minor;
/* * A tap queue is the central object of tap module, it connects * an open character device to virtual interface. There can be * multiple queues on one interface, which map back to queues * implemented in hardware on the underlying device. * * tap_proto is used to allocate queues through the sock allocation * mechanism. *
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.