Strip down vport interface : iflink
[openvswitch] / lib / netlink.h
index 5aa06a3ffa2a7dfafeeeab817e75b4f70426b8d5..0bd2c41e60357df54dbda65aae4a34c71797420e 100644 (file)
@@ -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,
@@ -95,7 +98,7 @@ enum nl_attr_type
 static inline struct nlattr *
 nl_attr_next(const struct nlattr *nla)
 {
-    return (struct nlattr *) ((uint8_t *) nla + NLA_ALIGN(nla->nla_len));
+    return (void *) ((uint8_t *) nla + NLA_ALIGN(nla->nla_len));
 }
 
 static inline bool