classifier: Rewrite.
[openvswitch] / lib / netdev.h
index cd5c8c3001cd68ffabec07c3c69855f4de98168d..6635a55a3f5e5e2a421a61d0e88e5f16fbe0ad83 100644 (file)
@@ -93,8 +93,6 @@ struct netdev_class;
 void netdev_run(void);
 void netdev_wait(void);
 
-int netdev_register_provider(const struct netdev_class *);
-int netdev_unregister_provider(const char *type);
 void netdev_enumerate_types(struct svec *types);
 
 /* Open and close. */
@@ -127,7 +125,7 @@ int netdev_set_etheraddr(struct netdev *, const uint8_t mac[6]);
 int netdev_get_etheraddr(const struct netdev *, uint8_t mac[6]);
 
 /* PHY interface. */
-int netdev_get_carrier(const struct netdev *, bool *carrier);
+bool netdev_get_carrier(const struct netdev *);
 int netdev_get_features(struct netdev *,
                         uint32_t *current, uint32_t *advertised,
                         uint32_t *supported, uint32_t *peer);