X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fnetdev.h;h=e0cdd82f9538e035ebd6bcb9b123a6d6ce62e64d;hb=f6b60e026eed9dcc68850c6f9e3b393e6a18fd49;hp=3f6d5eab2c0467cb7bdaa3e986627f58ad2a0cc2;hpb=149f577a25508779b756515be1f1bdcefa3710fa;p=openvswitch diff --git a/lib/netdev.h b/lib/netdev.h index 3f6d5eab..e0cdd82f 100644 --- a/lib/netdev.h +++ b/lib/netdev.h @@ -86,11 +86,15 @@ struct netdev_options { }; struct netdev; +struct netdev_class; -int netdev_initialize(void); 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); + int netdev_open(struct netdev_options *, struct netdev **); int netdev_open_default(const char *name, struct netdev **); int netdev_reconfigure(struct netdev *, const struct shash *args);