X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto.h;h=e4abe523d4873f5389dbdf31a4ef0e23d042c88a;hb=0aeaabc8dbccef7593dc19e891a3f5bbef1991cd;hp=0366c89f0772e1e9b3a2997619970122cc6ed2b5;hpb=78a2d59c1c7fd057e1ca888c92f2f86efcf8b53a;p=openvswitch diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index 0366c89f..e4abe523 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -207,6 +207,8 @@ int ofproto_port_dump_done(struct ofproto_port_dump *); #define OFPROTO_FLOW_EVICTION_THRESHOLD_DEFAULT 1000 #define OFPROTO_FLOW_EVICTION_THRESHOLD_MIN 100 +const char *ofproto_port_open_type(const char *datapath_type, + const char *port_type); int ofproto_port_add(struct ofproto *, struct netdev *, uint16_t *ofp_portp); int ofproto_port_del(struct ofproto *, uint16_t ofp_port); int ofproto_port_get_stats(const struct ofport *, struct netdev_stats *stats);