projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commit e210037e has an incorrect database checksum. This commit fixes that.
[openvswitch]
/
lib
/
netlink-protocol.h
diff --git
a/lib/netlink-protocol.h
b/lib/netlink-protocol.h
index 77f5c8965f796fd229135e41aefb897514956c2f..6281fb2c3af2678ec86587a55d71ecad60efbc78 100644
(file)
--- a/
lib/netlink-protocol.h
+++ b/
lib/netlink-protocol.h
@@
-150,4
+150,11
@@
enum {
#define CTRL_ATTR_OP_MAX (__CTRL_ATTR_OP_MAX - 1)
#endif /* !HAVE_NETLINK */
#define CTRL_ATTR_OP_MAX (__CTRL_ATTR_OP_MAX - 1)
#endif /* !HAVE_NETLINK */
+/* These were introduced all together in 2.6.24. */
+#ifndef NLA_TYPE_MASK
+#define NLA_F_NESTED (1 << 15)
+#define NLA_F_NET_BYTEORDER (1 << 14)
+#define NLA_TYPE_MASK ~(NLA_F_NESTED | NLA_F_NET_BYTEORDER)
+#endif
+
#endif /* netlink-protocol.h */
#endif /* netlink-protocol.h */