diff options
| author | Jesse Gross <jesse@nicira.com> | 2010-03-30 18:39:20 -0400 |
|---|---|---|
| committer | Jesse Gross <jesse@nicira.com> | 2010-04-19 09:11:57 -0400 |
| commit | 15b3596a4105bbea82108ac251f9b19dc316e19d (patch) | |
| tree | a2f6d4c48e9cc1884c5e286b5568a54a83474341 /lib/netdev-provider.h | |
| parent | 2736b84e2348090d4756f987db37aa7ddfcb50e0 (diff) | |
| download | openvswitch-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.h | 1 |
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 *, |
