X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnetdev-provider.h;h=b009c8dc7ae17c8f97244a7a01d9f372cc65e92c;hb=46415c9085ef6b7386943b1714754150487b6cff;hp=4148c6cfda96732465de3f921ab0a28581a2cf5d;hpb=49a6a1636f849eba12fb444651ee818628426f0d;p=sliver-openvswitch.git diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h index 4148c6cfd..b009c8dc7 100644 --- a/lib/netdev-provider.h +++ b/lib/netdev-provider.h @@ -42,6 +42,9 @@ void netdev_dev_init(struct netdev_dev *, const char *name, void netdev_dev_uninit(struct netdev_dev *, bool destroy); const char *netdev_dev_get_type(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 *, + struct shash *device_list); static inline void netdev_dev_assert_class(const struct netdev_dev *netdev_dev, const struct netdev_class *class)