X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto-dpif.c;h=fe0aae3b8a7e0a9ff2b100f6f9f4e40cee05a566;hb=0aeaabc8dbccef7593dc19e891a3f5bbef1991cd;hp=283aea98d58989103c60d359f2867384a20ead66;hpb=78a2d59c1c7fd057e1ca888c92f2f86efcf8b53a;p=openvswitch diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 283aea98..fe0aae3b 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -780,6 +780,12 @@ del(const char *type, const char *name) return error; } +static const char * +port_open_type(const char *datapath_type, const char *port_type) +{ + return dpif_port_open_type(datapath_type, port_type); +} + /* Type functions. */ static int @@ -7865,6 +7871,7 @@ const struct ofproto_class ofproto_dpif_class = { enumerate_types, enumerate_names, del, + port_open_type, type_run, type_run_fast, type_wait,