aboutsummaryrefslogtreecommitdiff
path: root/lib/packets.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-03-03 10:34:22 -0800
committerEthan Jackson <ethan@nicira.com>2011-03-17 12:50:56 -0700
commitb0ce40eec4312df560532da75d9cb0c1d4c7cd5e (patch)
tree5e7c4215031d3330b25511a9d6a12058e7fb2590 /lib/packets.h
parent07a6cf771dc049600033453d700ea93b9449bd33 (diff)
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.
Diffstat (limited to 'lib/packets.h')
-rw-r--r--lib/packets.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/packets.h b/lib/packets.h
index dcb5b9fe..c858fc09 100644
--- a/lib/packets.h
+++ b/lib/packets.h
@@ -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));