git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix dependencies for external nodes
[sliver-openvswitch.git]
/
lib
/
netdev-provider.h
diff --git
a/lib/netdev-provider.h
b/lib/netdev-provider.h
index
54b3820
..
1442367
100644
(file)
--- a/
lib/netdev-provider.h
+++ b/
lib/netdev-provider.h
@@
-19,8
+19,6
@@
/* Generic interface to network devices. */
/* Generic interface to network devices. */
-#include <assert.h>
-
#include "netdev.h"
#include "list.h"
#include "shash.h"
#include "netdev.h"
#include "list.h"
#include "shash.h"
@@
-55,7
+53,7
@@
void netdev_dev_get_devices(const struct netdev_class *,
static inline void netdev_dev_assert_class(const struct netdev_dev *netdev_dev,
const struct netdev_class *class_)
{
static inline void netdev_dev_assert_class(const struct netdev_dev *netdev_dev,
const struct netdev_class *class_)
{
- assert(netdev_dev->netdev_class == class_);
+
ovs_
assert(netdev_dev->netdev_class == class_);
}
/* A instance of an open network device.
}
/* A instance of an open network device.
@@
-607,6
+605,9
@@
extern const struct netdev_class netdev_tap_class;
extern const struct netdev_class netdev_bsd_class;
#endif
extern const struct netdev_class netdev_bsd_class;
#endif
+extern const struct netdev_class netdev_tunnel_class;
+extern const struct netdev_class netdev_pltap_class;
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif