2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-15 14:17:18 +00:00

packets: Rename LACP portid and sysid to port_id and sys_id.

This seems more stylistically consistent with the rest of the
code base and the sys_priority and port_priority in the same
struct.
This commit is contained in:
Ethan Jackson
2011-03-03 10:34:22 -08:00
parent 07a6cf771d
commit b0ce40eec4
2 changed files with 22 additions and 22 deletions

View File

@@ -429,12 +429,12 @@ bool ipv6_is_cidr(const struct in6_addr *netmask);
#define LACP_INFO_LEN 15
struct lacp_info {
ovs_be16 sys_priority; /* System priority. */
uint8_t sysid[ETH_ADDR_LEN]; /* System ID. */
ovs_be16 key; /* Operational key. */
ovs_be16 port_priority; /* Port priority. */
ovs_be16 portid; /* Port ID. */
uint8_t state; /* State mask. See LACP_STATE macros. */
ovs_be16 sys_priority; /* System priority. */
uint8_t sys_id[ETH_ADDR_LEN]; /* System ID. */
ovs_be16 key; /* Operational key. */
ovs_be16 port_priority; /* Port priority. */
ovs_be16 port_id; /* Port ID. */
uint8_t state; /* State mask. See LACP_STATE macros. */
} __attribute__((packed));
BUILD_ASSERT_DECL(LACP_INFO_LEN == sizeof(struct lacp_info));