On Tue, Mar 15, 2011 at 04:03:17PM -0700, Ethan Jackson wrote: > Creates new compose_lacp_pdu() from the old compose_lacp_packet() > function. This will allow a LACP PDU to be created without > necessarily knowing the Ethernet Source Address required for > generating the packet.
Will there be some users that want to use compose_lacp_packet() without compose_lacp_pdu()? Otherwise I'd be tempted to combine the two functions. You can use ofpbuf_put(b, pdu, LACP_PDU_LEN) in place of ofpbuf_put_zeros() followed by memcpy(). _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
