X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto.h;fp=ofproto%2Fofproto.h;h=2d478784d53c699e8296b2f39762f65cf2626744;hb=6527c598eabbd34aaa7284f4b052de667e13be2f;hp=ccd82025ad0c9f267e793ccd8d619b03ddd19b74;hpb=fa29a1c2c17682879e79a21bb0cdd5bbe67fa7c0;p=openvswitch diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index ccd82025..2d478784 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -37,7 +37,9 @@ struct cfm_settings; struct cls_rule; struct netdev; struct ofproto; +struct ofport; struct shash; +struct netdev_stats; struct ofproto_controller_info { bool is_connected; @@ -187,6 +189,7 @@ int ofproto_port_dump_done(struct ofproto_port_dump *); 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); int ofproto_port_query_by_name(const struct ofproto *, const char *devname, struct ofproto_port *);