X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Flacp.h;h=593b80d0cdd4ffed919bf141a744d39d3c555a2d;hb=cfc50ae514f805dcd9c14589f21158185424daf6;hp=399b39e3048f91a8ecd9e7757449318a8ccbd668;hpb=b4af6ceeea7bc757de1e8294036b522e81e3a3fa;p=sliver-openvswitch.git diff --git a/lib/lacp.h b/lib/lacp.h index 399b39e30..593b80d0c 100644 --- a/lib/lacp.h +++ b/lib/lacp.h @@ -35,11 +35,13 @@ struct lacp_settings { uint16_t priority; /* System priority. */ bool active; /* Active or passive mode? */ bool fast; /* Fast or slow probe interval. */ + bool fallback_ab_cfg; /* Fallback to BM_SLB on LACP failure. */ }; 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 *);