X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fdp_dev.h;h=1fb4394fd518a3ed388a6cba2c7ca7850a73d10e;hb=d6fbec6de043d5b9323a06417cc25b0fbba0ff8f;hp=848743900230328f837aa61686cad84a19ea76e9;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/datapath/dp_dev.h b/datapath/dp_dev.h index 84874390..1fb4394f 100644 --- a/datapath/dp_dev.h +++ b/datapath/dp_dev.h @@ -1,16 +1,23 @@ +/* + * Copyright (c) 2009 Nicira Networks. + * Distributed under the terms of the GNU GPL version 2. + * + * Significant portions of this file may be copied from parts of the Linux + * kernel, by Linus Torvalds and others. + */ + #ifndef DP_DEV_H #define DP_DEV_H 1 +#include + struct dp_dev { struct datapath *dp; int port_no; struct net_device *dev; struct net_device_stats stats; - struct sk_buff_head xmit_queue; - struct work_struct xmit_work; - - struct list_head list; + struct pcpu_lstats *lstats; }; static inline struct dp_dev *dp_dev_priv(struct net_device *netdev)