X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstp.h;h=ec29d9a77a9954d8dd54b4ee5bf5cc87828a54e9;hb=2c8fcc9cd6a7bbb948f6c79879e89c7ed791c9b1;hp=54f7f5b4527a75bcab3f4e0ca63804a5c16103d7;hpb=3310b5708bfb066986de399aa27d922763a1cb2c;p=openvswitch diff --git a/lib/stp.h b/lib/stp.h index 54f7f5b4..ec29d9a7 100644 --- a/lib/stp.h +++ b/lib/stp.h @@ -136,6 +136,8 @@ int stp_port_no(const struct stp_port *); int stp_port_get_id(const struct stp_port *); enum stp_state stp_port_get_state(const struct stp_port *); enum stp_role stp_port_get_role(const struct stp_port *); +void stp_port_get_counts(const struct stp_port *, + int *tx_count, int *rx_count, int *error_count); void stp_port_enable(struct stp_port *); void stp_port_disable(struct stp_port *); void stp_port_set_priority(struct stp_port *, uint8_t new_priority);