X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Flacp.h;h=89b0e0ae7561000a7322a543ca4f8a0505cd4b0c;hb=0141e875a14cc30fe9c207a83616861055531d4d;hp=624e3682dc9df81a637630c7da0ee7577bf4e3a6;hpb=8706009e555bb9fa04a5679e4be2c7c67506802b;p=sliver-openvswitch.git diff --git a/lib/lacp.h b/lib/lacp.h index 624e3682d..89b0e0ae7 100644 --- a/lib/lacp.h +++ b/lib/lacp.h @@ -39,7 +39,8 @@ struct lacp_settings { void lacp_init(void); struct lacp *lacp_create(void); -void lacp_destroy(struct lacp *); +void lacp_unref(struct lacp *); +struct lacp *lacp_ref(const struct lacp *); void lacp_configure(struct lacp *, const struct lacp_settings *); bool lacp_is_active(const struct lacp *); @@ -60,7 +61,6 @@ void lacp_slave_register(struct lacp *, void *slave_, void lacp_slave_unregister(struct lacp *, const void *slave); void lacp_slave_carrier_changed(const struct lacp *, const void *slave); bool lacp_slave_may_enable(const struct lacp *, const void *slave); -uint16_t lacp_slave_get_port_id(const struct lacp *, const void *slave); bool lacp_slave_is_current(const struct lacp *, const void *slave_); /* Callback function for lacp_run() for sending a LACP PDU. */