netdev: Prevent using reserved names
[sliver-openvswitch.git] / lib / netdev-vport.h
index c907b0c..94fe937 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, 2011 Nicira, Inc.
+ * Copyright (c) 2010, 2011, 2013 Nicira, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -22,6 +22,7 @@
 struct dpif_linux_vport;
 struct dpif_flow_stats;
 struct netdev;
+struct netdev_class;
 struct netdev_stats;
 
 void netdev_vport_tunnel_register(void);
@@ -37,5 +38,6 @@ void netdev_vport_inc_tx(const struct netdev *,
                          const struct dpif_flow_stats *);
 
 const char *netdev_vport_get_dpif_port(const struct netdev *);
+const char *netdev_vport_class_get_dpif_port(const struct netdev_class *);
 
 #endif /* netdev-vport.h */