From: Ben Pfaff Date: Wed, 19 Jan 2011 21:17:22 +0000 (-0800) Subject: netlink: Add nl_attr_type constants for big-endian values. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18c58479a14f760fb03c2062f9a35961fc74ebb5;p=openvswitch netlink: Add nl_attr_type constants for big-endian values. These are semantically identical, so they might as well share existing values, but they help to document the endianness of attributes in Netlink attribute policies. Acked-by: Jesse Gross --- diff --git a/lib/netlink.h b/lib/netlink.h index 5aa06a3f..b1bf5858 100644 --- a/lib/netlink.h +++ b/lib/netlink.h @@ -83,8 +83,11 @@ enum nl_attr_type NL_A_UNSPEC, NL_A_U8, NL_A_U16, + NL_A_BE16 = NL_A_U16, NL_A_U32, + NL_A_BE32 = NL_A_U32, NL_A_U64, + NL_A_BE64 = NL_A_U64, NL_A_STRING, NL_A_FLAG, NL_A_NESTED,