From 18c58479a14f760fb03c2062f9a35961fc74ebb5 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 19 Jan 2011 13:17:22 -0800 Subject: [PATCH] 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 --- lib/netlink.h | 3 +++ 1 file changed, 3 insertions(+) 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, -- 2.30.2