summaryrefslogtreecommitdiff
path: root/lib/netdev-provider.h
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2010-03-30 18:39:20 -0400
committerJesse Gross <jesse@nicira.com>2010-04-19 09:11:57 -0400
commit15b3596a4105bbea82108ac251f9b19dc316e19d (patch)
treea2f6d4c48e9cc1884c5e286b5568a54a83474341 /lib/netdev-provider.h
parent2736b84e2348090d4756f987db37aa7ddfcb50e0 (diff)
downloadopenvswitch-15b3596a4105bbea82108ac251f9b19dc316e19d.tar.gz
netdev-linux: Check notifications are for netdev-linux device.
When receiving a change notification from rtnetlink we checked whether a netdev of that name existed and if so tried to handle it. This also checks that the type of the device is one handled by netdev-linux.
Diffstat (limited to 'lib/netdev-provider.h')
-rw-r--r--lib/netdev-provider.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h
index aac482b02..18ec1ab6e 100644
--- a/lib/netdev-provider.h
+++ b/lib/netdev-provider.h
@@ -52,6 +52,7 @@ void netdev_dev_init(struct netdev_dev *, const char *name,
const struct netdev_class *);
void netdev_dev_uninit(struct netdev_dev *, bool destroy);
const char *netdev_dev_get_type(const struct netdev_dev *);
+const struct netdev_class *netdev_dev_get_class(const struct netdev_dev *);
const char *netdev_dev_get_name(const struct netdev_dev *);
struct netdev_dev *netdev_dev_from_name(const char *name);
void netdev_dev_get_devices(const struct netdev_class *,