macvtap: add TUNSETQUEUE ioctl
[deliverable/linux.git] / include / linux / if_macvlan.h
index 62d8bda67874ce3710e05a03c2868798d8081e1a..19121331a5ed860919d684eb03b862dbaaf53660 100644 (file)
@@ -69,8 +69,12 @@ struct macvlan_dev {
        u16                     flags;
        int (*receive)(struct sk_buff *skb);
        int (*forward)(struct net_device *dev, struct sk_buff *skb);
+       /* This array tracks active taps. */
        struct macvtap_queue    *taps[MAX_MACVTAP_QUEUES];
+       /* This list tracks all taps (both enabled and disabled) */
+       struct list_head        queue_list;
        int                     numvtaps;
+       int                     numqueues;
        int                     minor;
 };
 
This page took 0.027428 seconds and 5 git commands to generate.