X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Flacp.h;h=0fb797e89b790173012048465b06c800bb2454dc;hb=0c58c0c4da31b554e88be581cca39d314ded9b6b;hp=dc2bede4ee090b0b12b8402c3ab846abe4da2378;hpb=808f401eb60cfc335251d641658d525c5266f27e;p=openvswitch diff --git a/lib/lacp.h b/lib/lacp.h index dc2bede4..0fb797e8 100644 --- a/lib/lacp.h +++ b/lib/lacp.h @@ -75,13 +75,20 @@ const struct lacp_pdu *parse_lacp_packet(const struct ofpbuf *); /* LACP Protocol Implementation. */ +enum lacp_time { + LACP_TIME_FAST, + LACP_TIME_SLOW, + LACP_TIME_CUSTOM +}; + struct lacp_settings { char *name; uint8_t id[ETH_ADDR_LEN]; uint16_t priority; bool active; - bool fast; - bool strict; + enum lacp_time lacp_time; + long long int custom_time; + bool heartbeat; }; void lacp_init(void); @@ -99,6 +106,7 @@ struct lacp_slave_settings { char *name; uint16_t id; uint16_t priority; + uint16_t key; }; void lacp_slave_register(struct lacp *, void *slave_,